Add AllAppsSearchPlugin

Bug: 151089843

Change-Id: I6d61fb9c7855bafee731f47147b3070a1b672071
This commit is contained in:
Hyunyoung Song
2020-04-09 20:14:58 -07:00
parent 86932724e7
commit 3f82135f06
6 changed files with 139 additions and 5 deletions
@@ -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);
}