summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Moving predicted apps callbacks to use ComponentKey.Winson Chung2015-06-186-20/+57
| | | | | | Bug: 21270185 Change-Id: If2d9dd77235e7a96de96a1a5441a589ef8a72a7f
* Renaming id to prevent collision.Winson Chung2015-06-171-1/+1
| | | | | Bug: 21878123 Change-Id: If4313d217967310ede7ed3fe11bdbe49311e1a4f
* Making UserHandleCompat constructor publicSunny Goyal2015-06-161-1/+1
| | | | Change-Id: Ied4c62964e608d543f0bcf3b232c0df7b57bdf5d
* Merge "Fixing nullpointer when creating new DB" into ub-launcher3-burnabySunny Goyal2015-06-162-15/+15
|\
| * Fixing nullpointer when creating new DBSunny Goyal2015-06-162-15/+15
| | | | | | | | | | LauncherProvider is not ready until the DBHelper is created Change-Id: Iabd61005892f15fd4a31d882100d87df2b2a7b85
* | Making resultHandler protected to make it accessible from a subClassSunny Goyal2015-06-161-1/+1
| | | | | | | | Change-Id: Id11118b9f8b9782c44847ac82a03ea36bcb43963
* | Using component key for app search resultsSunny Goyal2015-06-165-82/+49
|/ | | | Change-Id: Idc610cde340331892a5fabfa8bf952d136675f81
* Merge "Refactored section names to only draw when there is space." into ↵Winson Chung2015-06-165-106/+132
|\ | | | | | | ub-launcher3-burnaby
| * Refactored section names to only draw when there is space.Winson Chung2015-06-165-106/+132
| | | | | | | | | | | | | | | | | | - This CL removes all space for section names in both phones and tablets. And when there are no section names, the layout will automatically fully merge the sections. Bug: 20222023 Change-Id: Ic7c751d86f095e5cbd690bfd4f94bb5b00ff8ae4
* | Merge "Fix last bit of WidgetTray jank issue b/21133230" into ↵Hyunyoung Song2015-06-161-8/+20
|\ \ | | | | | | | | | ub-launcher3-burnaby
| * | Fix last bit of WidgetTray jank issueHyunyoung Song2015-06-161-8/+20
| | | | | | | | | | | | | | | | | | b/21133230 Change-Id: Ic198b8d21be1b0f3465cd4efc30a240e3ec4304a
* | | Removing ContentObserver in launcherSunny Goyal2015-06-166-60/+33
| |/ |/| | | | | | | | | | | > Using callback insted of using a content observer > Setting the listener in LauncherAppState to prevent resource leak Change-Id: Id23a4d5c8812e86178997e536226e09ec3740f84
* | Merge "Refactoring all apps search to support external search bar." into ↵Winson Chung2015-06-1520-900/+945
|\ \ | |/ |/| | | ub-launcher3-burnaby
| * Refactoring all apps search to support external search bar.Winson Chung2015-06-1520-900/+945
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Adding support for an external search bar that can be used to search a container view. This adds a new interface AllAppsSearchController which manages the external search bar. Each controller will have its own search implementation which means that we no longer need a common AppSearchManager interface. - Removing elevation controller as we no longer have a builtin search bar in all apps - Refactoring container view insets so that they behave the same in all containers. - Refactoring apps view to ensure that we only update the number of columns with the available width - Cleaning up LauncherCallbacks interface Bug: 20127840 Bug: 21494973 Change-Id: I710b8e18196961d77d8a29f0c345531d480936fe
* | Merge "Work profile badge alignment b/21336417" into ub-launcher3-burnabyHyunyoung Song2015-06-153-10/+13
|\ \
| * | Work profile badge alignmentHyunyoung Song2015-06-153-10/+13
| | | | | | | | | | | | | | | | | | b/21336417 Change-Id: Icd54320fa0d0976cac0ae66d180cc2c99ddd0c1c
* | | Merge "Remove inifinite recursion from PagedView" into ub-launcher3-burnabyAdam Cohen2015-06-151-1/+1
|\ \ \
| * | | Remove inifinite recursion from PagedViewAdam Cohen2015-06-151-1/+1
| | |/ | |/| | | | | | | | | | | | | -> thanks adamp@ Change-Id: I36836357f5f194ac69530475b124595174c8b636
* | | Read rotation setting correctly from the wallpaper picker.Rahul Chaturvedi2015-06-152-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | If reading the rotation setting without the multi-process flag, the WallpaperPickerActivity usually picks up a cached value. Specifying the multi-process flag during the read fixes this and the wallpaper picker always has the correct rotation setting. Change-Id: Ic3639f8cd694674e92c8940b753c6bc30486076d
* | | Merge "Fixing regression in fast scroller animation." into ub-launcher3-burnabyWinson Chung2015-06-131-0/+7
|\ \ \
| * | | Fixing regression in fast scroller animation.Winson Chung2015-06-121-0/+7
| |/ / | | | | | | | | | | | | | | | | | | | | | - Fast scroller was not fading out since we were missing the getter for the fast scroller alpha (so the initial alpha to animate from was wrong). Change-Id: I2fd13eee3deb084ba37cf4a849e2378f23758391
* | | Merge "Fixing issue with click shadow not being drawn correctly." into ↵Winson Chung2015-06-121-0/+2
|\ \ \ | | | | | | | | | | | | ub-launcher3-burnaby
| * | | Fixing issue with click shadow not being drawn correctly.Winson Chung2015-06-121-0/+2
| |/ / | | | | | | | | | | | | - It was due to the view parent (prediction bar) which has its own translation.
* | | Merge "Using content provider to update launcher settings" into ↵Sunny Goyal2015-06-128-60/+97
|\ \ \ | | | | | | | | | | | | ub-launcher3-burnaby
| * | | Using content provider to update launcher settingsSunny Goyal2015-06-128-60/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Removing cross process preference file > Removed broadcast listener management for settings changes > Defining content provider method to get/set laucnehr preferences Change-Id: Ida36eac0ab17c1d48fedc9404817a53a89b36c4f
* | | | Merge "Removing developer options check for app info target" into ↵Sunny Goyal2015-06-121-14/+1
|\ \ \ \ | |_|/ / |/| | | | | | | ub-launcher3-burnaby
| * | | Removing developer options check for app info targetSunny Goyal2015-06-121-14/+1
| |/ / | | | | | | | | | | | | Bug: 21626561 Change-Id: Ic65155ca5b1e5268ccdf2b20295a5067d5d3fa5d
* | | Merge "Tying accessibility drag lifecycle to that of dragController" into ↵Sunny Goyal2015-06-112-16/+14
|\ \ \ | | | | | | | | | | | | ub-launcher3-burnaby
| * | | Tying accessibility drag lifecycle to that of dragControllerSunny Goyal2015-06-082-16/+14
| | | | | | | | | | | | | | | | | | | | Bug: 20865291 Change-Id: I1e0aceb20efcf4c32d76a656c499a1a4a5a32a65
* | | | Fix a small UI nit with screen reorderingAdam Cohen2015-06-101-0/+7
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | -> When in overview mode, flinging the pages can leave the scroller running (invisibly) for much additional time, since the scroller fling bounds far exceed the alloawble scroll bounds (in order to achieve a hard wall type effect) -> When this is happening, user couldn't pick up a page for reordering -> Ended the scroller early in this case to avoid the problem Change-Id: I8b6f140d9a87bb742e57625e90ca7d76a2158e28
* | | Merge "Fixing crash in restore" into ub-launcher3-burnabySunny Goyal2015-06-102-42/+20
|\ \ \
| * | | Fixing crash in restoreSunny Goyal2015-06-052-42/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > LauncherAppState cannot be initialized during restore, as it is not called from a looper thread. Bug: 21275736 Change-Id: Ifdb3f9913fa2ee63a7e1566d0c5cfc6f72b4f41e
* | | | Merge "Catch TransactionTooLargeException when loading widget provider list ↵Hyunyoung Song2015-06-091-19/+44
|\ \ \ \ | | | | | | | | | | | | | | | b/19904873" into ub-launcher3-burnaby
| * | | | Catch TransactionTooLargeException when loading widget provider listHyunyoung Song2015-06-081-19/+44
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | b/19904873 Change-Id: Ic0d13ee7513731706bc0f9fde8502acba0899cb3 Note: fix for almonte will be separate due to diff btw the branches..
* | | | Merge "Make WidgetsRecyclerView not crash on MNC support lib" into ↵Hyunyoung Song2015-06-091-2/+6
|\ \ \ \ | |_|_|/ |/| | | | | | | ub-launcher3-burnaby
| * | | Make WidgetsRecyclerView not crash on MNC support libHyunyoung Song2015-06-081-2/+6
| |/ / | | | | | | | | | Change-Id: Ia7bee39752ad0c0b58e74df4507caaf7a3cd8c29
* | | Merge "Removing LauncherApplication to enable us to easily catch ↵Sunny Goyal2015-06-082-35/+0
|\ \ \ | | | | | | | | | | | | LauncherAppState errors" into ub-launcher3-burnaby
| * | | Removing LauncherApplication to enable us to easily catch LauncherAppState ↵Sunny Goyal2015-06-042-35/+0
| | | | | | | | | | | | | | | | | | | | | | | | errors Change-Id: I56e956067692e5b9c4719c5e08b8f558e6011a60
* | | | Merge "Fixing preloaded widget not getting used for animation" into ↵Sunny Goyal2015-06-084-127/+67
|\ \ \ \ | |_|/ / |/| | | | | | | ub-launcher3-burnaby
| * | | Fixing preloaded widget not getting used for animationSunny Goyal2015-06-024-128/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > The preloaded widget was being set in a different instance of PendingAddWidgetInfo and was never getting used for animation. bug: 20699153 Change-Id: Iaec13640e49c66993b4695e4a52dc3a3a2133fb2
* | | | Merge "Improve AyncTask throughput inside WidgetPreviewLoader" into ↵Hyunyoung Song2015-06-053-11/+21
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-burnaby
| * | | | Improve AyncTask throughput inside WidgetPreviewLoaderHyunyoung Song2015-06-053-11/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/21133230 > Synchronized block was creating a bottleneck for the AsyncTasks. > Remove calls that doesn't need to be synchronized outside synchronized block. > Also removed setAlpha call as after the bottleneck was removed, Inefficient alpha view usage alert started popping up in traceview. Due to less jankness, removing the fadein animation doesn't have any visible effect. Link to lock congestion visualization: https://x20web.corp.google.com/~hyunyoungs/no_crawl/traceview/traceview_lockcontention.html Result: gfx-avg-jank delta = "-1" Change-Id: If12817df0730f346cdba7e2f38f232eb9a4336c0
* | | | | Merge "Ensuring that we use the screen width more optimally in AllApps." ↵Winson Chung2015-06-057-32/+52
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | into ub-launcher3-burnaby
| * | | | | Ensuring that we use the screen width more optimally in AllApps.Winson Chung2015-06-057-32/+52
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fixing issue with prediction bar height being calculated incorrectly - Fixing issue where the prediction bar divider was not drawn exactly between the bar and the first row of apps - Removing padding to allow scrollbars to reach full height Bug: 20222023 Bug: 21335377 Change-Id: I2c0614a36e2294d0d6184a6bff4847876ffe971e
* | | | / Ensure that we use the system long press duration when dragging from AllApps.Winson Chung2015-06-056-27/+28
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | - Removing some old code out of LauncherAppState Bug: 21559400 Change-Id: I3c586094efb7ad8a17d2169bc8aaccf6b0df40a2
* | | | Merge "Code cleanup" into ub-launcher3-burnabySunny Goyal2015-06-059-116/+23
|\ \ \ \
| * | | | Code cleanupSunny Goyal2015-06-059-116/+23
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | > Removing obsolete logging > Removing unused methods > Removing resource leak warning due to non-static handler class in launcher Change-Id: Ic38cc8aea82899b0b5ee3235f04e5964e49245fb
* | | | Merge "Updating assets" into ub-launcher3-burnabySunny Goyal2015-06-054-5/+5
|\ \ \ \
| * | | | Updating assetsSunny Goyal2015-06-054-5/+5
| |/ / / | | | | | | | | | | | | | | | | Bug: 21304080 Change-Id: I26cf435779b477f0961d8e0d56dd6b86b418a3be
* | | | Merge "Removing unused animation style" into ub-launcher3-burnabySunny Goyal2015-06-051-31/+0
|\ \ \ \ | |/ / / |/| | |