summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fixing minor memory leak with name comparator." into ub-launcher3-burnabyWinson Chung2015-07-312-30/+60
|\
| * Fixing minor memory leak with name comparator.Winson Chung2015-07-272-30/+60
| | | | | | | | | | | | | | | | | | | | | | | | - WidgetsAndShortcutNameComparator was using the actual widget and shortcut resolve infos as the key to the label cache. Neither of these classes override hashCode() and we were retrieving a new set of widgets and shortcuts whenever packages changed so we would end up creating more and more entries in the cache. This isn't a huge leak, but could lead to problems if Launcher is used for long periods without being killed. - Now, we use a ComponentKey as the key, so that we don't keep a reference to the widget/shortcut infos and also ensures that they should hash to the same labels. Change-Id: I91347ee72363adbc2b075b67dba331e35ab1fe34
* | Merge "Fixing issue with flash during overview transition." into ↵Winson Chung2015-07-311-1/+6
|\ \ | | | | | | | | | ub-launcher3-burnaby
| * | Fixing issue with flash during overview transition.Winson Chung2015-07-311-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - This is due to the TransitionDrawable which does not actually start an animation until it is first drawn. This workaround will just immediately reset the transition if it is not currently visible instead of animating (which is actually deferred until the next animation into overview mode). Bug: 22414257 Change-Id: Id481303d0c99a20c1d16396c024ab50303f45576
* | | Homescreen migration from a larger grid to a smaller grid.Sunny Goyal2015-07-318-21/+848
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding support for restoring from a larger device, if the grid size difference is not more that 1. During restore add all the items in the DB, and run a one-time migration the next time launcher starts. The migration strategy is defined in ShrinkWorkspaceTask.java which involves resizing, moving and removing some items. Change-Id: I6ee411f6db5bf0152b527e16146a88c56dec2d97
* | | Merge "Fixing issue with accessibility falsely reporting app count when ↵Winson Chung2015-07-301-1/+36
|\| | | | | | | | | | | there are no search results." into ub-launcher3-burnaby
| * | Fixing issue with accessibility falsely reporting app count when there are ↵Winson Chung2015-07-301-1/+36
| | | | | | | | | | | | | | | | | | | | | no search results. Bug: 22672783 Change-Id: Ie40acc592e59699eac2a4ff2045a7f8ba029d33a
* | | Merge "Prevent crash when flattening ComponentKey to string with invalid ↵Winson Chung2015-07-301-2/+5
|\| | | | | | | | | | | user." into ub-launcher3-burnaby
| * | Prevent crash when flattening ComponentKey to string with invalid user.Winson Chung2015-07-301-2/+5
| | | | | | | | | | | | | | | Bug: 22658306 Change-Id: I213d44e0bb22ac0617d46c80ab8cfec8f750a2cc
* | | Merge "Prevent from widget cell preview image from being cut off." into ↵Hyunyoung Song2015-07-301-2/+2
|\ \ \ | |/ / |/| | | | | ub-launcher3-burnaby
| * | Prevent from widget cell preview image from being cut off.Hyunyoung Song2015-07-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/22541466 >TL;DR;; when introducing mProfileBadgeMargin to correctly place > work profile badge. Drawing origin of the preview image resulted > to the left of (0, 0). Change-Id: Ic52fc2e17c55c76f4f57aa833451ffa19bbbeb09
* | | Merge "Adding rank column in backup" into ub-launcher3-burnabySunny Goyal2015-07-302-5/+15
|\ \ \ | |/ / |/| |
| * | Adding rank column in backupSunny Goyal2015-07-222-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | > targetType was only added for M builds, so it can also be considered as v4 change. V3 which introduced minSpanX and minSpanY didn't contain targetType Bug: 22417713 Change-Id: I5c353674f7e0c2b5b4ab46e574fdb347d82028cd
* | | Merge "Fixing overview mode scale calculations." into ub-launcher3-burnabyWinson Chung2015-07-283-24/+19
|\ \ \ | |_|/ |/| |
| * | Fixing overview mode scale calculations.Winson Chung2015-07-103-24/+19
| | | | | | | | | | | | | | | | | | | | | - Making the overview scale apply just like the spring loaded scale factor - Tweaking overview scale to make it not so small Change-Id: If93bac08609b0cfd9c9d9f8f6057498957378b56
* | | Remove NPE inside WidgetsListAdapter during monkey actor testHyunyoung Song2015-07-271-0/+3
| |/ |/| | | | | | | | | b/22518383 Change-Id: I1a683c49be93af150f7873390b723cee0d4ac5df
* | Merge "Shifting hotseat icons to aling with all-apps icon, if the hotseat ↵Sunny Goyal2015-07-211-2/+16
|\ \ | | | | | | | | | size is different from the source device" into ub-launcher3-burnaby
| * | Shifting hotseat icons to aling with all-apps icon, if the hotseatSunny Goyal2015-07-201-2/+16
| | | | | | | | | | | | | | | | | | | | | size is different from the source device Bug: 19074056 Change-Id: I8d8517971a3cde0dc38f653d151daeba90fa38a0
* | | Merge "Fixing widget restore" into ub-launcher3-burnabySunny Goyal2015-07-212-14/+31
|\ \ \
| * | | Fixing widget restoreSunny Goyal2015-07-202-14/+31
| |/ / | | | | | | | | | | | | | | | | | | | | | > Widget restore active flag was not cleared when the app was downloaded > Icon from session info was not getting cached Bug: 22413379 Change-Id: Ie096b929252200675a76dadd8c25cc3aa433671b
* / / Resizing the bitmap before caching it in the DBSunny Goyal2015-07-202-6/+9
|/ / | | | | | | | | | | | | | | | | > The icon size in the backup can be different that what is required by the device. We should resize the icon, before caching it. Bug: 22413328 Change-Id: Id77c53edf8ea5e95a2d32dbe22be553120279ebd
* | Merge "Adding minSpanX and minSpanY for all the launcher widgets" into ↵Sunny Goyal2015-07-173-10/+26
|\ \ | | | | | | | | | ub-launcher3-burnaby
| * | Adding minSpanX and minSpanY for all the launcher widgetsSunny Goyal2015-07-173-10/+26
| | | | | | | | | | | | | | | Bug: 22353460 Change-Id: Id4450dee42a83e4603dcd56e1c4dec2b0e405858
* | | Query the title and icon for app using correct user handle.Hyunyoung Song2015-07-161-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Note: when there are corp and regular user profile widget providers, it is guaranteed that regular user profile widget provider is always queried first. Thsi is guaranteed because inside AppWidgetManagerCompat.getProviders(), regular user always takes prescedence when iterating thru different providers associated to different users. Change-Id: I5e38e1fb30925ccba7e1e2925fd3e77c44a14901
* | | Merge "Fix issue where corp app widget doesn't show correctly on drop ↵Hyunyoung Song2015-07-161-0/+2
|\ \ \ | |/ / |/| | | | | targets." into ub-launcher3-burnaby
| * | Fix issue where corp app widget doesn't show correctly on drop targets.Hyunyoung Song2015-07-161-0/+2
| | | | | | | | | | | | | | | | | | b/22535234 Change-Id: I6e57c7728704ad0f99df25257211243a23d26acd
* | | Merge "Fixing AppWidgetInfo not initialized with proper user" into ↵Sunny Goyal2015-07-161-0/+1
|\ \ \ | | | | | | | | | | | | ub-launcher3-burnaby
| * | | Fixing AppWidgetInfo not initialized with proper userSunny Goyal2015-07-151-0/+1
| | | | | | | | | | | | | | | | | | | | Bug: 21673750 Change-Id: I1e03c3cb10a87e394e963cc2001c9c1c293eb2ca
* | | | Merge "Fix issue with UiThreadReveal on L devices" into ub-launcher3-burnabyAdam Cohen2015-07-161-4/+2
|\ \ \ \ | |/ / / |/| | |
| * | | Fix issue with UiThreadReveal on L devicesAdam Cohen2015-07-151-4/+2
| | |/ | |/| | | | | | | | | | | | | issue 22507784 Change-Id: If75292b21a1b572903099ab0682d5c7f69a960f4
* | | Merge "Using highres icons for backup" into ub-launcher3-burnabySunny Goyal2015-07-151-1/+1
|\ \ \
| * | | Using highres icons for backupSunny Goyal2015-07-151-1/+1
| | | | | | | | | | | | | | | | | | | | Bug: 22410445 Change-Id: I0fbc2d1217127556af806f12dbb5960712627ab7
* | | | Merge "Widget row should not be cut off on the right, when there is an ↵Hyunyoung Song2015-07-141-4/+6
|\ \ \ \ | |/ / / |/| | | | | | | indent" into ub-launcher3-burnaby
| * | | Widget row should not be cut off on the right, when there is an indentHyunyoung Song2015-07-141-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | b/22483452 Change-Id: I9d1cd8b71f4b6a4f75af420e9f54b73e9ae7527c
* | | | Merge "Fixing shortcuts not getting migrated to app icons" into ↵Sunny Goyal2015-07-142-4/+4
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-burnaby
| * | | | Fixing shortcuts not getting migrated to app iconsSunny Goyal2015-07-132-4/+4
| |/ / / | | | | | | | | | | | | | | | | Bug: 22410445 Change-Id: I939c59270529daf51638aa30b30763c18a2ce6a5
* | | | Merge "Fixing regression in calculating workspace padding." into ↵Winson Chung2015-07-131-7/+15
|\ \ \ \ | |/ / / |/| | | | | | | ub-launcher3-burnaby
| * | | Fixing regression in calculating workspace padding.Winson Chung2015-07-131-7/+15
| | | | | | | | | | | | | | | | | | | | Bug: 22340087 Change-Id: I28d599fbb8f136b8b5aa4aeffaa0fba5661ab73c
* | | | Hide spammy WidgetModel log behind a DEBUG flagHyunyoung Song2015-07-131-1/+3
| |_|/ |/| | | | | | | | Change-Id: I0119855655516d9fdc114334a974b8766aabf674
* | | Animation should start and finish on widgets button when opening/closing ↵Hyunyoung Song2015-07-102-95/+45
| |/ |/| | | | | | | | | | | | | widget tray. b/21301759 Change-Id: Ib0b9132d8709426598d95fc9f60d37752e05b711
* | Making long-press of AllApps to jump directly to search.Winson Chung2015-07-104-20/+52
|/ | | | | Bug: 22210146 Change-Id: Iacf28416d6e31233a68e3b41576a8860b4b72b88
* Merge "Computing the visible cell layout area without using the current ↵Sunny Goyal2015-07-092-45/+29
|\ | | | | | | scroll" into ub-launcher3-burnaby
| * Computing the visible cell layout area without using the current scrollSunny Goyal2015-07-092-45/+29
| | | | | | | | | | Bug: 22358433 Change-Id: Ib79d02156b6bfab831fa659637f6113a7f555ba7
* | Merge "Adding bounds checking when updating container bounds." into ↵Winson Chung2015-07-091-10/+26
|\ \ | |/ |/| | | ub-launcher3-burnaby
| * Adding bounds checking when updating container bounds.Winson Chung2015-07-081-10/+26
| | | | | | | | | | | | | | | | | | | | - Only update the container bounds from their defaults if the search bar bounds are valid - Adding logging to see if we can track down cases where we are getting bad bounds Bug: 22333435 Change-Id: If15b6e228226e82e0fb9c7ba0f5b8a7a5f1d2e68
* | Fixing overscroll not drawn in rtlSunny Goyal2015-07-081-6/+6
|/ | | | | | | | > Using the currect right page index in rtl > Updating current scroll after max scroll has been calculated. This prevens an extra overscroll when the layout happens for the first time. Bug: 22358804 Change-Id: If07132701936e06f727211122a3b3e6f8426c07b
* Merge "Adding custom slide up activity transition for L MR1" into ↵Adam Cohen2015-07-082-0/+12
|\ | | | | | | ub-launcher3-burnaby
| * Adding custom slide up activity transition for L MR1Adam Cohen2015-07-072-0/+12
| | | | | | | | | | | | issue 21402755 Change-Id: Id2542c0a3c38bd71aa407a3b0fe00fdee24e2f69
* | Updating onRequestPermissionsResult signature to publicSunny Goyal2015-07-071-1/+1
| | | | | | | | Change-Id: Ie08caa55a195e9062006d13e86238cca827ef249
* | Merge "Moving prediction icons back into recycler view." into ↵Sunny Goyal2015-07-077-407/+95
|\ \ | | | | | | | | | ub-launcher3-burnaby