From 161f96bc77805ed87f831b68e51fad61a23153bc Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Sun, 7 May 2017 11:56:00 -0700 Subject: 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 --- src/com/android/launcher3/LauncherCallbacks.java | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/com/android/launcher3/LauncherCallbacks.java') 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 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(); -- cgit v1.2.3