Loading res/layout/widgets_full_sheet.xml +2 −4 Original line number Diff line number Diff line Loading @@ -24,9 +24,7 @@ <com.android.launcher3.views.SpringRelativeLayout android:id="@+id/container" android:layout_width="match_parent" android:layout_height="match_parent" android:focusable="true" android:importantForAccessibility="no"> android:layout_height="match_parent"> <View android:id="@+id/collapse_handle" Loading res/layout/widgets_two_pane_sheet.xml +1 −3 Original line number Diff line number Diff line Loading @@ -23,9 +23,7 @@ <com.android.launcher3.views.SpringRelativeLayout android:id="@+id/container" android:layout_width="match_parent" android:layout_height="match_parent" android:focusable="true" android:importantForAccessibility="no"> android:layout_height="match_parent"> <View android:id="@+id/collapse_handle" Loading src/com/android/launcher3/widget/picker/search/WidgetsSearchBarController.java +1 −9 Original line number Diff line number Diff line Loading @@ -37,8 +37,7 @@ import java.util.ArrayList; * Controller for a search bar with an edit text and a cancel button. */ public class WidgetsSearchBarController implements TextWatcher, SearchCallback<WidgetsListBaseEntry>, ExtendedEditText.OnBackKeyListener, View.OnKeyListener { SearchCallback<WidgetsListBaseEntry>, View.OnKeyListener { private static final String TAG = "WidgetsSearchBarController"; private static final boolean DEBUG = false; Loading @@ -54,7 +53,6 @@ public class WidgetsSearchBarController implements TextWatcher, mSearchAlgorithm = algo; mInput = editText; mInput.addTextChangedListener(this); mInput.setOnBackKeyListener(this); mInput.setOnKeyListener(this); mCancelButton = cancelButton; mCancelButton.setOnClickListener(v -> clearSearchResult()); Loading Loading @@ -107,12 +105,6 @@ public class WidgetsSearchBarController implements TextWatcher, mSearchAlgorithm.destroy(); } @Override public boolean onBackKey() { clearFocus(); return true; } @Override public boolean onKey(View view, int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_ENTER && event.getAction() == KeyEvent.ACTION_UP) { Loading Loading
res/layout/widgets_full_sheet.xml +2 −4 Original line number Diff line number Diff line Loading @@ -24,9 +24,7 @@ <com.android.launcher3.views.SpringRelativeLayout android:id="@+id/container" android:layout_width="match_parent" android:layout_height="match_parent" android:focusable="true" android:importantForAccessibility="no"> android:layout_height="match_parent"> <View android:id="@+id/collapse_handle" Loading
res/layout/widgets_two_pane_sheet.xml +1 −3 Original line number Diff line number Diff line Loading @@ -23,9 +23,7 @@ <com.android.launcher3.views.SpringRelativeLayout android:id="@+id/container" android:layout_width="match_parent" android:layout_height="match_parent" android:focusable="true" android:importantForAccessibility="no"> android:layout_height="match_parent"> <View android:id="@+id/collapse_handle" Loading
src/com/android/launcher3/widget/picker/search/WidgetsSearchBarController.java +1 −9 Original line number Diff line number Diff line Loading @@ -37,8 +37,7 @@ import java.util.ArrayList; * Controller for a search bar with an edit text and a cancel button. */ public class WidgetsSearchBarController implements TextWatcher, SearchCallback<WidgetsListBaseEntry>, ExtendedEditText.OnBackKeyListener, View.OnKeyListener { SearchCallback<WidgetsListBaseEntry>, View.OnKeyListener { private static final String TAG = "WidgetsSearchBarController"; private static final boolean DEBUG = false; Loading @@ -54,7 +53,6 @@ public class WidgetsSearchBarController implements TextWatcher, mSearchAlgorithm = algo; mInput = editText; mInput.addTextChangedListener(this); mInput.setOnBackKeyListener(this); mInput.setOnKeyListener(this); mCancelButton = cancelButton; mCancelButton.setOnClickListener(v -> clearSearchResult()); Loading Loading @@ -107,12 +105,6 @@ public class WidgetsSearchBarController implements TextWatcher, mSearchAlgorithm.destroy(); } @Override public boolean onBackKey() { clearFocus(); return true; } @Override public boolean onKey(View view, int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_ENTER && event.getAction() == KeyEvent.ACTION_UP) { Loading