Home
last modified time | relevance | path

Searched refs:HOME (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDragAndDropManagerTests.java153 TestProvidersAccess.HOME, in testStartDrag_SetsCorrectClipData()
168 TestProvidersAccess.HOME, in testStartDrag_SetsCorrectClipData_NullParent()
183 TestProvidersAccess.HOME, in testStartDrag_BuildsCorrectShadow_SingleDoc()
198 TestProvidersAccess.HOME, in testStartDrag_BuildsCorrectShadow_MultipleDocs()
215 TestProvidersAccess.HOME, in testCanSpringOpen_ReturnsFalse_RootNotSupportCreate()
231 TestProvidersAccess.HOME, in testInArchiveUris_HasCorrectFlagPermission()
245 TestProvidersAccess.HOME, in testCanSpringOpen_ReturnsFalse_DocIsInvalidDestination()
260 TestProvidersAccess.HOME, in testCanSpringOpen()
275 TestProvidersAccess.HOME, in testDefaultToUnknownState()
290 TestProvidersAccess.HOME, in testUpdateStateToNotAllowed()
[all …]
DAbstractActionHandlerTest.java124 TestProvidersAccess.HOME.rootId, in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation()
168 TestProvidersAccess.HOME.rootId, in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider()
203 TestProvidersAccess.HOME.rootId, in testLaunchToDocuments()
216 DocumentStackAsserts.assertEqualsTo(mEnv.state.stack, TestProvidersAccess.HOME, in testLaunchToDocuments()
229 TestProvidersAccess.HOME.rootId, in testLaunchToDocuments_convertsTreeUriToDocumentUri()
238 TestProvidersAccess.HOME.authority, TestEnv.FOLDER_0.documentId); in testLaunchToDocuments_convertsTreeUriToDocumentUri()
245 DocumentStackAsserts.assertEqualsTo(mEnv.state.stack, TestProvidersAccess.HOME, in testLaunchToDocuments_convertsTreeUriToDocumentUri()
253 mEnv.state.stack.changeRoot(TestProvidersAccess.HOME); in testLoadChildrenDocuments()
259 mEnv.mockProviders.get(TestProvidersAccess.HOME.authority) in testLoadChildrenDocuments()
276 mEnv.state.stack.changeRoot(TestProvidersAccess.HOME); in testLoadChildrenDocuments_failsWithNonRecentsAndEmptyStack()
[all …]
DRecentsLoaderTests.java82 mEnv.mockProviders.get(TestProvidersAccess.HOME.authority) in testDocumentsNotIncludeDirectory()
98 mEnv.mockProviders.get(TestProvidersAccess.HOME.authority) in testDocumentsNotMovable()
125 mEnv.mockProviders.get(TestProvidersAccess.HOME.authority) in testContentsUpdate_observable()
130 TestCursor c = (TestCursor) mEnv.mockProviders.get(TestProvidersAccess.HOME.authority) in testContentsUpdate_observable()
DGlobalSearchLoaderTest.java73 mEnv.mockProviders.get(TestProvidersAccess.HOME.authority) in setUp()
76 TestProvidersAccess.HOME.flags |= DocumentsContract.Root.FLAG_SUPPORTS_SEARCH; in setUp()
82 TestProvidersAccess.HOME.flags &= ~DocumentsContract.Root.FLAG_SUPPORTS_SEARCH; in tearDown()
146 mEnv.mockProviders.get(TestProvidersAccess.HOME.authority) in testSearchResult_includeDirectory()
184 mEnv.mockProviders.get(TestProvidersAccess.HOME.authority) in testSearchResult_includeSearchString()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestProvidersAccess.java37 public static final RootInfo HOME; field in TestProvidersAccess
61 HOME = new RootInfo();
62 HOME.authority = Providers.AUTHORITY_STORAGE;
63 HOME.rootId = Providers.ROOT_ID_HOME;
64 HOME.title = "Home";
65 HOME.derivedType = RootInfo.TYPE_LOCAL;
66 HOME.flags = Root.FLAG_LOCAL_ONLY
128 add(HOME); in TestProvidersAccess()
142 pm.addStubContentProviderForRoot(TestProvidersAccess.HOME); in configurePm()
DTestEnv.java117 return create(features, TestProvidersAccess.HOME.authority); in create()
121 return create(TestProvidersAccess.HOME.authority); in create()
178 ModelId.build(TestProvidersAccess.HOME.authority, "1")); in populateStack()
185 state.stack.changeRoot(TestProvidersAccess.HOME); in populateStack()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java162 …mActivity.resources.strings.put(R.string.default_root_uri, TestProvidersAccess.HOME.getUri().toStr… in testInitLocation_CopyDestination_DocumentsRootEnabled()
167 assertRootPicked(TestProvidersAccess.HOME.getUri()); in testInitLocation_CopyDestination_DocumentsRootEnabled()
178 TestProvidersAccess.HOME.rootId, in testInitLocation_LaunchToDocuments()
194 DocumentStackAsserts.assertEqualsTo(mEnv.state.stack, TestProvidersAccess.HOME, in testInitLocation_LaunchToDocuments()
244 mEnv.state.stack.changeRoot(TestProvidersAccess.HOME); in testIncreasePickCountRecordCalled()
263 mEnv.state.stack.changeRoot(TestProvidersAccess.HOME); in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination()
289 mEnv.state.stack.changeRoot(TestProvidersAccess.HOME); in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree()
310 TestProvidersAccess.HOME.authority, TestEnv.FOLDER_2.documentId)); in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree()
318 mEnv.state.stack.changeRoot(TestProvidersAccess.HOME); in testSaveDocument_SetsCorrectResultAndFinishes()
351 mEnv.state.stack.changeRoot(TestProvidersAccess.HOME); in testSaveDocument_ConfirmsOverwrite()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java296 mActivity.currentRoot = TestProvidersAccess.HOME; in testDocumentPicked_DefaultsToView()
306 mActivity.currentRoot = TestProvidersAccess.HOME; in testDocumentPicked_InArchive_QuickViewable()
315 mActivity.currentRoot = TestProvidersAccess.HOME; in testDocumentPicked_InArchive_Unopenable()
325 mActivity.currentRoot = TestProvidersAccess.HOME; in testDocumentPicked_PreviewsWhenResourceSet()
364 mActivity.currentRoot = TestProvidersAccess.HOME; in testDocumentPicked_Home_SendsActionViewForApks()
373 mActivity.currentRoot = TestProvidersAccess.HOME; in testDocumentPicked_OpensArchives()
384 mActivity.currentRoot = TestProvidersAccess.HOME; in testDocumentPicked_OpensDirectories()
453 TestProvidersAccess.HOME.getUri().toString()); in testInitLocation_DocumentsRootEnabled()
456 assertRootPicked(TestProvidersAccess.HOME.getUri()); in testInitLocation_DocumentsRootEnabled()
475 TestProvidersAccess.HOME.getUri().toString()); in testInitLocation_BrowseRootWrongAuthority_ShowDefault()
[all …]
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DWindowTransformSwipeHandler.java31 import static com.android.quickstep.WindowTransformSwipeHandler.GestureEndTarget.HOME;
152 HOME(1, STATE_SCALED_CONTROLLER_HOME | STATE_CAPTURE_SCREENSHOT, true, false, enumConstant
340 return mGestureEndTarget != HOME; in moveWindowWithRecentsScroll()
353 if (mGestureEndTarget != HOME) { in onLauncherStart()
514 if (mGestureEndTarget == HOME || mHasLauncherTransitionControllerStarted) { in buildAnimationController()
575 if (mGestureEndTarget == HOME) { in updateLauncherTransitionProgress()
674 endRunningWindowAnim(mGestureEndTarget == HOME /* cancel */);
723 endTarget = !reachedOverviewThreshold ? LAST_TASK : HOME;
739 endTarget = HOME;
810 if (endTarget == HOME) { in handleNormalGestureEnd()
[all …]
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/
DToolbarControllerImpl.java93 private Toolbar.State mState = Toolbar.State.HOME;
632 mNavIcon.setVisibility(state != Toolbar.State.HOME ? VISIBLE : GONE); in setState()
637 && state == Toolbar.State.HOME in setState()
645 || (state == Toolbar.State.HOME && !mLogoFillsNavIconSpace)) in setState()
652 state != Toolbar.State.HOME || (mHasLogo && mLogoFillsNavIconSpace) in setState()
655 state != Toolbar.State.HOME ? backClickListener : null); in setState()
656 mNavIconContainer.setClickable(state != Toolbar.State.HOME); in setState()
659 && (state == Toolbar.State.HOME in setState()
663 mTitle.setVisibility((state == Toolbar.State.SUBPAGE || state == Toolbar.State.HOME) in setState()
DToolbar.java104 HOME, enumConstant
162 setState(State.HOME); in Toolbar()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DFallbackNoButtonInputConsumer.java22 …rt static com.android.quickstep.inputconsumers.FallbackNoButtonInputConsumer.GestureEndTarget.HOME;
84 HOME(3, 100, 1), enumConstant
260 mEndTarget = endVelocity < 0 ? HOME : LAST_TASK; in onGestureEnded()
264 mEndTarget = mCurrentShift.value >= MIN_PROGRESS_FOR_OVERVIEW ? HOME : LAST_TASK; in onGestureEnded()
317 case HOME: { in finishAnimationTargetSetAnimationComplete()
393 if (mEndTarget == HOME && !mRunningOverHome) { in finishAnimationTargetSet()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DDialerBaseFragment.java88 toolbar.setLogo(getToolbarState() == Toolbar.State.HOME ? getActivity().getDrawable( in setupToolbar()
109 return Toolbar.State.HOME; in getToolbarState()
125 int toolbarHeight = toolbar.isTabsInSecondRow() && getToolbarState() == Toolbar.State.HOME in setToolbarHeight()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DPredictionAppTracker.java144 mHomeAppPredictor = createPredictor(Client.HOME, count); in handleMessage()
161 if (Client.HOME.id.equals(client)) { in handleMessage()
176 String client = Client.HOME.id; in onReturnedToHome()
DPredictionUiStateManager.java75 HOME("home"), enumConstant
108 mActiveClient = Client.HOME; in PredictionUiStateManager()
/packages/apps/Car/libs/car-ui-lib/tests/robotests/src/com/android/car/ui/toolbar/
DToolbarTest.java61 assertThat(mToolbar.getState()).isEquivalentAccordingToCompareTo(Toolbar.State.HOME); in getters_nochanges_shouldReturnDefaults()
93 mToolbar.setState(Toolbar.State.HOME); in showLogo_whenSet_andStateIsHome()
109 toolbar.setState(Toolbar.State.HOME); in hideLogo_andTitleLogo_whenSet_andStateIsHome_andLogoIsDisabled()
133 mToolbar.setState(Toolbar.State.HOME); in hideLogo_andTitleLogo_whenNotSet_andStateIsHome()
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/
DLensResolverActivity.java156 ActionTitle title = mResolvingHome ? ActionTitle.HOME : ActionTitle.forAction(action); in getTitleForAction()
339 HOME(Intent.ACTION_MAIN, enumConstant
363 if (title != HOME && action != null && action.equals(title.action)) { in forAction()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DCrossProfileIntentFiltersSetterTest.java74 CrossProfileIntentFiltersSetter.HOME.filter, in testSetFilters()
76 CrossProfileIntentFiltersSetter.HOME.flags); in testSetFilters()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/
DStatsLogCompatManager.java20 import static android.stats.launcher.nano.Launcher.HOME;
240 StatsLogUtils.LAUNCHER_STATE_HOME == HOME)) { in verify()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DCrossProfileIntentFiltersSetter.java144 static final CrossProfileIntentFilter HOME = field in CrossProfileIntentFiltersSetter
251 HOME,
/packages/apps/Car/libs/car-ui-lib/tests/paintbooth/src/com/android/car/ui/paintbooth/toolbar/
DToolbarActivity.java245 toolbar.setState(Toolbar.State.HOME); in onCreate()
246 } else if (toolbar.getState() == Toolbar.State.HOME) { in onCreate()
/packages/apps/Car/libs/car-ui-lib/
Dgradlew168 if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
/packages/apps/Car/tests/
Dgradlew168 if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
/packages/apps/Car/libs/car-ui-lib/tests/paintbooth/
Dgradlew168 if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DAppPredictionsUITests.java74 Client.HOME); in setUp()

12