Home
last modified time | relevance | path

Searched refs:mSearchAlgorithm (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/widget/picker/search/
DWidgetsSearchBarControllerTest.java56 private SearchAlgorithm<WidgetsListBaseEntry> mSearchAlgorithm; field in WidgetsSearchBarControllerTest
66 mSearchAlgorithm, mEditText, mCancelButton, mSearchModeListener); in setUp()
89 verify(mSearchAlgorithm).doSearch(eq("abc"), any()); in afterTextChanged_shouldDoSearch()
111 verify(mSearchAlgorithm).cancel(true); in afterTextChanged_empty_shouldCancelSearch()
112 verifyNoMoreInteractions(mSearchAlgorithm); in afterTextChanged_empty_shouldCancelSearch()
133 verify(mSearchAlgorithm).cancel(true); in cancelSearch_shouldCancelSearch()
134 verifyNoMoreInteractions(mSearchAlgorithm); in cancelSearch_shouldCancelSearch()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DAllAppsSearchBarController.java53 protected SearchAlgorithm<AdapterItem> mSearchAlgorithm; field in AllAppsSearchBarController
73 mSearchAlgorithm = searchAlgorithm; in initialize()
106 mSearchAlgorithm.cancel(true); in afterTextChanged()
109 mSearchAlgorithm.cancel(false); in afterTextChanged()
110 mSearchAlgorithm.doSearch(mQuery, mTextConversions, mCallback); in afterTextChanged()
119 mSearchAlgorithm.cancel(false); in refreshSearchResult()
120 mSearchAlgorithm.doSearch(mQuery, mCallback); in refreshSearchResult()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/search/
DWidgetsSearchBarController.java45 protected SearchAlgorithm<WidgetsListBaseEntry> mSearchAlgorithm; field in WidgetsSearchBarController
54 mSearchAlgorithm = algo; in WidgetsSearchBarController()
68 mSearchAlgorithm.cancel(/* interruptActiveRequests= */ true); in afterTextChanged()
72 mSearchAlgorithm.cancel(/* interruptActiveRequests= */ false); in afterTextChanged()
74 mSearchAlgorithm.doSearch(mQuery, this); in afterTextChanged()
107 mSearchAlgorithm.destroy(); in onDestroy()