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.java82 private TestableSearchViewManager mSearchViewManager; field in SearchViewManagerTest
122 mSearchViewManager = new TestableSearchViewManager(searchListener, mTestEventHandler, in setUp()
127 mSearchViewManager.install(mTestMenu, true, false); in setUp()
179 mSearchViewManager.parseQueryContentFromIntent(intent, -1); in testParseQueryContent_ActionIsNotMatched_NotParseQueryContent()
180 assertTrue(mSearchViewManager.getQueryContentFromIntent() == null); in testParseQueryContent_ActionIsNotMatched_NotParseQueryContent()
189 mSearchViewManager.parseQueryContentFromIntent(intent, ACTION_GET_CONTENT); in testParseQueryContent_queryContentIsMatched()
190 assertEquals(queryString, mSearchViewManager.getQueryContentFromIntent()); in testParseQueryContent_queryContentIsMatched()
195 mSearchViewManager.onClick(null); in testIsExpanded_ExpandsOnClick()
196 assertTrue(mSearchViewManager.isExpanded()); in testIsExpanded_ExpandsOnClick()
201 mSearchViewManager.onClick(null); in testIsExpanded_CollapsesOnMenuItemActionCollapse()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchFragment.java49 private SearchViewManager mSearchViewManager; field in SearchFragment
105 mSearchViewManager = injector.searchManager; in onActivityCreated()
106 mSearchViewManager.setFragmentManager(this.getParentFragmentManager()); in onActivityCreated()
113 mSearchViewManager.bindChips(mSearchChipGroup); in onActivityCreated()
145 mSearchViewManager.onMirrorChipClick((SearchChipData) tag); in onChipClicked()
151 mSearchViewManager.setHistorySearch(); in onHistoryItemClicked()
152 mSearchViewManager.setCurrentSearch(item); in onHistoryItemClicked()
153 mSearchViewManager.restoreSearch(true); in onHistoryItemClicked()
198 mSearchViewManager.removeHistory(history); in getView()