summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Version code cleanupSunny Goyal2015-08-1727-106/+83
| | | | | | | | > Renaming Lmp to Lollipop > Lollipop_MR1 instead of directly using 22 > Using M APIs directly instead of reflection Change-Id: I10a307f46e3be15b3299f549a2fd7e0e215a6a1b
* Updating the UI for the pending widget viewSunny Goyal2015-08-171-79/+121
| | | | | Bug: 23183034 Change-Id: I2b3f6f765a51edf75e666186650bbd3cf7b66a7a
* Merge "Disabling auto restore of widgets. > Always show "Setup" button for ↵Sunny Goyal2015-08-143-34/+52
|\ | | | | | | a widget which has a config activity." into ub-launcher3-burnaby
| * Disabling auto restore of widgets.Sunny Goyal2015-08-143-34/+52
| | | | | | | | | | | | | | > Always show "Setup" button for a widget which has a config activity. Bug: 23155863 Change-Id: I60683889e76be830a76ac1245e079574aaf0ad10
* | Merge "Reloading launcher whenever there is an external update to ↵Sunny Goyal2015-08-131-13/+16
|\ \ | | | | | | | | | contentprovider, irrespective of the uri" into ub-launcher3-burnaby
| * | Reloading launcher whenever there is an external update to contentprovider, ↵Sunny Goyal2015-08-131-13/+16
| |/ | | | | | | | | | | irrespective of the uri Change-Id: If1a06da57171be30adb74f09ac256a8b03ab8549
* | Refactoring to ExtendedEditText.Winson2015-08-134-53/+28
| |
* | Merge "Refreshing widget list when a package containing a widget changes" ↵Sunny Goyal2015-08-133-14/+39
|\ \ | |/ |/| | | into ub-launcher3-burnaby
| * Refreshing widget list when a package containing a widget changesSunny Goyal2015-08-113-14/+39
| | | | | | | | | | Bug: 20698931 Change-Id: I50bafac1fc0a855edb1ace633a8a6f87a5c3040e
* | Fixing crash upon cancellation of an accessible drag.Vadim Tryshev2015-08-121-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes perhaps an old bug. If we started an accessible drag for an only item on a page, then uninstalled the app while dragging, the page was removed without unsetting its accessibility delegate. Later, the system asks the delegate to do something, but the drag is over, and some pointers are null, so everything crashes. Fixing this. Bug: 22028725 Change-Id: I85adcd42ae896603634994e20a7790792f7e84b1 (cherry picked from commit de1e67c38856ab1253426bfb4f892895eeb5f6d9)
* | Merge "Ensuring that AllAppsGridAdapter is public." into ub-launcher3-burnabyWinson Chung2015-08-112-2/+2
|\ \
| * | Ensuring that AllAppsGridAdapter is public.Winson2015-08-112-2/+2
| | | | | | | | | | | | | | | | | | - Also show the search action when searching all apps Change-Id: I3470b0da565e6d1bce637ce09384d966215a4ca7
* | | Merge "Preventing zoom-in animation from running everytime the app updates." ↵Sunny Goyal2015-08-112-2/+7
|\ \ \ | | | | | | | | | | | | into ub-launcher3-burnaby
| * | | Preventing zoom-in animation from running everytime the app updates.Sunny Goyal2015-08-112-2/+7
| | |/ | |/| | | | | | | | | | Bug: 22557455 Change-Id: I3ac1212a2f319397cd18be8f4452047d974312b8
* / | Disabling home screen migration logicSunny Goyal2015-08-114-4/+7
|/ / | | | | | | Change-Id: I506948852945bfb8ebd7a95fc951880ffe9a3e17
* | Merge "Adding market search." into ub-launcher3-burnabyWinson Chung2015-08-108-71/+190
|\ \ | |/ |/|
| * Adding market search.Winson Chung2015-08-068-71/+190
| | | | | | | | Change-Id: Id41615653cd4fa76213add4595418ad0cc6e7852
* | Merge "Fixing issue with miscalculation in updating container bounds." into ↵Winson Chung2015-08-061-7/+15
|\ \ | | | | | | | | | ub-launcher3-burnaby
| * | Fixing issue with miscalculation in updating container bounds.Winson2015-08-061-7/+15
| |/ | | | | | | | | | | | | | | | | | | | | | | - There was an issue with the previous logic where the test of whether the search bounds changed would always be false if valid search bounds were given. This in conjunction with the fact that the padding was changed to only take the bounds left/right into account, meant that the container bounds would not be updated if the search bar bounds shifted via the insets. Bug: 22918919 Change-Id: Ia810ddc7a56eae4afc0c7cd558fa6dc9e8e7a95b
* | Always log if Package is missing while loading default workspaceAdam Cohen2015-08-061-2/+2
| | | | | | | | Change-Id: I7f2e5a9aabdf1fc192ad7912aaefa3f41c059ff1
* | Merge "Fixing invisible search bar" into ub-launcher3-burnabyWinson Chung2015-08-051-0/+5
|\ \
| * | Fixing invisible search barWinson2015-08-051-0/+5
| |/ | | | | | | | | | | | | | | | | | | | | - We used to rely on the state transition to inflate the search widget after the permission to bind widgets was granted, which is fragile. Now we try and inflate the search widget after user grants the permission if necessary. Bug: 22515084 Bug: 22980143 Change-Id: Id111d263bc8a864e0fa652cfd0e07e66ec690fe7
* / Using a reverse hashmap instead of indexOfValue in userManagerSunny Goyal2015-08-053-21/+23
|/ | | | | Bug: 22980139 Change-Id: I87b633d194ff4e1529dd679dc02da573ed374207
* Removing some synthetic method creationSunny Goyal2015-08-052-4/+6
| | | | Change-Id: Icb6b38f78aa56ad2c11e2ccc8005994ac4b86a91
* Merge "Creating a cache of users to avoid multiple calls to UserManager" ↵Sunny Goyal2015-08-058-28/+80
|\ | | | | | | into ub-launcher3-burnaby
| * Creating a cache of users to avoid multiple calls to UserManagerSunny Goyal2015-08-048-28/+80
| | | | | | | | | | Bug: 22805101 Change-Id: I9cd270efd74fdd34a7eb738fc25797e6f1bf2487
* | 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
* | | Removing account manager callsSunny Goyal2015-08-041-10/+1
| |/ |/| | | | | Change-Id: Ic88139f6ef34046eb3b551d8a75d5f97e1fe3d52
* | 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
* | 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
* | | 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