History log of /packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a535ae423bdb3272095e8d83b4c9deff342227b1 27-Feb-2017 Sunny Goyal <sunnygoyal@google.com> Moving Event dispatcher definition from LAuncher to BaseActivity so that
it can be used in other activities as well.

Bug: 34766840
Change-Id: Ie4b723483792bee93fb75e63146ebea7dfeebeda
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
6f28e71e94aed69c71415ac5a5334fd0bb6c9ce5 13-Sep-2016 Sunny Goyal <sunnygoyal@google.com> Simplifying the startSearch call in launcher callbacks

Change-Id: I722e110903cced237f05667c4d711468d7cd3daa
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
65ceb5aa55403482e92e1e86105c1ef5510688ad 19-Aug-2016 Sunny Goyal <sunnygoyal@google.com> Moving the scrim to draglayer

> 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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
c001cf562017d08cd48b67de8f377ca08881e70e 22-Jul-2016 Hyunyoung Song <hyunyoungs@google.com> Animate discovery bounce for all apps pull up interaction
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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
745bad9da1ef2fca2ab7bfeb5ea885a2b50c49c3 02-May-2016 Sunny Goyal <sunnygoyal@google.com> Chaning the behavior of settings activity.

> 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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
79d90c558f8509be546a2053c87a3827db93047c 22-Apr-2016 Adam Cohen <adamcohen@google.com> Define a set of methods on Launcher which can be safely called externally

-> The methods are defined by an interface, LauncherExterns, which Launcher
implements

Change-Id: I61362761f5d90fbc3011ce000944768d5ab29d43
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
aa953654279d7cca29682d85111e398ea1f20390 20-Apr-2016 Hyunyoung Song <hyunyoungs@google.com> Refactor UserEventDispatcher (1/2)
b/28269657

Change-Id: I1083e6f73f42ac1986428a39c6b532050e595ac6
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
534058492ff7d9a8a75b0fe709bddb6c3f6dcd79 14-Apr-2016 Sunny Goyal <sunnygoyal@google.com> Removing some deprecated callbacks

Change-Id: I3361383fe19faa64d862bbf879edb8c09937dc6f
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
ddec1c739ef37c3a042982b8943fe42e04b65f4c 13-Apr-2016 Hyunyoung Song <hyunyoungs@google.com> Refactor UserEventLogging, Add predictedRank, replace Bundle with Proto

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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
6f866095c0177a794050e578f148b640f4e0a0ab 18-Mar-2016 Sunny Goyal <sunnygoyal@google.com> Removing dependency on wallpaper size settings from launcher

> Moving wallpaper desired width calculation to xml

Bug: 14470153
Change-Id: I8803af158861507a40e5d55e9aa6d515be47eefa
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
8fd5e938d34ee84d076b5c5d2575cc6c46c254ce 09-Mar-2016 Hyunyoung Song <hyunyoungs@google.com> Add getUserEventLogger to LauncherCallbacks
b/26494415

Change-Id: I8abaaf1269c12435a523e31bf769991018ea5c02
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
c86df470ab360a6e3f7edfd4b9cadcc5c31734f8 25-Feb-2016 Sunny Goyal <sunnygoyal@google.com> Adding overlay interaction support

> 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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
32554d1c6169df944f651846c64096f8bb57fb31 04-Dec-2015 Sunny Goyal <sunnygoyal@google.com> Cleaning up the overlay interface

Removing some unnecessary and unused methods

Bug: 25993953
Change-Id: I4d715cdee04eb7b0ebef673d885a4258c521ff1f
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
fbf19cccd293ca23cbed38eaa25abc6ea72be83e 19-Feb-2016 Hyunyoung Song <hyunyoungs@google.com> <UserEventLogging> Log app launches
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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
c42ac0a5a6f0a4e41a9fc1b694f841204ae1989c 19-Feb-2016 Sunny Goyal <sunnygoyal@google.com> Removing LauncherCallbacks control over app search

Change-Id: Icb199607dea3f169055e44946272aa9f1e758d1d
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
775455c4a8266655bf43b943e969d42ac32609ec 16-Oct-2015 Tony Wickham <twickham@google.com> Add LauncherCallbacks method to add additional search widget options.

Bug: 25000458
Change-Id: I5e8d48617568569bc6e4f284749c3ed9fb20a68f
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
55616cd363202eccf7a9f9a5af00d12997c24b19 23-Sep-2015 Tony Wickham <twickham@google.com> Added launcher callback to specify search bar height.

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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
bedf9232eb67a420f0372d3ca135ca13194e603b 10-Jul-2015 Winson Chung <winsonc@google.com> Adding market search.

Change-Id: Id41615653cd4fa76213add4595418ad0cc6e7852
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
cb5f619770df68e6cd323c85602bb64c4acea8cc 29-Jun-2015 Dave Hawkey <dhawkey@google.com> am 79f25bed: Merge "Add LauncherCallbacks for requesting permissions on MNC" into ub-launcher3-almonte

* commit '79f25bedd2ed13613323b085b46b9b42aee21696':
Add LauncherCallbacks for requesting permissions on MNC
3a43ed61cba0dd45cf085f41c1632cfbc82a8adc 26-Jun-2015 Dave Hawkey <dhawkey@google.com> Add LauncherCallbacks for requesting permissions on MNC

Change-Id: Ia8f704590e03e16db04c2f7acee1e79ce7334749
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
b1777447d9b9700b48f8060f8b318f2363c43e8d 16-Jun-2015 Winson Chung <winsonc@google.com> Refactoring fast scroller.

- 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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
6b1c73f50a99a215c923aa0caca8e63c593a4eb2 18-Jun-2015 Winson Chung <winsonc@google.com> Moving predicted apps callbacks to use ComponentKey.

Bug: 21270185

Change-Id: If2d9dd77235e7a96de96a1a5441a589ef8a72a7f
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
ef7f874a889b609bd34e692b9c9a1f8cefd1ea95 05-Jun-2015 Winson Chung <winsonc@google.com> Refactoring all apps search to support external search bar.

- 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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
8f1eff7b6cc8621888ee46605c32e601f80a890b 29-May-2015 Winson Chung <winsonc@google.com> Adding context for app launches.

Bug: 21492784
Change-Id: I1b28ac8f44498e1d9770e770b074f19c721c3f10
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
8af0cd808e62973889cd43e2c989220f27d70dd4 12-May-2015 Jun Mukai <mukai@google.com> Introduce LauncherSearchCallback to handle search overlay status.

Bug: 20011047
Change-Id: I93cab4e0614b9658b4b657dd98dca68d42580e63
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
4ac30068732c7216288999d255a823adb7ca7c12 09-May-2015 Winson Chung <winsonc@google.com> Initial changes to support predicted apps.

Change-Id: I80117d51074fe3dbdbb8d81cae886b1dffdfb86a
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
cd99cd3ed6a84b9dcd8f4c60b0941760f85a64ce 29-Apr-2015 Winson Chung <winsonc@google.com> Launcher-side changes to support prediction bar.

Change-Id: Ib9974ad8888ad87137c774f9f531fae9d56b899a
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
0f785720667ab8afe4b4620a6c333d382d8659ed 08-Apr-2015 Winson Chung <winsonc@google.com> Initial changes to support a fixed all-apps layout.

- 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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
67c3086163593db47e57b8cf4fcb034334374000 31-Mar-2015 Robert Kozikowski <robertkoz@google.com> Adding Launcher3 callbacks for trimming memory.

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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
e2d4ee1b21014e0f644134bd7c56291078b1ed60 07-Feb-2015 Adam Cohen <adamcohen@google.com> Revert "Adding Launcher3 callbacks for trimming memory."

This reverts commit 42f3b9e0283c30c40c286f9958ce0f8b02f85c52.

Change-Id: I65a7c893576c0901b231bab9abe6937f99415f1e
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
42f3b9e0283c30c40c286f9958ce0f8b02f85c52 04-Feb-2015 Robert Kozikowski <robertkoz@google.com> Adding Launcher3 callbacks for trimming memory.

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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
a6d0492e5f0dd4e1b43d4034a770241dc65f8f8c 24-Oct-2014 Adam Cohen <adamcohen@google.com> Allow LauncherOverlay to access and manage insets

Change-Id: Ib9faf37eb22ad2a0b18c076978ec9f2fd8864c0c
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
c2d6e897dbcb96b7b629e42002966368fbda2f95 16-Oct-2014 Adam Cohen <adamcohen@google.com> First pass of the Launcher Overlay interface / impl

-> Added simple reference launcher extension
-> Make launcher able to handle a null qsb

Change-Id: Ib1575243cac800a335e95bbf00cdc394bb4741c3
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java
9211d42f139eeaeeaef1fe4e59df2349e6d1237a 08-Oct-2014 Adam Cohen <adamcohen@google.com> Use LauncherCallbacks model instead of method overrides

-> 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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherCallbacks.java