summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/allapps/SearchUiManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher3/allapps/SearchUiManager.java')
-rw-r--r--src/com/android/launcher3/allapps/SearchUiManager.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/com/android/launcher3/allapps/SearchUiManager.java b/src/com/android/launcher3/allapps/SearchUiManager.java
index c0d78508f..34230e046 100644
--- a/src/com/android/launcher3/allapps/SearchUiManager.java
+++ b/src/com/android/launcher3/allapps/SearchUiManager.java
@@ -15,6 +15,8 @@
*/
package com.android.launcher3.allapps;
+import android.support.animation.SpringAnimation;
+import android.support.annotation.NonNull;
import android.view.KeyEvent;
/**
@@ -28,6 +30,11 @@ public interface SearchUiManager {
void initialize(AlphabeticalAppsList appsList, AllAppsRecyclerView recyclerView);
/**
+ * A {@link SpringAnimation} that will be used when the user flings.
+ */
+ @NonNull SpringAnimation getSpringForFling();
+
+ /**
* Notifies the search manager that the apps-list has changed and the search UI should be
* updated accordingly.
*/