/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/ |
H A D | PipTouchHandlerTest.java | 132 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 D | LegacySizeSpecSource.kt | 68 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 D | PipDisplayLayoutState.java | 106 public Rect getDisplayBounds() { in getDisplayBounds() method in PipDisplayLayoutState 133 pw.println(innerPrefix + "getDisplayBounds=" + getDisplayBounds()); in dump()
|
H A D | PipBoundsState.java | 306 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 D | ShowPipAndRotateDisplay.kt | 64 private val screenBoundsStart = WindowUtils.getDisplayBounds(flicker.scenario.startRotation) 65 private val screenBoundsEnd = WindowUtils.getDisplayBounds(flicker.scenario.endRotation)
|
H A D | SetRequestedOrientationWhilePinned.kt | 51 private val startingBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_0) 52 private val endingBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_90)
|
H A D | EnterPipToOtherOrientation.kt | 74 private val startingBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_90) 75 private val endingBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_0)
|
H A D | MovePipOnImeVisibilityChangeTest.kt | 66 val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.startRotation)
|
H A D | PipTransition.kt | 37 protected val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.startRotation)
|
H A D | AutoEnterPipFromSplitScreenOnGoToHomeTest.kt | 67 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 D | CommonAssertions.kt | 263 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 D | PipMotionHelper.java | 414 ? mPipBoundsState.getDisplayBounds().right - mPipBoundsState.getStashOffset() in movetoTarget() 488 mPipBoundsState.getDisplayBounds(), 510 : mPipBoundsState.getDisplayBounds().right 564 mPipBoundsState.getDisplayBounds().right - mPipBoundsState.getStashOffset()
|
H A D | PipController.java | 659 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 D | PipTouchHandler.java | 739 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 D | RepositionFixedPortraitAppTest.kt | 56 val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.startRotation).bounds
|
H A D | RestartAppInSizeCompatModeTest.kt | 86 val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.endRotation)
|
/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/ime/ |
H A D | OpenImeWindowToFixedPortraitAppTest.kt | 91 val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.startRotation)
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/splitscreen/ |
H A D | DismissSplitScreenByDivider.kt | 85 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 D | SwitchAppByDoubleTapDividerBenchmark.kt | 122 val displayBounds = WindowUtils.getDisplayBounds(rotation)
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/service/splitscreen/scenarios/ |
H A D | SwitchAppByDoubleTapDivider.kt | 142 val displayBounds = WindowUtils.getDisplayBounds(rotation)
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
H A D | PipTransition.java | 441 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 D | PipTaskOrganizer.java | 639 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 D | DreamOverlayTouchMonitorTest.java | 128 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 D | TaskTransitionTest.kt | 125 val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.startRotation)
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
H A D | TvPipBoundsAlgorithm.java | 137 final Rect displayBounds = mTvPipBoundsState.getDisplayBounds(); in getTvPipPlacement()
|