Home
last modified time | relevance | path

Searched refs:mSearchViewManager (Results 1 – 2 of 2) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DSearchViewManagerTest.java79 private TestableSearchViewManager mSearchViewManager; field in SearchViewManagerTest
119 mSearchViewManager = new TestableSearchViewManager(searchListener, mTestEventHandler, in setUp()
124 mSearchViewManager.install(mTestMenu, true, false); in setUp()
170 mSearchViewManager.parseQueryContentFromIntent(intent, -1); in testParseQueryContent_ActionIsNotMatched_NotParseQueryContent()
171 assertTrue(mSearchViewManager.getQueryContentFromIntent() == null); in testParseQueryContent_ActionIsNotMatched_NotParseQueryContent()
180 mSearchViewManager.parseQueryContentFromIntent(intent, ACTION_GET_CONTENT); in testParseQueryContent_queryContentIsMatched()
181 assertEquals(queryString, mSearchViewManager.getQueryContentFromIntent()); in testParseQueryContent_queryContentIsMatched()
186 mSearchViewManager.onClick(null); in testIsExpanded_ExpandsOnClick()
187 assertTrue(mSearchViewManager.isExpanded()); in testIsExpanded_ExpandsOnClick()
192 mSearchViewManager.onClick(null); in testIsExpanded_CollapsesOnMenuItemActionCollapse()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchFragment.java52 private SearchViewManager mSearchViewManager; field in SearchFragment
80 mSearchViewManager.onMirrorChipClick((SearchChipData) tag); in onChipClicked()
87 mSearchViewManager.setHistorySearch(); in onHistoryItemClicked()
99 mSearchViewManager.cancelSearch(); in onCreateView()
116 mSearchViewManager = injector.searchManager; in onActivityCreated()
126 mSearchViewManager.bindChips(mSearchChipGroup); in onActivityCreated()
151 mSearchViewManager.cancelSearch(); in onCreateDialog()
153 mSearchViewManager.restoreSearch(false); in onCreateDialog()
163 mSearchViewManager.setCurrentSearch(s);
164 mSearchViewManager.restoreSearch(false);
[all …]