Home
last modified time | relevance | path

Searched refs:supportsCrossProfile (Results 1 – 20 of 20) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DState.java92 public boolean supportsCrossProfile = false; field in State
162 public boolean supportsCrossProfile() { in supportsCrossProfile() method in State
163 return supportsCrossProfile; in supportsCrossProfile()
DRootInfo.java419 public boolean supportsCrossProfile() { in supportsCrossProfile() method in RootInfo
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DGlobalSearchLoaderTest.java110 mEnv.state.supportsCrossProfile = true; in testCrossProfileRoot_notInTextSearch_beIgnored()
119 mEnv.state.supportsCrossProfile = true; in testCrossProfileRoot_inTextSearch_beIncluded()
271 mEnv.state.supportsCrossProfile = true; in testSearchResult_includeCurrentUserRootOnly()
305 mEnv.state.supportsCrossProfile = true; in testSearchResult_includeBothUsersRoots()
339 mEnv.state.supportsCrossProfile = true; in testSearchResult_emptyCurrentUsersRoot()
DProfileTabsTest.java68 mState.supportsCrossProfile = true; in setUp()
110 mState.supportsCrossProfile = false; in testUpdateView_twoUsers_doesNotSupportCrossProfile_shouldHide()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DGlobalSearchLoader.java75 if (mState.supportsCrossProfile() && root.supportsCrossProfile() in shouldIgnoreRoot()
DProfileTabs.java141 return mState.supportsCrossProfile() in shouldShow()
145 && mState.stack.getRoot() != null && mState.stack.getRoot().supportsCrossProfile(); in shouldShow()
DHorizontalBreadcrumb.java202 if (mState.supportsCrossProfile() in getItemCount()
205 && mState.stack.getRoot().supportsCrossProfile()) { in getItemCount()
DDirectoryLoader.java214 return mState.supportsCrossProfile() in shouldSearchAcrossProfile()
215 && mRoot.supportsCrossProfile() in shouldSearchAcrossProfile()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DAppsRowManagerTest.java238 mState.supportsCrossProfile = true; in testUpdateView_crossProfileSearch_hideRow()
259 mState.supportsCrossProfile = true; in testUpdateView_notCrossProfileSearch_showRow()
280 mState.supportsCrossProfile = true; in testUpdateView_noItemsOnSelectedUser_hideRow()
DInflateMessageDocumentHolderTest.java55 env.getDisplayState().supportsCrossProfile = true; in setUp()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickActivity.java148 mAppsRowManager = new AppsRowManager(mInjector.actions, mState.supportsCrossProfile(), in onCreate()
218 if (mState.supportsCrossProfile() in setupLayout()
272 state.supportsCrossProfile = true; in includeState()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootsFragment.java263 getBaseActivity().getDisplayState().supportsCrossProfile(); in onActivityCreated()
268 if (state.supportsCrossProfile() && handlerAppIntent != null) { in onActivityCreated()
519 if (state.supportsCrossProfile() && state.canShareAcrossProfile) { in includeHandlerApps()
DRootItemListBuilder.java85 if (!testRootItem.root.supportsCrossProfile()) { in getRootItemForSelectedUser()
DUserItemsCombiner.java76 if (mState.supportsCrossProfile() && mState.canShareAcrossProfile) { in createPresentableList()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DProvidersAccess.java116 if (!UserId.CURRENT_USER.equals(root.userId) && !state.supportsCrossProfile()) { in getMatchingRoots()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DAppsRowManager.java93 && state.supportsCrossProfile() in shouldShow()
DDirectoryFragment.java408 if (mState.supportsCrossProfile()) { in onDestroyView()
447 mIconHelper = new IconHelper(mActivity, MODE_GRID, mState.supportsCrossProfile()); in onActivityCreated()
571 if (mState.supportsCrossProfile()) { in onActivityCreated()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sidebar/
DUserItemsCombinerTest.java77 mState.supportsCrossProfile = true; in setUp()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/roots/
DProvidersAccessTest.java136 mState.supportsCrossProfile = true; in testMatchingRoots_FlacOrPng_crossProfile()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DFilesActivity.java160 mAppsRowManager = new AppsRowManager(mInjector.actions, mState.supportsCrossProfile(), in onCreate()