Home
last modified time | relevance | path

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

/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
H A DPipTouchHandlerTest.java132 mInsetBounds = new Rect(mPipBoundsState.getDisplayBounds().left + INSET, in setUp()
133 mPipBoundsState.getDisplayBounds().top + INSET, in setUp()
134 mPipBoundsState.getDisplayBounds().right - INSET, in setUp()
135 mPipBoundsState.getDisplayBounds().bottom - INSET); in setUp()
137 mPipBounds = new Rect(mPipBoundsState.getDisplayBounds().right - INSET - PIP_LENGTH, in setUp()
138 mPipBoundsState.getDisplayBounds().bottom - INSET - PIP_LENGTH, in setUp()
139 mPipBoundsState.getDisplayBounds().right - INSET, in setUp()
140 mPipBoundsState.getDisplayBounds().bottom - INSET); in setUp()
155 final int shorterLength = Math.min(mPipBoundsState.getDisplayBounds().width(), in updateMovementBounds_minMaxBounds()
156 mPipBoundsState.getDisplayBounds().height()); in updateMovementBounds_minMaxBounds()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
H A DLegacySizeSpecSource.kt68 val shorterLength: Int = Math.min(getDisplayBounds().width(),
69 getDisplayBounds().height())
71 (getDisplayBounds().width() - insetBounds.right))
73 (getDisplayBounds().height() - insetBounds.bottom))
92 val smallestDisplaySize: Int = Math.min(getDisplayBounds().width(),
93 getDisplayBounds().height())
126 val shorterLength: Int = Math.min(getDisplayBounds().width(),
127 getDisplayBounds().height())
159 private fun getDisplayBounds() = pipDisplayLayoutState.displayBounds regex
H A DPipDisplayLayoutState.java106 public Rect getDisplayBounds() { in getDisplayBounds() method in PipDisplayLayoutState
133 pw.println(innerPrefix + "getDisplayBounds=" + getDisplayBounds()); in dump()
H A DPipBoundsState.java306 public Rect getDisplayBounds() { in getDisplayBounds() method in PipBoundsState
307 return mPipDisplayLayoutState.getDisplayBounds(); in getDisplayBounds()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/
H A DShowPipAndRotateDisplay.kt64 private val screenBoundsStart = WindowUtils.getDisplayBounds(flicker.scenario.startRotation)
65 private val screenBoundsEnd = WindowUtils.getDisplayBounds(flicker.scenario.endRotation)
H A DSetRequestedOrientationWhilePinned.kt51 private val startingBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_0)
52 private val endingBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_90)
H A DEnterPipToOtherOrientation.kt74 private val startingBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_90)
75 private val endingBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_0)
H A DMovePipOnImeVisibilityChangeTest.kt66 val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.startRotation)
H A DPipTransition.kt37 protected val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.startRotation)
H A DAutoEnterPipFromSplitScreenOnGoToHomeTest.kt67 private val portraitDisplayBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_0)
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/utils/
H A DCommonAssertions.kt263 val displayBounds = WindowUtils.getDisplayBounds(rotation)
420 val displayBounds = WindowUtils.getDisplayBounds(rotation)
439 val displayBounds = WindowUtils.getDisplayBounds(rotation)
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPipMotionHelper.java414 ? mPipBoundsState.getDisplayBounds().right - mPipBoundsState.getStashOffset() in movetoTarget()
488 mPipBoundsState.getDisplayBounds(),
510 : mPipBoundsState.getDisplayBounds().right
564 mPipBoundsState.getDisplayBounds().right - mPipBoundsState.getStashOffset()
H A DPipController.java659 final Rect displayBounds = mPipBoundsState.getDisplayBounds(); in onInit()
822 mPipDisplayLayoutState.getDisplayBounds(), in onDisplayChangedUncheck()
925 0, mPipBoundsState.getDisplayBounds().bottom - height, in setLauncherKeepClearAreaHeight()
926 mPipBoundsState.getDisplayBounds().right, in setLauncherKeepClearAreaHeight()
927 mPipBoundsState.getDisplayBounds().bottom); in setLauncherKeepClearAreaHeight()
1159 mPipDisplayLayoutState.getDisplayBounds(), in onDisplayRotationChanged()
H A DPipTouchHandler.java739 final boolean onLeftEdge = pipBounds.left < mPipBoundsState.getDisplayBounds().left; in animateToUnStashedState()
971 motionBounds.left < mPipBoundsState.getDisplayBounds().left - offset;
973 motionBounds.right > mPipBoundsState.getDisplayBounds().right + offset;
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/appcompat/
H A DRepositionFixedPortraitAppTest.kt56 val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.startRotation).bounds
H A DRestartAppInSizeCompatModeTest.kt86 val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.endRotation)
/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/ime/
H A DOpenImeWindowToFixedPortraitAppTest.kt91 val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.startRotation)
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/splitscreen/
H A DDismissSplitScreenByDivider.kt85 val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.endRotation)
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/splitscreen/benchmark/
H A DSwitchAppByDoubleTapDividerBenchmark.kt122 val displayBounds = WindowUtils.getDisplayBounds(rotation)
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/service/splitscreen/scenarios/
H A DSwitchAppByDoubleTapDivider.kt142 val displayBounds = WindowUtils.getDisplayBounds(rotation)
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
H A DPipTransition.java441 final Rect displayBounds = mPipDisplayLayoutState.getDisplayBounds(); in onFinishResize()
600 mPipBoundsState.getDisplayBounds()); in startExitAnimation()
763 mPipDisplayLayoutState.getDisplayBounds()); in removePipImmediately()
966 final Rect displayBounds = mPipDisplayLayoutState.getDisplayBounds(); in computeEnterPipRotatedBounds()
1144 final Rect displayBounds = mPipDisplayLayoutState.getDisplayBounds(); in fadeExistingPip()
H A DPipTaskOrganizer.java639 return mPipBoundsState.getDisplayBounds(); in getExitDestinationBounds()
1258 && mPipBoundsState.getDisplayBounds().contains(currentDestinationBounds)) { in onMovementBoundsChanged()
1281 final Rect displayBounds = mPipBoundsState.getDisplayBounds(); in updateAnimatorBounds()
1782 final Rect displayBounds = mPipBoundsState.getDisplayBounds(); in computeRotatedBounds()
1796 rotateBounds(rotatedDestinationBounds, mPipBoundsState.getDisplayBounds(), in computeRotatedBounds()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/touch/
H A DDreamOverlayTouchMonitorTest.java128 public Rect getDisplayBounds() { in getDisplayBounds() method in DreamOverlayTouchMonitorTest.Environment
166 verify(touchHandler).getTouchInitiationRegion(eq(environment.getDisplayBounds()), any()); in testReportedDisplayBounds()
173 .isEqualTo(environment.getDisplayBounds()); in testReportedDisplayBounds()
/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/launch/
H A DTaskTransitionTest.kt125 val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.startRotation)
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
H A DTvPipBoundsAlgorithm.java137 final Rect displayBounds = mTvPipBoundsState.getDisplayBounds(); in getTvPipPlacement()