summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/LauncherCallbacks.java
Commit message (Collapse)AuthorAgeFilesLines
* Simplifying the startSearch call in launcher callbacksSunny Goyal2016-09-131-3/+5
| | | | Change-Id: I722e110903cced237f05667c4d711468d7cd3daa
* Moving the scrim to draglayerSunny Goyal2016-08-231-4/+0
| | | | | | | | | | | > This causes the scrim to animate with the content on first launch > Also removing the logic to disable scrim based on state. That logic was only executing onResume which could lead to an invalid state Bug: 30972956 Bug: 30576826 Change-Id: Ia8386b303ce260f69e3b3b93041226f409301a01
* Animate discovery bounce for all apps pull up interactionHyunyoung Song2016-07-211-0/+2
| | | | | | | | | | | b/30221381 > Will not support landscape case. If the user knows how to enable rotation, it's very unlikely they don't know how to bring up apps drawer > If unlocked using finger unlock immediately after screen is turned off, bounce is not shown due to delay in ACTION_SCREEN_OFF broadcast Change-Id: Ia8b7e572eaa4aeab8b1add1e5660fee3a63ba21c
* Chaning the behavior of settings activity.Sunny Goyal2016-05-021-2/+0
| | | | | | | | > Making all twoState prefs backed by content provider > Using the stadard intent defined in N for settings > Using SharedPrefsListener instead of LauncherProvider Change-Id: I8272f54aa780bc0436e3d0aa89096a4bd2a9194f
* Define a set of methods on Launcher which can be safely called externallyAdam Cohen2016-04-261-0/+16
| | | | | | | -> The methods are defined by an interface, LauncherExterns, which Launcher implements Change-Id: I61362761f5d90fbc3011ce000944768d5ab29d43
* Refactor UserEventDispatcher (1/2)Hyunyoung Song2016-04-191-2/+2
| | | | | | b/28269657 Change-Id: I1083e6f73f42ac1986428a39c6b532050e595ac6
* Removing some deprecated callbacksSunny Goyal2016-04-141-24/+0
| | | | Change-Id: I3361383fe19faa64d862bbf879edb8c09937dc6f
* Refactor UserEventLogging, Add predictedRank, replace Bundle with ProtoHyunyoung Song2016-04-131-2/+1
| | | | | | | | | | | | | | b/26494415 - Removed bundle object that became redundant now that we have LauncherEvent proto - Combined Stats and UserEventLogger as they are effectively doing same thing - Removed parent field inside Target - added predictedRank target inside Target b/27967359 - make com.android.launcher3.action.LAUNCH broadcast explicit Later CL: finish packageName/intent/componentHash/predictedRank fields Change-Id: I441fb46c834f73e58a4d2324e8da7971e8713ec8
* Removing dependency on wallpaper size settings from launcherSunny Goyal2016-03-171-0/+1
| | | | | | | > Moving wallpaper desired width calculation to xml Bug: 14470153 Change-Id: I8803af158861507a40e5d55e9aa6d515be47eefa
* Add getUserEventLogger to LauncherCallbacksHyunyoung Song2016-03-081-0/+2
| | | | | | b/26494415 Change-Id: I8abaaf1269c12435a523e31bf769991018ea5c02
* Adding overlay interaction supportSunny Goyal2016-02-251-0/+2
| | | | | | | > Sending unboundX to the overlay which is the total untranslated X and not just deltaX from last frame > Handling overlay callback and translating workspace accordingly Change-Id: I3bd8d9efac738e9ce131758f0e5ff1b9c1d6a8fc
* Cleaning up the overlay interfaceSunny Goyal2016-02-231-27/+0
| | | | | | | Removing some unnecessary and unused methods Bug: 25993953 Change-Id: I4d715cdee04eb7b0ebef673d885a4258c521ff1f
* <UserEventLogging> Log app launchesHyunyoung Song2016-02-191-3/+16
| | | | | | | | | | | | | | | | | | | b/26494415 1) Current Logger can capture taps from - homescreen - folder inside homescreen - apps prediction - all apps a-z - tap from hotseat 2) Deprecate LauncherCallback methods that is no longer needed Future CL. 3) Stats and Logger will be merged. Bundle used for Stats can be replaced with LauncherLogProto 4) Logging anything else other than app launches Change-Id: Id52eb615f66142017b5c490a220ce6654d325681
* Removing LauncherCallbacks control over app searchSunny Goyal2016-02-181-0/+1
| | | | Change-Id: Icb199607dea3f169055e44946272aa9f1e758d1d
* Add LauncherCallbacks method to add additional search widget options.Tony Wickham2015-10-161-0/+1
| | | | | Bug: 25000458 Change-Id: I5e8d48617568569bc6e4f284749c3ed9fb20a68f
* Added launcher callback to specify search bar height.Tony Wickham2015-10-081-0/+3
| | | | | | | | The search bar can now be be normal or tall. When it is set to tall, the hotseat and page indicators move down so that the workspace isn't compressed quite as much. Change-Id: Id92a946eab3a93524999f92efd847a501a95f002
* Adding market search.Winson Chung2015-08-061-0/+1
| | | | Change-Id: Id41615653cd4fa76213add4595418ad0cc6e7852
* am 79f25bed: Merge "Add LauncherCallbacks for requesting permissions on MNC" ↵Dave Hawkey2015-06-291-0/+2
|\ | | | | | | | | | | | | into ub-launcher3-almonte * commit '79f25bedd2ed13613323b085b46b9b42aee21696': Add LauncherCallbacks for requesting permissions on MNC
| * Add LauncherCallbacks for requesting permissions on MNCDave Hawkey2015-06-261-0/+2
| | | | | | | | Change-Id: Ia8f704590e03e16db04c2f7acee1e79ce7334749
* | Refactoring fast scroller.Winson Chung2015-06-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Moving predicted apps callbacks to use ComponentKey.Winson Chung2015-06-181-1/+2
| | | | | | | | | | | | Bug: 21270185 Change-Id: If2d9dd77235e7a96de96a1a5441a589ef8a72a7f
* | Refactoring all apps search to support external search bar.Winson Chung2015-06-151-12/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Adding context for app launches.Winson Chung2015-06-021-0/+2
| | | | | | | | | | Bug: 21492784 Change-Id: I1b28ac8f44498e1d9770e770b074f19c721c3f10
* | Introduce LauncherSearchCallback to handle search overlay status.Jun Mukai2015-05-121-0/+7
| | | | | | | | | | Bug: 20011047 Change-Id: I93cab4e0614b9658b4b657dd98dca68d42580e63
* | Initial changes to support predicted apps.Winson Chung2015-05-111-0/+2
| | | | | | Change-Id: I80117d51074fe3dbdbb8d81cae886b1dffdfb86a
* | Launcher-side changes to support prediction bar.Winson Chung2015-05-041-0/+1
| | | | | | | | Change-Id: Ib9974ad8888ad87137c774f9f531fae9d56b899a
* | Initial changes to support a fixed all-apps layout.Winson Chung2015-04-091-0/+10
|/ | | | | | | | | | - Dynamically update padding and background depending on fixed bounds and searchbar - Fixes issue with drag layer bg getting clobbered when rotating launcher - Tapping outside the bounds of all apps should close all apps - Fixing typo causing widgets to not show in sw720dp devices Bug: 20127840 Change-Id: I29c3f905bdee940f938ffe054f58434887073092
* Adding Launcher3 callbacks for trimming memory.Robert Kozikowski2015-03-301-0/+1
| | | | | | | | | | | | | | | | It will help reduce memory footprint of Launcher, when in background. It is required to help deallocate images, when Google Now Launcher goes into the background. See cl/83222937/ . Plan after this CL: - Generate drop CL with launcher3_drop.sh. Add empty metods to make code compile. - Sync the cl/83222937 and hide the code behind the feature flag. It was previously submitted in ag/628070 and reverted in ag/630423 due to GSA release schedule. Change-Id: I56eee618b86d518d0afc362b6cf44c3bbec1f19c
* Revert "Adding Launcher3 callbacks for trimming memory."Adam Cohen2015-02-061-1/+0
| | | | | | This reverts commit 42f3b9e0283c30c40c286f9958ce0f8b02f85c52. Change-Id: I65a7c893576c0901b231bab9abe6937f99415f1e
* Adding Launcher3 callbacks for trimming memory.Robert Kozikowski2015-02-041-0/+1
| | | | | | | | It will help reduce memory footprint of Launcher, when in background. It is required to help deallocate images, when Google Now Launcher goes into the background. See cl/83222937/ . Change-Id: I6d3d4d1f0457c67abcad3ba4516c87abcf666b05
* Allow LauncherOverlay to access and manage insetsAdam Cohen2014-10-241-2/+2
| | | | Change-Id: Ib9faf37eb22ad2a0b18c076978ec9f2fd8864c0c
* First pass of the Launcher Overlay interface / implAdam Cohen2014-10-221-0/+19
| | | | | | | -> Added simple reference launcher extension -> Make launcher able to handle a null qsb Change-Id: Ib1575243cac800a335e95bbf00cdc394bb4741c3
* Use LauncherCallbacks model instead of method overridesAdam Cohen2014-10-151-0/+89
-> When extending the Launcher Activity, instead of overriding public and protected methods, create a proper interface -> This helps define the interface when extending Launcher more formally and more clearly Change-Id: Ib38e8a376b2242d4078bf6856bb145f5b5f0da80