Add AllAppsSearchPlugin
Bug: 151089843 Change-Id: I6d61fb9c7855bafee731f47147b3070a1b672071
This commit is contained in:
@@ -18,6 +18,9 @@ package com.android.launcher3.allapps;
|
||||
import android.graphics.Rect;
|
||||
import android.view.KeyEvent;
|
||||
import android.view.animation.Interpolator;
|
||||
import android.widget.EditText;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.android.launcher3.anim.PropertySetter;
|
||||
|
||||
@@ -52,4 +55,14 @@ public interface SearchUiManager {
|
||||
*/
|
||||
void setContentVisibility(int visibleElements, PropertySetter setter,
|
||||
Interpolator interpolator);
|
||||
|
||||
/**
|
||||
* Called to control how the search UI result should be handled.
|
||||
*
|
||||
* @param isEnabled when {@code true}, the search is all handled inside AOSP
|
||||
* and is not overlayable.
|
||||
* @return the searchbox edit text object
|
||||
*/
|
||||
@Nullable
|
||||
EditText setTextSearchEnabled(boolean isEnabled);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user