Home
last modified time | relevance | path

Searched refs:isRecents (Results 1 – 16 of 16) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDocumentStack.java164 if (root.isRecents()) { in changeRoot()
189 public boolean isRecents() { in isRecents() method in DocumentStack
190 return mRoot != null && mRoot.isRecents() && size() == 1; in isRecents()
DRootInfo.java277 } else if (isRecents()) { in deriveFields()
297 public boolean isRecents() { in isRecents() method in RootInfo
/packages/apps/DocumentsUI/src/com/android/documentsui/
DRootsMonitor.java123 if (!defaultRoot.isRecents()) { in run()
150 if (defaultRoot.isRecents()) { in finish()
DAbstractActionHandler.java730 if (info.isRecents()) { in loadCrossProfileRoot()
846 if (!mState.stack.getRoot().isRecents() && mState.stack.isEmpty()) { in restoreRootAndDirectory()
886 if (mState.stack.isRecents()) { in onCreateLoader()
DBaseActivity.java549 root.isRecents() || root.isDownloads() ? View.VISIBLE : View.INVISIBLE); in onRootPicked()
625 && !root.isRecents(); in canCreateDirectory()
934 return mState.stack.isRecents(); in isInRecents()
DHorizontalBreadcrumb.java198 if (mState.stack.isRecents()) { in getItemCount()
DNavigationViewManager.java347 return mState.stack.isRecents() && !mEnv.isSearchExpanded() && mShowSearchBar; in shouldShowSearchBar()
DMetrics.java437 if (root.isRecents()) { in sanitizeRoot()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DSearchViewManagerTest.java430 when(root.isRecents()).thenReturn(false); in testSupportsMimeTypesSearch_showChips()
443 when(root.isRecents()).thenReturn(false); in testNotSupportsMimeTypesSearch_notShowChips()
458 when(root.isRecents()).thenReturn(false); in testSupportsSearch_showMenu()
470 when(root.isRecents()).thenReturn(false); in testNotSupportsSearch_notShowMenuAndChips()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DProvidersAccess.java95 if (state.action == State.ACTION_OPEN_TREE && root.isRecents()) { in getMatchingRoots()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/base/
DDocumentStackTest.java199 assertEquals(true, mStack.isRecents()); in testIsRecent()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DAppsRowManager.java112 return state.stack.isRecents() && !isHiddenAction && mDataList.size() > 0 in shouldShow()
DDirectoryFragment.java625 boolean svelte = am.isLowRamDevice() && (mState.stack.isRecents()); in onActivityCreated()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DFilesActivity.java359 if (mState.stack.isRecents()) { in refreshDirectory()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchViewManager.java335 mMenuItem.setVisible(supportsSearch && (!stack.isRecents() || !mShowSearchBar)); in showMenu()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickActivity.java364 if (mState.stack.isRecents()) { in refreshDirectory()