diff options
author | Winson Chung <winsonc@google.com> | 2015-04-08 10:27:49 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2015-04-09 13:18:31 -0700 |
commit | 0f785720667ab8afe4b4620a6c333d382d8659ed (patch) | |
tree | 9bd5ddba76c5df2c700e05c7a1829e2fb4d14d92 /src/com/android/launcher3/LauncherCallbacks.java | |
parent | 3f471440a8b6b71d4c15501a96befd3b715c9e8f (diff) | |
download | android_packages_apps_Trebuchet-0f785720667ab8afe4b4620a6c333d382d8659ed.tar.gz android_packages_apps_Trebuchet-0f785720667ab8afe4b4620a6c333d382d8659ed.tar.bz2 android_packages_apps_Trebuchet-0f785720667ab8afe4b4620a6c333d382d8659ed.zip |
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
Diffstat (limited to 'src/com/android/launcher3/LauncherCallbacks.java')
-rw-r--r-- | src/com/android/launcher3/LauncherCallbacks.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/com/android/launcher3/LauncherCallbacks.java b/src/com/android/launcher3/LauncherCallbacks.java index d8128d6e5..2fee81c3d 100644 --- a/src/com/android/launcher3/LauncherCallbacks.java +++ b/src/com/android/launcher3/LauncherCallbacks.java @@ -50,6 +50,7 @@ public interface LauncherCallbacks { public void onLauncherProviderChange(); public void finishBindingItems(final boolean upgradePath); public void onClickAllAppsButton(View v); + public void onAllAppsShown(); public void bindAllApplications(ArrayList<AppInfo> apps); public void onClickFolderIcon(View v); public void onClickAppShortcut(View v); @@ -87,6 +88,7 @@ public interface LauncherCallbacks { public ComponentName getWallpaperPickerComponent(); public boolean overrideWallpaperDimensions(); public boolean isLauncherPreinstalled(); + public boolean overrideAllAppsSearch(); /** * Returning true will immediately result in a call to {@link #setLauncherOverlayView(ViewGroup, @@ -106,4 +108,12 @@ public interface LauncherCallbacks { public Launcher.LauncherOverlay setLauncherOverlayView(InsettableFrameLayout container, Launcher.LauncherOverlayCallbacks callbacks); + /** + * Sets the callbacks to allow any extensions to callback to the launcher. + * + * @param callbacks A set of callbacks to the Launcher, is actually a LauncherAppsCallback, but + * for implementation purposes is passed around as an object. + */ + public void setLauncherAppsCallback(Object callbacks); + } |