/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | LegacySizeSpecSource.kt | 68 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
|
D | PipDisplayLayoutState.java | 106 public Rect getDisplayBounds() { in getDisplayBounds() method in PipDisplayLayoutState 139 pw.println(innerPrefix + "getDisplayBounds=" + getDisplayBounds()); in dump()
|
D | PipBoundsState.java | 344 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/ |
D | PipTouchHandlerTest.java | 136 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/ |
D | ShowPipAndRotateDisplay.kt | 63 private val screenBoundsStart = WindowUtils.getDisplayBounds(flicker.scenario.startRotation) 64 private val screenBoundsEnd = WindowUtils.getDisplayBounds(flicker.scenario.endRotation)
|
D | SetRequestedOrientationWhilePinned.kt | 52 private val startingBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_0) 53 private val endingBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_90)
|
D | EnterPipToOtherOrientation.kt | 73 private val startingBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_90) 74 private val endingBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_0)
|
D | MovePipOnImeVisibilityChangeTest.kt | 68 val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.startRotation) in pipInVisibleBounds()
|
D | FromSplitScreenAutoEnterPipOnGoToHomeTest.kt | 67 private val portraitDisplayBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_0)
|
D | FromSplitScreenEnterPipOnUserLeaveHintTest.kt | 68 private val portraitDisplayBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_0)
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/apps/ |
D | YouTubeEnterPipToOtherOrientationTest.kt | 67 private val startingBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_90) 68 private val endingBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_0)
|
D | NetflixEnterPipTest.kt | 65 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/ |
D | CommonAssertions.kt | 263 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/ |
D | RepositionFixedPortraitAppTest.kt | 56 val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.startRotation)
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipMotionHelper.java | 431 ? mPipBoundsState.getDisplayBounds().right - mPipBoundsState.getStashOffset() in movetoTarget() 505 mPipBoundsState.getDisplayBounds(), 527 : mPipBoundsState.getDisplayBounds().right 581 mPipBoundsState.getDisplayBounds().right - mPipBoundsState.getStashOffset()
|
D | PipController.java | 664 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()
|
D | PipTouchHandler.java | 744 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/ |
D | PipMotionHelper.java | 423 ? 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/ |
D | PipTransition.kt | 37 protected val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.startRotation) in <lambda>()
|
/frameworks/base/tests/FlickerTests/IME/src/com/android/server/wm/flicker/ime/ |
D | OpenImeWindowToFixedPortraitAppTest.kt | 96 val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.startRotation) in appWindowWithLetterboxCoversExactlyOnScreen()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/splitscreen/src/com/android/wm/shell/flicker/splitscreen/ |
D | DismissSplitScreenByDivider.kt | 85 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/ |
D | SwitchAppByDoubleTapDividerBenchmark.kt | 130 val displayBounds = WindowUtils.getDisplayBounds(rotation) in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/service/src/com/android/wm/shell/flicker/service/splitscreen/scenarios/ |
D | SwitchAppByDoubleTapDivider.kt | 143 val displayBounds = WindowUtils.getDisplayBounds(rotation) in <lambda>()
|
/frameworks/base/tests/FlickerTests/AppLaunch/src/com/android/server/wm/flicker/launch/ |
D | TaskTransitionTest.kt | 129 val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.startRotation) in transitionHasColorBackground()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ambient/touch/ |
D | TouchMonitorTest.java | 178 public Rect getDisplayBounds() { in getDisplayBounds() method in TouchMonitorTest.Environment 250 eq(environment.getDisplayBounds()), any(), any()); in testReportedDisplayBounds() 257 .isEqualTo(environment.getDisplayBounds()); in testReportedDisplayBounds()
|