Home
last modified time | relevance | path

Searched refs:pinnedActivity (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRootWindowContainerTests.java694 final ActivityRecord pinnedActivity = new ActivityBuilder(mAtm) in testFocusability() local
699 assertFalse(pinnedActivity.isFocusable()); in testFocusability()
702 pinnedActivity.info.flags |= FLAG_ALWAYS_FOCUSABLE; in testFocusability()
706 assertTrue(pinnedActivity.isFocusable()); in testFocusability()
DDisplayContentTests.java1768 final ActivityRecord pinnedActivity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testFixedRotationWithPip() local
1769 final Task pinnedTask = pinnedActivity.getRootTask(); in testFixedRotationWithPip()
1791 .rotationForActivityInDifferentOrientation(eq(pinnedActivity)); in testFixedRotationWithPip()
1794 pinnedActivity.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testFixedRotationWithPip()
1801 assertEquals(pinnedActivity.getConfiguration().orientation, in testFixedRotationWithPip()
1806 pinnedActivity.setOverrideOrientation(SCREEN_ORIENTATION_LANDSCAPE); in testFixedRotationWithPip()
1809 displayContent.rotationForActivityInDifferentOrientation(pinnedActivity)); in testFixedRotationWithPip()
DRootTaskTests.java478 final ActivityRecord pinnedActivity = new ActivityBuilder(mAtm) in testShouldBeVisible_Fullscreen() local
774 final ActivityRecord pinnedActivity = new ActivityBuilder(mAtm) in testGetVisibility_FullscreenBehindTranslucentAndPip() local
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/
DSplitControllerTest.java1041 final Activity pinnedActivity = createMockActivity(); in testResolveActivityToContainer_skipIfNonTopOrPinned() local
1043 createTfContainer(mSplitController, pinnedActivity); in testResolveActivityToContainer_skipIfNonTopOrPinned()
1050 assertTrue(mSplitController.resolveActivityToContainer(mTransaction, pinnedActivity, in testResolveActivityToContainer_skipIfNonTopOrPinned()