Home
last modified time | relevance | path

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

/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/tests/unit/com/android/documentsui/queries/
DSearchViewManagerTest.java209 assertTrue(mSearchViewManager.isSearching()); in testIsSearching_TrueHasCheckedChip()
215 assertFalse(mSearchViewManager.isSearching()); in testIsSearching_FalseOnClick()
222 assertTrue(mSearchViewManager.isSearching()); in testIsSearching_TrueOnQueryTextSubmit()
229 assertFalse(mSearchViewManager.isSearching()); in testIsSearching_FalseImmediatelyAfterOnQueryTextChange()
237 assertTrue(mSearchViewManager.isSearching()); in testIsSearching_TrueAfterOnQueryTextChangeAndWait()
247 assertFalse(mSearchViewManager.isSearching()); in testIsSearching_FalseWhenSecondOnQueryTextChangeResetsTimer()
257 assertTrue(mSearchViewManager.isSearching()); in testIsSearching_TrueAfterSecondOnQueryTextChangeResetsTimer()
266 assertFalse(mSearchViewManager.isSearching()); in testIsSearching_FalseIfSearchCanceled()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickResult.java106 public boolean isSearching() { in isSearching() method in PickResult
115 public void setIsSearching(boolean isSearching) { in setIsSearching() argument
116 this.mIsSearching = isSearching; in setIsSearching()
DActionHandler.java285 private void updatePickResult(Intent intent, boolean isSearching, int root) { in updatePickResult() argument
304 mInjector.pickResult.setIsSearching(isSearching); in updatePickResult()
506 intent, mSearchMgr.isSearching(), Metrics.sanitizeRoot(mState.stack.getRoot())); in onPickFinished()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DActivityAllAppsContainerView.java399 if (!mSearchTransitionController.isRunning() && goingToSearch == isSearching()) { in animateToSearchState()
492 if (isSearching()) { in reset()
531 if (!mUsingTabs && isSearching()) { in getDescription()
550 public boolean isSearching() { in isSearching() method in ActivityAllAppsContainerView
568 reset(true /* animate */, !isSearching() /* exitSearch */); in onActivePageChanged()
785 if (scrolledOffset == 0 && !isSearching()) { in updateHeaderScroll()
1024 if (!isSearching()) { in onAppsUpdated()
1083 if (isSearching() in onTouchEvent()
1093 if (isSearching()) { in getActiveRecyclerView()
1207 if (isSearching()) { in updateSearchResultsVisibility()
[all …]
DAllAppsRecyclerView.java337 } else if (appsView.isSearching()) { in logCumulativeVerticalScroll()
DAllAppsTransitionController.java297 if (!mLauncher.getAppsView().isSearching() || !mLauncher.getDeviceProfile().isTablet) { in onScaleProgressChanged()
DPrivateProfileManager.java311 if (mAllApps.isSearching()) { in postUnlock()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sdp/
DSdpManager.java113 public boolean isSearching() { in isSearching() method in SdpManager.SdpSearchInstance
163 boolean isSearching(BluetoothDevice device, ParcelUuid uuid) { in isSearching() method in SdpManager.SdpSearchTracker
177 return inst.isSearching(); in isSearching()
451 if (mSdpSearchTracker.isSearching(device, uuid)) { in sdpSearch()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchViewManager.java165 } else if (isExpanded() && isSearching()) { in buildQueryArgs()
346 if (mSearchView != null && (isExpanded() || isSearching())) { in cancelSearch()
564 if (isExpanded() || isSearching()) {
659 public boolean isSearching() {
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitCarUiProxy/plugin/src/main/java/com/chassis/car/ui/plugin/toolbar/
DToolbarControllerImpl.java894 boolean isSearching = searchMode != SearchMode.DISABLED; in update()
895 if (mSearchView == null && isSearching) { in update()
944 mTitleLogoContainer.setVisibility(isSearching ? GONE : VISIBLE); in update()
956 mNavIconSpacer.setVisibility(hasTabs && !isSearching ? VISIBLE : GONE); in update()
963 mTabLayout.setVisibility(hasTabs && !isSearching ? VISIBLE : GONE); in update()
966 if (isSearching) { in update()
974 boolean showButtons = !isSearching || mShowMenuItemsWhileSearching; in update()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DPickResultTest.java44 assertThat(mPickResult.isSearching()).isTrue(); in testIsSearching()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DAbstractActionHandler.java365 if (mSearchMgr.isSearching()) { in openContainerDocument()
891 if (mSearchMgr.isSearching()) { in onCreateLoader()
928 Uri contentsUri = mSearchMgr.isSearching() in onCreateLoader()
937 final Bundle queryArgs = mSearchMgr.isSearching() in onCreateLoader()
DBaseActivity.java222 if (mSearchManager.isSearching()) { in onCreate()
624 && !mSearchManager.isSearching() in canCreateDirectory()
767 if (isInRecents() || mSearchManager.isSearching()) { in reloadDocumentsIfNeeded()
840 boolean isGlobalSearch = mSearchManager.isSearching() || mState.stack.size() > 1; in getHeaderRecentTitle()
DMetrics.java359 result.isSearching(), in logPickResult()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DAbstractActionHandlerTest.java153 mEnv.searchViewManager.isSearching = true; in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation()
175 mEnv.searchViewManager.isSearching = true; in testOpensContainerDocuments_ClickFolderInSearch_PushToRootDoc_NoFindPathSupport()
197 mEnv.searchViewManager.isSearching = true; in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DFilesActivity.java282 if (mSearchManager.isSearching()) { in onPostCreate()
357 assert (!mSearchManager.isSearching()); in refreshDirectory()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryFragment.java1523 return mInjector.searchManager.isSearching(); in isInSearchMode()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java1722 if (mAppsView.isSearching()) {