Searched refs:mSearchAlgorithm (Results 1 – 3 of 3) sorted by relevance
56 private SearchAlgorithm<WidgetsListBaseEntry> mSearchAlgorithm; field in WidgetsSearchBarControllerTest66 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()
53 protected SearchAlgorithm<AdapterItem> mSearchAlgorithm; field in AllAppsSearchBarController73 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()
45 protected SearchAlgorithm<WidgetsListBaseEntry> mSearchAlgorithm; field in WidgetsSearchBarController54 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()