summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge "No need to differentiate package event into app or updated based on a ↵Sunny Goyal2016-04-011-16/+2
|\ | | | | | | package is being updated or not" into ub-launcher3-calgary
| * No need to differentiate package event into app or updated based onSunny Goyal2016-03-301-16/+2
| | | | | | | | | | | | | | | | | | | | | | | | a package is being updated or not Package update handling is a super set of package add handling which also updates the all-apps and package disabled state. This also prevents addtion of a home screen icon when a managed profile app on SD card become available. Bug: 27877926 Change-Id: I9264e422fd30b94ce6ebb2e5adea820b3cda3063
* | Merge "Added ColorExtractionService and ExtractedColors." into ↵Tony Wickham2016-04-0112-6/+351
|\ \ | | | | | | | | | ub-launcher3-calgary
| * | Added ColorExtractionService and ExtractedColors.Tony Wickham2016-04-0112-6/+351
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Launcher has an instance of ExtractedColors, which is loaded from LauncherProvider in onCreate() and whenever the wallpaper changes. - When the wallpaper changes, the ColorExtractionService is started in the :wallpaper-chooser process. - ColorExtractionService builds an ExtractedColors instance and saves it as a String in LauncherProvider. - When the results are saved, Launcher gets a callback through LauncherProviderChangeListener and reloads the ExtractedColors. - Whenever Launcher loads Extractecolors, it also re-colors items (currently a no-op). Change-Id: I319e2cfe0a86abcbc6bb39ef6b9fbbcad54ad743
* | | Merge "Fixing the loader to bind the first screen as well as the hotseat ↵Sunny Goyal2016-04-012-10/+10
|\ \ \ | | | | | | | | | | | | together" into ub-launcher3-calgary
| * | | Fixing the loader to bind the first screen as well as the hotseat togetherSunny Goyal2016-03-302-10/+10
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | When the loader ran for the first time (or when called due to force-reload), it was binding with page = -1 (invalid pageId is -1001). This was causing loader to assume the workspace to be on a valid screen, and causing the loader to only bind the hotseat first. Bug: 27705838 Change-Id: Ia8eb2543d8cee1268256b2d6bccf33828937c54a
* | | Merge "Fix a couple polish bugs with new folder previews" into ↵Adam Cohen2016-04-013-16/+37
|\ \ \ | | | | | | | | | | | | ub-launcher3-calgary
| * | | Fix a couple polish bugs with new folder previewsAdam Cohen2016-04-013-16/+37
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | -> Don't reuse the same background object for the folder create preview since this can cause interruptions in the animations for previous creation previews. -> When drawing the background to preview creation, don't draw the stroke above the icon since the icon is not yet contained by the folder. Change-Id: Ib666dc2453df465b342c02f3bd109b553a769dcc
* / / Fix spring-loaded highlight on JB.Tony Wickham2016-03-311-0/+1
|/ / | | | | | | | | | | | | | | It was setting the panel to black when highlighting a CellLayout, instead of just adding a white border. Bug: 27135377 Change-Id: I879b12613b0cbfdda2a980065c66ea3ceb960f33
* | Fixing black search bar background in search barSunny Goyal2016-03-301-0/+1
| | | | | | | | | | Bug: 27919354 Change-Id: I3f43d8f39640c2db4b192ea316aebf11189982e3
* | Yet another RecyclerView child that needs match_parentAdam Cohen2016-03-292-2/+2
|/ | | | | | issue 27705077 Change-Id: I16bdefe37351c26897a57d314a58718cb837543d
* Add distance threshold for dragged items before accepted by targets.Tony Wickham2016-03-293-3/+18
| | | | | | | | | With the new spring-loaded workspace, items are often very close to button drop targets (e.g. App Info) at the start of a drag. This threshold makes it less likely to accidentally drop on a target. Bug: 24099531 Change-Id: I4912ceeb0b63958816177c7bde073e825176d987
* Merge "Invalidate scrim throughout animation from overlay to workspace." ↵Tony Wickham2016-03-291-0/+11
|\ | | | | | | into ub-launcher3-calgary
| * Invalidate scrim throughout animation from overlay to workspace.Tony Wickham2016-03-281-0/+11
| | | | | | | | | | Bug: 27135377 Change-Id: I19e947ac271063beaa6c5d11906631d0afcbb781
* | Remove default app suggestions from LauncherExtensionAdam Cohen2016-03-281-9/+2
|/ | | | Change-Id: I7c3a1465aaa54ad3b988975810f29ce89e650ec1
* Fix alignment issue with suggested apps in all appsAdam Cohen2016-03-282-2/+12
| | | | | | | | -> New RecyclerView handles wrap_content differently -> Add mock set of suggested apps to the LauncherExtension issue: 27581978 Change-Id: Id080e212e0425515fa66e821d116b95284bb3526
* Merge "Fix restoring of layer type" into ub-launcher3-calgarySunny Goyal2016-03-281-1/+1
|\
| * Fix restoring of layer typeDmitry Kalita2016-03-281-1/+1
| | | | | | | | | | Change-Id: I1233b846247b270644325c0ad0229a23bfb29040 Signed-off-by: Dmitry Kalita <rusmonster@gmail.com>
* | Merge "Introduce IconProvider." into ub-launcher3-calgaryAnnie Chin2016-03-283-16/+72
|\ \ | |/ |/|
| * Introduce IconProvider.Annie Chin2016-03-283-16/+72
| | | | | | | | | | | | | | | | Bug: 27506625 -Move managing of SystemState to IconProvider Change-Id: I3417f0b7d0664c2255c7cc2a88f6c65822b5fb98
* | Merge "Defining separate layouts for horizontal and vertical drop target ↵Sunny Goyal2016-03-2815-123/+155
|\ \ | |/ |/| | | bars instead of chaning the layouts in DeviceProfile" into ub-launcher3-calgary
| * Defining separate layouts for horizontal and vertical drop target barsSunny Goyal2016-03-2415-123/+155
| | | | | | | | | | | | | | instead of chaning the layouts in DeviceProfile Bug: 27721989 Change-Id: I9a22c21e643f4fd0058c9be5e9d705aaf7649204
* | Merge "Added copywrite comments to pinch-related classes." into ↵Tony Wickham2016-03-253-0/+48
|\ \ | | | | | | | | | ub-launcher3-calgary
| * | Added copywrite comments to pinch-related classes.Tony Wickham2016-03-173-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | Maybe we should write a script that checks that this is present in all our files? I didn't do a thorough check, but wouldn't be surprised if others were missing. Change-Id: I4777ff618f952b9b11fde60ebc8d897cf6449032
* | | Preventing unnecessary object creationsSunny Goyal2016-03-241-98/+42
| |/ |/| | | | | | | | | | | | | > Only creating the animator when required > Canceling a previously running animation when starting a new one > Directly setting LinearInterpolator instead of using null Change-Id: I4f5f25f26dfed9b5c78665af4e74dd565b4cd805
* | Fixing debug logSunny Goyal2016-03-241-1/+1
| | | | | | | | Change-Id: I85c1f7707a3ea9cae2701aa781b74d758602f643
* | Merge "Embedding the icon pixel size in the cache DB version. This causes ↵Sunny Goyal2016-03-241-3/+5
|\ \ | | | | | | | | | the cache to get reset when the icon size changes, for eg, in case of display scale changes" into ub-launcher3-calgary
| * | Embedding the icon pixel size in the cache DB version.Sunny Goyal2016-03-221-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | This causes the cache to get reset when the icon size changes, for eg, in case of display scale changes Bug: 27701193 Change-Id: Ib11144757a93cb50fb233d855902c0b2c15afbed
* | | Merge "Instead of reloading the launcher, updating items dynamically when ↵Sunny Goyal2016-03-244-14/+69
|\ \ \ | | | | | | | | | | | | Quiet mode changes" into ub-launcher3-calgary
| * | | Instead of reloading the launcher, updating items dynamically whenSunny Goyal2016-03-244-14/+69
| |/ / | | | | | | | | | | | | | | | | | | Quiet mode changes Bug: 27632028,27763316 Change-Id: I55f018e855448df0abcbf4fd0fcb39344594980c
* | | Setting stable layout flags on the launcher, so that the instets do notSunny Goyal2016-03-231-2/+3
| | | | | | | | | | | | | | | | | | | | | change for launcher when going in/out of another app Bug: 27600678 Change-Id: Ic873faba99c539025769d911bc7b0a4fed629cd7
* | | Merge "Fixing wrong preference file name in LauncherFiles" into ↵Sunny Goyal2016-03-231-1/+1
|\ \ \ | | | | | | | | | | | | ub-launcher3-calgary
| * | | Fixing wrong preference file name in LauncherFilesSunny Goyal2016-03-231-1/+1
| |/ / | | | | | | | | | | | | Bug: 27778623 Change-Id: I28aa6698d3caa1fc11b2e8df0733143865f9b408
* / / Add FeatureFlags.LAUNCHER3_DISABLE_PINCH_TO_OVERVIEWTony Wickham2016-03-232-4/+10
|/ / | | | | | | | | Bug: 27796974 Change-Id: Icda33fb62783cc3f7b510d627d1eeb9cf29bd2d3
* | Adding support for result callback when starting uninstall-application activitySunny Goyal2016-03-226-95/+105
| | | | | | | | Change-Id: Ieaca4fbd0ae0156f24c8863ccbef61d4d6d30ba1
* | Account for disparity btw folder preview size and drawable sizeAdam Cohen2016-03-211-3/+8
| | | | | | | | | | | | | | | | | | | | -> When there is disparity between the cached icon size and the available space in the preview, the folder preview could appear not as intended (either overly crammed, or overly spacious) issue 27701193 Change-Id: I9f97012ba569d1419b1e3f661cd26761b2a36285
* | Invalidate folder drawing paramaters when top padding changesAdam Cohen2016-03-211-3/+7
| | | | | | | | | | | | | | -> This fixes issues when moving folders between the workspace and hotseat (which have different top paddings) Change-Id: Iac5a4575a403ce8eadd1d3195f02ab10fe5dac23
* | Removing some unused importsSunny Goyal2016-03-211-5/+3
| | | | | | | | Change-Id: I83962e467e3357db536a3e5a4a5c3071cc1268ab
* | Merge "Center folders slightly less aggressively than before" into ↵Tony Wickham2016-03-211-2/+7
|\ \ | | | | | | | | | ub-launcher3-calgary
| * | Center folders slightly less aggressively than beforeAdam Cohen2016-03-181-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -> Some slight changes in spacing showed that we were centering folders a bit too eagerly -> Once there is less than a ~4x delta between the spacing on the left vs. the right of the folder, center it. issue 27671587 Change-Id: Ic2861ab375d9b9e4cf0eeb28b683073246f35c97
* | | Merge "Removing dependency on wallpaper size settings from launcher" into ↵Sunny Goyal2016-03-215-22/+56
|\ \ \ | | | | | | | | | | | | ub-launcher3-calgary
| * | | Removing dependency on wallpaper size settings from launcherSunny Goyal2016-03-175-22/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | > Moving wallpaper desired width calculation to xml Bug: 14470153 Change-Id: I8803af158861507a40e5d55e9aa6d515be47eefa
* | | | Merge "Deleting the unrestored widget id synchronously" into ↵Sunny Goyal2016-03-191-22/+3
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-calgary
| * | | | Deleting the unrestored widget id synchronouslySunny Goyal2016-03-181-22/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > We are making the DB call (IO) on the UI thread which is costlier than the AppWidgetHost call. > The process can get killed after the broadcast receiver returns, which can prevent these ids from getting deleted. Change-Id: I47746cf03d0eae573b6baa25cde9e573fd1f1a60
* | | | | Merge "Fixing broken instrumentation tests when run from command line" into ↵Sunny Goyal2016-03-197-48/+24
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | ub-launcher3-calgary
| * | | | Fixing broken instrumentation tests when run from command lineSunny Goyal2016-03-187-48/+24
| |/ / / | | | | | | | | | | | | Change-Id: I923cdbaaaf18c9b765d1e70122b92cd2c1621e06
* / / / Fixing model being updated on UI threadSunny Goyal2016-03-187-116/+125
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > When package gets unavailable or suspended, the disabled flag was getting updated on the UI thread. This could lead to inconsistent model if launcher activity didn't exist. > Fixing: When unsuspending one work profile apps, all work profile apps get unsuspended Bug: 27673573,27673373,27403236 Change-Id: I7fde3f79c36204e73ca66ccf8431fa0f0cce3d08
* | | Merge "Removing dependency on LauncherCallbacks for getting the search ↵Sunny Goyal2016-03-1810-134/+53
|\ \ \ | | | | | | | | | | | | bounds" into ub-launcher3-calgary
| * | | Removing dependency on LauncherCallbacks for getting the search boundsSunny Goyal2016-03-1710-134/+53
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Instead of handling insets in BaseContainerView, directly applying them to margins, as that scpace can't be used for scroll handling > Appliying the top and bottom padding in xml > The left & right padding is defied in xml which is reused for scroll handling Bug: 27108154 Change-Id: Ia32e6d5e8fd1bfafb1d77d1244ce2268e4da9df9
* / / Creating WidgetCellItem to wrap LauncherAppWidgetProviderInfo and resolveInfoSunny Goyal2016-03-187-262/+169
|/ / | | | | | | | | | | | | In PackageItemInfo,, using the user of the first item in the sub-list Bug: 27585511 Change-Id: I8243f0e5c831af65661ae815489e53e9fcade837