Home
last modified time | relevance | path

Searched refs:taskFragmentBounds (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/window/
DActivityWindowInfo.java53 @NonNull Rect taskFragmentBounds) { in set() argument
56 mTaskFragmentBounds.set(taskFragmentBounds); in set()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DTaskContainer.java207 int getWindowingModeForTaskFragment(@Nullable Rect taskFragmentBounds) { in getWindowingModeForTaskFragment() argument
210 if (taskFragmentBounds == null || taskFragmentBounds.isEmpty() || isInPictureInPicture()) { in getWindowingModeForTaskFragment()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskFragmentTest.java354 final Rect taskFragmentBounds = new Rect(0, 0, 300, 1000); in testEmbeddedTaskFragmentEnterPip_singleActivity_resetOrganizerOverrideConfig() local
357 taskFragment0.setBounds(taskFragmentBounds); in testEmbeddedTaskFragmentEnterPip_singleActivity_resetOrganizerOverrideConfig()
364 assertEquals(taskFragmentBounds, activity.getBounds()); in testEmbeddedTaskFragmentEnterPip_singleActivity_resetOrganizerOverrideConfig()
872 final Rect taskFragmentBounds = mTaskFragment.getBounds(); in testGetDimBounds() local
886 assertEquals(taskFragmentBounds, dimBounds); in testGetDimBounds()
DRootWindowContainerTests.java494 final Rect taskFragmentBounds = new Rect(0, 0, 400, 1000); in testMovingEmbeddedActivityToPip() local
502 .setBounds(taskFragmentBounds) in testMovingEmbeddedActivityToPip()
504 assertEquals(taskFragmentBounds, taskFragment.getBounds()); in testMovingEmbeddedActivityToPip()
515 assertEquals(taskFragmentBounds, pinnedRootTask.getBounds()); in testMovingEmbeddedActivityToPip()
DTaskFragmentOrganizerControllerTest.java1762 final Rect taskFragmentBounds = new Rect(250, 0, 750, 1000); in testUntrustedEmbedding_setRelativeBounds_adjustToTaskBounds() local
1763 mTransaction.setRelativeBounds(token, taskFragmentBounds); in testUntrustedEmbedding_setRelativeBounds_adjustToTaskBounds()
1769 assertEquals(taskFragmentBounds, mTaskFragment.getRelativeEmbeddedBounds()); in testUntrustedEmbedding_setRelativeBounds_adjustToTaskBounds()
1776 assertEquals(taskFragmentBounds, mTaskFragment.getBounds()); in testUntrustedEmbedding_setRelativeBounds_adjustToTaskBounds()
DActivityRecordTests.java3055 final Rect taskFragmentBounds = new Rect(100, 400, 300, 800); in testTransitionAnimationBounds_returnTaskFragment() local
3061 taskFragment.getWindowConfiguration().setBounds(taskFragmentBounds); in testTransitionAnimationBounds_returnTaskFragment()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java883 final Rect taskFragmentBounds = new Rect(0, 0, 1000, 1000); in testActivityWindowInfoChanged_activityConfigurationChanged() local
885 activityWindowInfo.set(true /* isEmbedded */, taskBounds, taskFragmentBounds); in testActivityWindowInfoChanged_activityConfigurationChanged()