summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/LauncherCallbacks.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2017-05-07 11:56:00 -0700
committerSunny Goyal <sunnygoyal@google.com>2017-05-08 14:43:32 -0700
commit161f96bc77805ed87f831b68e51fad61a23153bc (patch)
treea3f74eb9dcac6dd4673a51122ac62e5e92aea676 /src/com/android/launcher3/LauncherCallbacks.java
parentb73fa5d7a46e840df13b2d5fb8ae956344524c3e (diff)
downloadandroid_packages_apps_Trebuchet-161f96bc77805ed87f831b68e51fad61a23153bc.tar.gz
android_packages_apps_Trebuchet-161f96bc77805ed87f831b68e51fad61a23153bc.tar.bz2
android_packages_apps_Trebuchet-161f96bc77805ed87f831b68e51fad61a23153bc.zip
Moving apps search related logic into a custom layout file
This will allow derivative projects to easily change the search behavior by simply overriding the xml file Bug: 37616877 Change-Id: Ib8d6a2dab06819a52611e9a3d97c70c5a49bbf97
Diffstat (limited to 'src/com/android/launcher3/LauncherCallbacks.java')
-rw-r--r--src/com/android/launcher3/LauncherCallbacks.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/com/android/launcher3/LauncherCallbacks.java b/src/com/android/launcher3/LauncherCallbacks.java
index 32f179f46..ea4aeb929 100644
--- a/src/com/android/launcher3/LauncherCallbacks.java
+++ b/src/com/android/launcher3/LauncherCallbacks.java
@@ -21,7 +21,6 @@ import android.os.Bundle;
import android.view.Menu;
import android.view.View;
-import com.android.launcher3.allapps.AllAppsSearchBarController;
import com.android.launcher3.util.ComponentKey;
import java.io.FileDescriptor;
@@ -92,20 +91,11 @@ public interface LauncherCallbacks {
*/
boolean shouldMoveToDefaultScreenOnHomeIntent();
boolean hasSettings();
- AllAppsSearchBarController getAllAppsSearchBarController();
List<ComponentKey> getPredictedApps();
int SEARCH_BAR_HEIGHT_NORMAL = 0, SEARCH_BAR_HEIGHT_TALL = 1;
/** Must return one of {@link #SEARCH_BAR_HEIGHT_NORMAL} or {@link #SEARCH_BAR_HEIGHT_TALL} */
int getSearchBarHeight();
- /**
- * 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,
- * but for implementation purposes is passed around as an object.
- */
- void setLauncherSearchCallback(Object callbacks);
-
boolean shouldShowDiscoveryBounce();
void onExtractedColorsChanged();