Home
last modified time | relevance | path

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

12

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DLegacySizeSpecSource.kt68 val shorterLength: Int = Math.min(getDisplayBounds().width(), in getMaxSize()
69 getDisplayBounds().height()) in getMaxSize()
71 (getDisplayBounds().width() - insetBounds.right)) in getMaxSize()
73 (getDisplayBounds().height() - insetBounds.bottom)) in getMaxSize()
92 val smallestDisplaySize: Int = Math.min(getDisplayBounds().width(), in getDefaultSize()
93 getDisplayBounds().height()) in getDefaultSize()
126 val shorterLength: Int = Math.min(getDisplayBounds().width(), in getMinSize()
127 getDisplayBounds().height()) in getMinSize()
159 private fun getDisplayBounds() = pipDisplayLayoutState.displayBounds in getDisplayBounds() method
DPipDisplayLayoutState.java106 public Rect getDisplayBounds() { in getDisplayBounds() method in PipDisplayLayoutState
139 pw.println(innerPrefix + "getDisplayBounds=" + getDisplayBounds()); in dump()
DPipBoundsState.java344 public Rect getDisplayBounds() { in getDisplayBounds() method in PipBoundsState
345 return mPipDisplayLayoutState.getDisplayBounds(); in getDisplayBounds()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
DPipTouchHandlerTest.java136 mInsetBounds = new Rect(mPipBoundsState.getDisplayBounds().left + INSET, in setUp()
137 mPipBoundsState.getDisplayBounds().top + INSET, in setUp()
138 mPipBoundsState.getDisplayBounds().right - INSET, in setUp()
139 mPipBoundsState.getDisplayBounds().bottom - INSET); in setUp()
141 mPipBounds = new Rect(mPipBoundsState.getDisplayBounds().right - INSET - PIP_LENGTH, in setUp()
142 mPipBoundsState.getDisplayBounds().bottom - INSET - PIP_LENGTH, in setUp()
143 mPipBoundsState.getDisplayBounds().right - INSET, in setUp()
144 mPipBoundsState.getDisplayBounds().bottom - INSET); in setUp()
159 final int shorterLength = Math.min(mPipBoundsState.getDisplayBounds().width(), in updateMovementBounds_minMaxBounds()
160 mPipBoundsState.getDisplayBounds().height()); in updateMovementBounds_minMaxBounds()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/
DShowPipAndRotateDisplay.kt63 private val screenBoundsStart = WindowUtils.getDisplayBounds(flicker.scenario.startRotation)
64 private val screenBoundsEnd = WindowUtils.getDisplayBounds(flicker.scenario.endRotation)
DSetRequestedOrientationWhilePinned.kt52 private val startingBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_0)
53 private val endingBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_90)
DEnterPipToOtherOrientation.kt73 private val startingBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_90)
74 private val endingBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_0)
DMovePipOnImeVisibilityChangeTest.kt68 val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.startRotation) in pipInVisibleBounds()
DFromSplitScreenAutoEnterPipOnGoToHomeTest.kt67 private val portraitDisplayBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_0)
DFromSplitScreenEnterPipOnUserLeaveHintTest.kt68 private val portraitDisplayBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_0)
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/apps/
DYouTubeEnterPipToOtherOrientationTest.kt67 private val startingBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_90)
68 private val endingBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_0)
DNetflixEnterPipTest.kt65 private val startingBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_90)
66 private val endingBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_0)
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/utils/
DCommonAssertions.kt263 val displayBounds = WindowUtils.getDisplayBounds(rotation) in LayerTraceEntrySubject()
421 val displayBounds = WindowUtils.getDisplayBounds(rotation) in getPrimaryRegion()
440 val displayBounds = WindowUtils.getDisplayBounds(rotation) in getSecondaryRegion()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/appcompat/src/com/android/wm/shell/flicker/appcompat/
DRepositionFixedPortraitAppTest.kt56 val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.startRotation)
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipMotionHelper.java431 ? mPipBoundsState.getDisplayBounds().right - mPipBoundsState.getStashOffset() in movetoTarget()
505 mPipBoundsState.getDisplayBounds(),
527 : mPipBoundsState.getDisplayBounds().right
581 mPipBoundsState.getDisplayBounds().right - mPipBoundsState.getStashOffset()
DPipController.java664 final Rect displayBounds = mPipBoundsState.getDisplayBounds(); in onInit()
821 mPipDisplayLayoutState.getDisplayBounds(), in onDisplayChangedUncheck()
924 0, mPipBoundsState.getDisplayBounds().bottom - height, in setLauncherKeepClearAreaHeight()
925 mPipBoundsState.getDisplayBounds().right, in setLauncherKeepClearAreaHeight()
926 mPipBoundsState.getDisplayBounds().bottom); in setLauncherKeepClearAreaHeight()
1164 mPipDisplayLayoutState.getDisplayBounds(), in onDisplayRotationChanged()
DPipTouchHandler.java744 final boolean onLeftEdge = pipBounds.left < mPipBoundsState.getDisplayBounds().left; in animateToUnStashedState()
993 motionBounds.left < mPipBoundsState.getDisplayBounds().left - offset;
995 motionBounds.right > mPipBoundsState.getDisplayBounds().right + offset;
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipMotionHelper.java423 ? mPipBoundsState.getDisplayBounds().right - mPipBoundsState.getStashOffset() in movetoTarget()
497 mPipBoundsState.getDisplayBounds(),
519 : mPipBoundsState.getDisplayBounds().right
575 mPipBoundsState.getDisplayBounds().right - mPipBoundsState.getStashOffset()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/common/
DPipTransition.kt37 protected val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.startRotation) in <lambda>()
/frameworks/base/tests/FlickerTests/IME/src/com/android/server/wm/flicker/ime/
DOpenImeWindowToFixedPortraitAppTest.kt96 val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.startRotation) in appWindowWithLetterboxCoversExactlyOnScreen()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/splitscreen/src/com/android/wm/shell/flicker/splitscreen/
DDismissSplitScreenByDivider.kt85 val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.endRotation) in splitScreenDividerBecomesInvisible()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/splitscreen/src/com/android/wm/shell/flicker/splitscreen/benchmark/
DSwitchAppByDoubleTapDividerBenchmark.kt130 val displayBounds = WindowUtils.getDisplayBounds(rotation) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/service/src/com/android/wm/shell/flicker/service/splitscreen/scenarios/
DSwitchAppByDoubleTapDivider.kt143 val displayBounds = WindowUtils.getDisplayBounds(rotation) in <lambda>()
/frameworks/base/tests/FlickerTests/AppLaunch/src/com/android/server/wm/flicker/launch/
DTaskTransitionTest.kt129 val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.startRotation) in transitionHasColorBackground()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ambient/touch/
DTouchMonitorTest.java178 public Rect getDisplayBounds() { in getDisplayBounds() method in TouchMonitorTest.Environment
250 eq(environment.getDisplayBounds()), any(), any()); in testReportedDisplayBounds()
257 .isEqualTo(environment.getDisplayBounds()); in testReportedDisplayBounds()

12