diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2015-12-03 15:31:25 -0800 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2016-02-23 12:06:16 -0800 |
commit | 32554d1c6169df944f651846c64096f8bb57fb31 (patch) | |
tree | 8b40acce1d9e5a3e43d715fac10a4ddf86aec87f /src/com/android/launcher3/LauncherCallbacks.java | |
parent | 261194387beebaa7927ec4e310274218b651494d (diff) | |
download | android_packages_apps_Trebuchet-32554d1c6169df944f651846c64096f8bb57fb31.tar.gz android_packages_apps_Trebuchet-32554d1c6169df944f651846c64096f8bb57fb31.tar.bz2 android_packages_apps_Trebuchet-32554d1c6169df944f651846c64096f8bb57fb31.zip |
Cleaning up the overlay interface
Removing some unnecessary and unused methods
Bug: 25993953
Change-Id: I4d715cdee04eb7b0ebef673d885a4258c521ff1f
Diffstat (limited to 'src/com/android/launcher3/LauncherCallbacks.java')
-rw-r--r-- | src/com/android/launcher3/LauncherCallbacks.java | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/com/android/launcher3/LauncherCallbacks.java b/src/com/android/launcher3/LauncherCallbacks.java index 1d7575253..591bd9206 100644 --- a/src/com/android/launcher3/LauncherCallbacks.java +++ b/src/com/android/launcher3/LauncherCallbacks.java @@ -82,18 +82,11 @@ public interface LauncherCallbacks { @Deprecated public void onDragStarted(View view); - /* - * Extension points for replacing the search experience - */ - @Deprecated - public boolean forceDisableVoiceButtonProxy(); public boolean providesSearch(); public boolean startSearch(String initialQuery, boolean selectInitialQuery, Bundle appSearchData, Rect sourceBounds); @Deprecated public boolean startSearchFromAllApps(String query); - @Deprecated - public void startVoice(); public boolean hasCustomContentToLeft(); public void populateCustomContentContainer(); public View getQsbBar(); @@ -108,8 +101,6 @@ public interface LauncherCallbacks { public View getIntroScreen(); public boolean shouldMoveToDefaultScreenOnHomeIntent(); public boolean hasSettings(); - @Deprecated - public ComponentName getWallpaperPickerComponent(); public boolean overrideWallpaperDimensions(); public boolean isLauncherPreinstalled(); public AllAppsSearchBarController getAllAppsSearchBarController(); @@ -119,24 +110,6 @@ public interface LauncherCallbacks { public int getSearchBarHeight(); /** - * Returning true will immediately result in a call to {@link #setLauncherOverlayView(ViewGroup, - * com.android.launcher3.Launcher.LauncherOverlayCallbacks)}. - * - * @return true if this launcher extension will provide an overlay - */ - public boolean hasLauncherOverlay(); - - /** - * Handshake to establish an overlay relationship - * - * @param container Full screen overlay ViewGroup into which custom views can be placed. - * @param callbacks A set of callbacks provided by Launcher in relation to the overlay - * @return an interface used to make requests and notify the Launcher in relation to the overlay - */ - public Launcher.LauncherOverlay setLauncherOverlayView(InsettableFrameLayout container, - Launcher.LauncherOverlayCallbacks callbacks); - - /** * Sets the callbacks to allow reacting the actions of search overlays of the launcher. * * @param callbacks A set of callbacks to the Launcher, is actually a LauncherSearchCallback, |