summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Launcher.java
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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
* Merge "Refactoring search bar animations." into ub-launcher3-burnabyWinson Chung2015-08-051-30/+18
|\
| * Refactoring search bar animations.Winson Chung2015-08-051-30/+18
| | | | | | | | | | | | | | | | | | | | - 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
* | Loading high resolution icons for first 3 items in a folderSunny Goyal2015-08-041-0/+1
| | | | | | | | | | | | | | | | | | > 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-041-18/+3
|\ \ | |/ |/| | | 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-031-18/+3
| | | | | | | | | | | | | | | | | | > 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
* | Remove handler for searchables changed broadcast.Winson Chung2015-08-031-1/+1
|/ | | Bug: 22515084
* Animation should start and finish on widgets button when opening/closing ↵Hyunyoung Song2015-07-101-3/+8
| | | | | | | | widget tray. b/21301759 Change-Id: Ib0b9132d8709426598d95fc9f60d37752e05b711
* Making long-press of AllApps to jump directly to search.Winson Chung2015-07-101-12/+23
| | | | | Bug: 22210146 Change-Id: Iacf28416d6e31233a68e3b41576a8860b4b72b88
* Merge "Adding custom slide up activity transition for L MR1" into ↵Adam Cohen2015-07-081-0/+7
|\ | | | | | | ub-launcher3-burnaby
| * Adding custom slide up activity transition for L MR1Adam Cohen2015-07-071-0/+7
| | | | | | | | | | | | issue 21402755 Change-Id: Id2542c0a3c38bd71aa407a3b0fe00fdee24e2f69
* | Updating onRequestPermissionsResult signature to publicSunny Goyal2015-07-071-1/+1
| | | | | | | | Change-Id: Ie08caa55a195e9062006d13e86238cca827ef249
* | Using an empty error view for QSBSunny Goyal2015-07-061-0/+1
|/ | | | | Bug: 21731323 Change-Id: I837b7bf9bac443cd2062ab2d4c24e081eb01732d
* am 79f25bed: Merge "Add LauncherCallbacks for requesting permissions on MNC" ↵Dave Hawkey2015-06-291-0/+9
|\ | | | | | | | | | | | | into ub-launcher3-almonte * commit '79f25bedd2ed13613323b085b46b9b42aee21696': Add LauncherCallbacks for requesting permissions on MNC
| * Add LauncherCallbacks for requesting permissions on MNCDave Hawkey2015-06-261-0/+9
| | | | | | | | Change-Id: Ia8f704590e03e16db04c2f7acee1e79ce7334749
| * [DO NOT MERGE] Use custom slide-up animation on LMP MR1 instead of system ↵Adam Cohen2015-05-221-1/+6
| | | | | | | | | | | | | | | | default issue 21402755 Change-Id: I87ddef08e7b3134c791f769fc279e62d520cd18c
| * Preventing NullPointerException when cancelling a shortcut additionSunny Goyal2015-05-131-1/+3
| | | | | | | | | | | | Bug: 21024018 Change-Id: Iac09d9e4f1411aa9fe1ec89fbfe749b009c7d457 (cherry picked from commit f044bb1edd8670fbc2cf9eeb1a51c31b91f0889c)
| * Stop using custom activity transition, rely on system default in these casesAdam Cohen2015-04-021-3/+4
| | | | | | | | | | | | | | | | | | -> workaround for platform issue related to this resource, but also a decent code cleanup issue 20006693 Change-Id: Iea3a2fb14be5ed78d882ddf9d970b12d177f4249
* | Allowing UserHandle to be passed in the intent when creating AppInfoSunny Goyal2015-06-261-21/+14
| | | | | | | | | | | | | | | | > Removing createShortcut with userHandle, as shortcuts can only be for the primary user. Bug: 22070517 Change-Id: Ifc58a76d0f1e0ab8f1943b46588cc19dd88bdda1
* | Merge "Announce content desc of workspace immediately after unlocking the ↵Hyunyoung Song2015-06-261-0/+2
|\ \ | | | | | | | | | lock screen. b/22051420" into ub-launcher3-burnaby
| * | Announce content desc of workspace immediately after unlocking the lock screen.Hyunyoung Song2015-06-251-0/+2
| | | | | | | | | | | | | | | | | | b/22051420 Change-Id: I41ab93782383c04e0074d87632ebe8d884a8e208
* | | Merge "Exposing drag methods with user info." into ub-launcher3-burnabyWinson Chung2015-06-251-9/+30
|\ \ \
| * | | Exposing drag methods with user info.Winson Chung2015-06-251-9/+30
| |/ / | | | | | | | | | Change-Id: I974b67d23d3d29795c1c1d24e1ecf212b52e3912
* / / Ensuring that we always update the predicted apps set.Winson Chung2015-06-251-1/+1
|/ / | | | | | | Change-Id: Ieecf019442dcf4af42463ed6cbc4cdcd19468dec
* | Refactoring fast scroller.Winson Chung2015-06-231-21/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | - Fixing issue with fast scroller not fitting name width. - Refactoring fast scrolling/scroll bar code out of base recycler view - Adding animations to fast scroller to match design - Smooth scrolling when jumping between app rows - Fixing issue with fast scroller jumping when you first pick it up - Fixing issue with wrong background paddings being used Bug: 21874346 Bug: 22031923 Change-Id: I9f011b1f375751f437604b900e95a2942d3f4601
* | Merge "Moving predicted apps callbacks to use ComponentKey." into ↵Winson Chung2015-06-181-3/+2
|\ \ | | | | | | | | | ub-launcher3-burnaby
| * | Moving predicted apps callbacks to use ComponentKey.Winson Chung2015-06-181-3/+2
| | | | | | | | | | | | | | | | | | Bug: 21270185 Change-Id: If2d9dd77235e7a96de96a1a5441a589ef8a72a7f
* | | Add null-check for workspace/hotseat.Jun Mukai2015-06-171-12/+24
|/ / | | | | | | | | | | | | | | | | | | | | I assumed that they are non-null, but reportedly it was wrong. This method can be invoked before the views are fully initialized. Also hotseat can be null as far as I see setupViews(), therefore null-check and 'importance stored' flag check should be done separately. Bug: 21779078 Change-Id: I3f17226f887c38adf2b1fb7ee2a016e00ffc0eb4
* | Removing ContentObserver in launcherSunny Goyal2015-06-161-34/+4
| | | | | | | | | | | | | | > 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-151-98/+29
|\ \ | | | | | | | | | ub-launcher3-burnaby
| * | Refactoring all apps search to support external search bar.Winson Chung2015-06-151-98/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | Read rotation setting correctly from the wallpaper picker.Rahul Chaturvedi2015-06-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 "Using content provider to update launcher settings" into ↵Sunny Goyal2015-06-121-33/+17
|\ \ \ | |/ / |/| | | | | ub-launcher3-burnaby
| * | Using content provider to update launcher settingsSunny Goyal2015-06-121-33/+17
| | | | | | | | | | | | | | | | | | | | | | | | > Removing cross process preference file > Removed broadcast listener management for settings changes > Defining content provider method to get/set laucnehr preferences Change-Id: Ida36eac0ab17c1d48fedc9404817a53a89b36c4f
* | | Tying accessibility drag lifecycle to that of dragControllerSunny Goyal2015-06-081-4/+2
|/ / | | | | | | | | Bug: 20865291 Change-Id: I1e0aceb20efcf4c32d76a656c499a1a4a5a32a65
* | Merge "Removing LauncherApplication to enable us to easily catch ↵Sunny Goyal2015-06-081-1/+0
|\ \ | | | | | | | | | LauncherAppState errors" into ub-launcher3-burnaby
| * | Removing LauncherApplication to enable us to easily catch LauncherAppState ↵Sunny Goyal2015-06-041-1/+0
| | | | | | | | | | | | | | | | | | errors Change-Id: I56e956067692e5b9c4719c5e08b8f558e6011a60
* | | Merge "Fixing preloaded widget not getting used for animation" into ↵Sunny Goyal2015-06-081-0/+3
|\ \ \ | | | | | | | | | | | | ub-launcher3-burnaby
| * | | Fixing preloaded widget not getting used for animationSunny Goyal2015-06-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > The preloaded widget was being set in a different instance of PendingAddWidgetInfo and was never getting used for animation. bug: 20699153 Change-Id: Iaec13640e49c66993b4695e4a52dc3a3a2133fb2
* | | | Code cleanupSunny Goyal2015-06-051-32/+8
| |/ / |/| | | | | | | | | | | | | | | | | | | | > Removing obsolete logging > Removing unused methods > Removing resource leak warning due to non-static handler class in launcher Change-Id: Ic38cc8aea82899b0b5ee3235f04e5964e49245fb
* | | Use a broadcast receiver instead of a settings observer.Rahul Chaturvedi2015-06-041-24/+36
| | | | | | | | | | | | | | | | | | | | | | | | Settings observer doesn't work if a setting is modified in another process, hence we instead register a receiver which listens for a signal from the settings process that the rotation preference has changed. Change-Id: I570e3c67bb64a32347e84ca00a8ac31d9010eac3
* | | Fixing different bitmap sizes in different orientationsSunny Goyal2015-06-031-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | > Using a single bitmap icon size > Picking up appropriate density for satisfy the required icon size > Fixing some icon size assumptions during icon animations Bug: 19514688 Change-Id: Ia7a1d0d2c03a9d39ccc241fa4ae3eb8a0f374585
* | | Adding context for app launches.Winson Chung2015-06-021-11/+3
|/ / | | | | | | | | Bug: 21492784 Change-Id: I1b28ac8f44498e1d9770e770b074f19c721c3f10
* | Removing some synthetic method creationSunny Goyal2015-06-021-2/+2
| | | | | | | | | | | | > Make package-private and @Thunk all private methods and constructors accessed from inner classes. Change-Id: Ie5913860a0c33e48e9bf68f9b5b1699f64c2f174
* | Adding an asynchronous search interface for apps searchSunny Goyal2015-06-011-0/+11
| | | | | | | | Change-Id: Ib09df0a3d587dc60ed888ddbd0edf058e4a1cc3e
* | Merge "Add the Allow Rotation setting to Launcher3." into ub-launcher3-burnabyRahul Chaturvedi2015-06-011-5/+53
|\ \
| * | Add the Allow Rotation setting to Launcher3.Rahul Chaturvedi2015-06-011-5/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL adds a Settings activity along with the code needed to provide a "Allow Rotation" setting to all phones and tablets. This setting is set to false for phones and true for tablets. On changing the setting from unlocked to locked, the launcher (and the Settings activity) will get locked to the orientation the user was in when he disabled "Allow Rotation". This is consistent with how the natural rotation feature of Android works. Change-Id: I8a1c59d1fa0bb9262530cad96e0a9bdbab0d9344
* | | Merge "Removing file IO used for checking configuration change" into ↵Sunny Goyal2015-05-281-108/+0
|\ \ \ | |/ / |/| | | | | ub-launcher3-burnaby
| * | Removing file IO used for checking configuration changeSunny Goyal2015-05-261-108/+0
| | | | | | | | | | | | | | | | | | | | | > This check was used for flushing the cache, but since the cache is backed by a DB, this has no effect as same icons are loaded again Change-Id: Ib7d8a8598c5d225d922e095c899dc11ad06f2b7a
* | | Removing SmoothPagedView as all its methods are disabledSunny Goyal2015-05-271-3/+4
| | | | | | | | | | | | Change-Id: I83c99bb3d3546693200d64e2233957b4c679e7e6