summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Refactoring search bar animations." into ub-launcher3-burnabyWinson Chung2015-08-059-303/+283
|\
| * Refactoring search bar animations.Winson Chung2015-08-059-303/+283
| | | | | | | | | | | | | | | | | | | | - This refactoring ensures that LauncherStateTransition does not do its own animation on the QSB, and that all animations to the SearchDropTargetBar go through its own animators. Bug: 22515084 Change-Id: Ia7d13c44d861eac7517076b52a9651a90911ed0a
* | Merge "Removing account manager calls" into ub-launcher3-burnabySunny Goyal2015-08-042-11/+1
|\ \
| * | Removing account manager callsSunny Goyal2015-08-042-11/+1
| | | | | | | | | | | | Change-Id: Ic88139f6ef34046eb3b551d8a75d5f97e1fe3d52
* | | Updating the default layouts for launcher3Sunny Goyal2015-08-045-258/+184
|/ / | | | | | | Change-Id: I088c7195ae1985788e845900463d22973a0f61d4
* | Loading high resolution icons for first 3 items in a folderSunny Goyal2015-08-047-3/+46
| | | | | | | | | | | | | | | | | | > Sometimes a folder gets rearranged, without updating the model, like when an app in uninstalled. In that case, we need to update the icons for folder items, which were previously hidden Bug: 22813360 Change-Id: I99754911c969bf2153efb2948c226c1c69219b88
* | Merge "Calculating widget minSpans and spans statically/independent of ↵Sunny Goyal2015-08-0411-149/+81
|\ \ | | | | | | | | | orientation > Filtering the widget list and excluding widgets which dont fit the grid > setting minSpans for the widget item when binding." into ub-launcher3-burnaby
| * | Calculating widget minSpans and spans statically/independent of orientationSunny Goyal2015-08-0311-149/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | > Filtering the widget list and excluding widgets which dont fit the grid > setting minSpans for the widget item when binding. Bug: 22541314 Bug: 22559137 Change-Id: Ieda48b56c95bee0c7ec71dd691af7e23e2d43db6
* | | Merge "Replacing exception with a log, when uninstalling an app leads to an ↵Sunny Goyal2015-08-041-1/+5
|\ \ \ | | | | | | | | | | | | illegal state" into ub-launcher3-burnaby
| * | | Replacing exception with a log, when uninstalling an app leads to an illegal ↵Sunny Goyal2015-08-031-1/+5
| |/ / | | | | | | | | | | | | | | | | | | state Bug: 22491055 Change-Id: Iaf5fe20b717102bdb0a5442dcc33efea30c50d47
* | / Fix issue where scroll container shadow didn't fade outAdam Cohen2015-08-031-9/+11
| |/ |/| | | | | Change-Id: I3b0104dea04009819db0375c381b8ff445b76baa
* | Merge "Remove handler for searchables changed broadcast." into ↵Winson Chung2015-08-033-6/+4
|\ \ | |/ |/| | | ub-launcher3-burnaby
| * Remove handler for searchables changed broadcast.Winson Chung2015-08-033-6/+4
| | | | | | Bug: 22515084
* | Fixing drag outline positions for folder over hotseatSunny Goyal2015-08-031-0/+2
| | | | | | | | | | | | Bug: 22506247 Change-Id: Ia2508307554089205fd678987454e81cb811a59b (cherry picked from commit 92bce4316422c69ee26e6ece204fbf1499753086)
* | Merge "Enabling logging for migration task" into ub-launcher3-burnabySunny Goyal2015-07-312-2/+5
|\ \
| * | Enabling logging for migration taskSunny Goyal2015-07-312-2/+5
| | | | | | | | | | | | | | | Bug: 22353460 Change-Id: I8a9a8ea0d5523acb6d2376920535a9f4f519525d
* | | am a547c451: Revert "Add proto flag "javanano_use_deprecated_package" to ↵Adam Cohen2015-07-311-1/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | avoid build breakage" * commit 'a547c4516c1a2dfd87f3466fccffd5ca6c5cab8c': Revert "Add proto flag "javanano_use_deprecated_package" to avoid build breakage"
| * | | Revert "Add proto flag "javanano_use_deprecated_package" to avoid build ↵Adam Cohen2015-07-311-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | breakage" This reverts commit cb7674118c6fa6849e657fb8fea25c8fd93477cc. Change-Id: I831abe3746be49fd164046655e8c5e059bae074f
* | | | 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
* | | | | am cb767411: Add proto flag "javanano_use_deprecated_package" to avoid build ↵Adam Cohen2015-07-311-0/+1
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | breakage * commit 'cb7674118c6fa6849e657fb8fea25c8fd93477cc': Add proto flag "javanano_use_deprecated_package" to avoid build breakage
| * | | | Add proto flag "javanano_use_deprecated_package" to avoid build breakageAdam Cohen2015-07-311-0/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: Iea8a7bc2bb385e066b3f972105224fee3eb7c894
* | | | | am 0ff535ea: (-s ours) Remove references to FloatMath, deprecated in MAdam Cohen2015-07-310-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | * commit '0ff535eabbdf27ec5a790adbc64f27f8c63e7399': Remove references to FloatMath, deprecated in M
| * | | | Remove references to FloatMath, deprecated in MAdam Cohen2015-07-303-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -> Allows us to build against M SDK issue 22822360 Change-Id: I1178eb6bafc348699c5be8c29858eb3dff093e11
* | | | | 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-303-5/+19
|\ \ \ \ | |/ / / |/| | |
| * | | Adding rank column in backupSunny Goyal2015-07-223-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > 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-284-26/+21
|\ \ \ \
| * | | | Fixing overview mode scale calculations.Winson Chung2015-07-104-26/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Making the overview scale apply just like the spring loaded scale factor - Tweaking overview scale to make it not so small Change-Id: If93bac08609b0cfd9c9d9f8f6057498957378b56
* | | | | Overlay support lib RV resources in Android.mkHyunyoung Song2015-07-271-3/+12
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Note: after this change, ag/735298 can be reverted. b/22719084 Change-Id: I83caf8832790b1df0a90a1339f6b24f481c51661
* | | | Remove NPE inside WidgetsListAdapter during monkey actor testHyunyoung Song2015-07-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | b/22518383 Change-Id: I1a683c49be93af150f7873390b723cee0d4ac5df
* | | | Merge "Don't obfuscate Launcher3" into ub-launcher3-burnabyAdam Cohen2015-07-251-1/+5
|\ \ \ \ | |_|/ / |/| | |
| * | | Don't obfuscate Launcher3Adam Cohen2015-07-241-1/+5
| |/ / | | | | | | | | | Change-Id: I86ac745602c0d3c09842ed9553f7589c232f5d23
* | | 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
* | | | Merge "Resizing the bitmap before caching it in the DB" into ↵Sunny Goyal2015-07-212-6/+9
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-burnaby
| * | | | 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
* / / / Enable Launcher3 as default Home appbohu2015-07-201-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | The default Home app launcher2 is deprecated and cannot launch Nexus 6 or any other high resolution devices in emulator. This CL enables launcher3 as the default Home app, since it can handle Nexus 6 and is well maintained. Bug: 22609402 Change-Id: Iaba545fec218f79e40e0f72de5236ddadfabaa14
* | | am 249a510a: (-s ours) [DO NOT MERGE] Adding minSpanX and minSpanY for all ↵Sunny Goyal2015-07-170-0/+0
|\ \ \ | | |/ | |/| | | | | | | | | | | | | the launcher widgets * commit '249a510ab318db461ce1ac86baca01021fe41a2c': [DO NOT MERGE] Adding minSpanX and minSpanY for all the launcher widgets
| * | [DO NOT MERGE] Adding minSpanX and minSpanY for all the launcher widgetsSunny Goyal2015-07-163-10/+17
| | | | | | | | | | | | | | | Bug: 22353460 Change-Id: Id4450dee42a83e4603dcd56e1c4dec2b0e405858