Searched refs:taskFragmentBounds (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/window/ |
D | ActivityWindowInfo.java | 53 @NonNull Rect taskFragmentBounds) { in set() argument 56 mTaskFragmentBounds.set(taskFragmentBounds); in set()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/ |
D | TaskContainer.java | 207 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/ |
D | TaskFragmentTest.java | 354 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()
|
D | RootWindowContainerTests.java | 494 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()
|
D | TaskFragmentOrganizerControllerTest.java | 1762 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()
|
D | ActivityRecordTests.java | 3055 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/ |
D | ActivityThreadTest.java | 883 final Rect taskFragmentBounds = new Rect(0, 0, 1000, 1000); in testActivityWindowInfoChanged_activityConfigurationChanged() local 885 activityWindowInfo.set(true /* isEmbedded */, taskBounds, taskFragmentBounds); in testActivityWindowInfoChanged_activityConfigurationChanged()
|