Home
last modified time | relevance | path

Searched refs:isSearching (Results 1 – 13 of 13) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DSearchViewManagerTest.java200 assertTrue(mSearchViewManager.isSearching()); in testIsSearching_TrueHasCheckedChip()
206 assertFalse(mSearchViewManager.isSearching()); in testIsSearching_FalseOnClick()
213 assertTrue(mSearchViewManager.isSearching()); in testIsSearching_TrueOnQueryTextSubmit()
220 assertFalse(mSearchViewManager.isSearching()); in testIsSearching_FalseImmediatelyAfterOnQueryTextChange()
228 assertTrue(mSearchViewManager.isSearching()); in testIsSearching_TrueAfterOnQueryTextChangeAndWait()
238 assertFalse(mSearchViewManager.isSearching()); in testIsSearching_FalseWhenSecondOnQueryTextChangeResetsTimer()
248 assertTrue(mSearchViewManager.isSearching()); in testIsSearching_TrueAfterSecondOnQueryTextChangeResetsTimer()
257 assertFalse(mSearchViewManager.isSearching()); in testIsSearching_FalseIfSearchCanceled()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestSearchViewManager.java36 public boolean isSearching; field in TestSearchViewManager
73 public boolean isSearching() { in isSearching() method in TestSearchViewManager
74 return isSearching; in isSearching()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickResult.java105 public boolean isSearching() { in isSearching() method in PickResult
114 public void setIsSearching(boolean isSearching) { in setIsSearching() argument
115 this.mIsSearching = isSearching; in setIsSearching()
DActionHandler.java199 private void updatePickResult(Intent intent, boolean isSearching, int root) { in updatePickResult() argument
218 mInjector.pickResult.setIsSearching(isSearching); in updatePickResult()
443 intent, mSearchMgr.isSearching(), Metrics.sanitizeRoot(mState.stack.getRoot())); in onPickFinished()
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/
DSdpManager.java149 public boolean isSearching() { in isSearching() method in SdpManager.SdpSearchInstance
193 boolean isSearching(BluetoothDevice device, ParcelUuid uuid) { in isSearching() method in SdpManager.SdpSearchTracker
198 return inst.isSearching(); in isSearching()
405 if (sSdpSearchTracker.isSearching(device, uuid)) { in sdpSearch()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DAbstractActionHandler.java343 if (mSearchMgr.isSearching()) { in openContainerDocument()
579 if (mSearchMgr.isSearching()) { in onCreateLoader()
602 Uri contentsUri = mSearchMgr.isSearching() in onCreateLoader()
611 final Bundle queryArgs = mSearchMgr.isSearching() in onCreateLoader()
DBaseActivity.java176 if (mSearchManager.isSearching()) { in onCreate()
504 && !mSearchManager.isSearching() in canCreateDirectory()
695 boolean isGlobalSearch = mSearchManager.isSearching() || mState.stack.size() > 1; in getHeaderRecentTitle()
DMetrics.java329 result.isSearching(), in logPickResult()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DAbstractActionHandlerTest.java121 mEnv.searchViewManager.isSearching = true; in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation()
143 mEnv.searchViewManager.isSearching = true; in testOpensContainerDocuments_ClickFolderInSearch_PushToRootDoc_NoFindPathSupport()
165 mEnv.searchViewManager.isSearching = true; in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchViewManager.java323 if (mSearchView != null && (isExpanded() || isSearching())) { in cancelSearch()
512 if (isExpanded() || isSearching()) {
585 public boolean isSearching() {
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DFilesActivity.java254 if (mSearchManager.isSearching()) { in onPostCreate()
327 assert(!mSearchManager.isSearching()); in refreshDirectory()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DPickResultTest.java44 assertThat(mPickResult.isSearching()).isTrue(); in testIsSearching()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryFragment.java1228 return mInjector.searchManager.isSearching(); in isInSearchMode()