Searched refs:pinnedActivity (Results 1 – 4 of 4) sorted by relevance
694 final ActivityRecord pinnedActivity = new ActivityBuilder(mAtm) in testFocusability() local699 assertFalse(pinnedActivity.isFocusable()); in testFocusability()702 pinnedActivity.info.flags |= FLAG_ALWAYS_FOCUSABLE; in testFocusability()706 assertTrue(pinnedActivity.isFocusable()); in testFocusability()
1768 final ActivityRecord pinnedActivity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testFixedRotationWithPip() local1769 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()
478 final ActivityRecord pinnedActivity = new ActivityBuilder(mAtm) in testShouldBeVisible_Fullscreen() local774 final ActivityRecord pinnedActivity = new ActivityBuilder(mAtm) in testGetVisibility_FullscreenBehindTranslucentAndPip() local
1041 final Activity pinnedActivity = createMockActivity(); in testResolveActivityToContainer_skipIfNonTopOrPinned() local1043 createTfContainer(mSplitController, pinnedActivity); in testResolveActivityToContainer_skipIfNonTopOrPinned()1050 assertTrue(mSplitController.resolveActivityToContainer(mTransaction, pinnedActivity, in testResolveActivityToContainer_skipIfNonTopOrPinned()