Searched refs:mDisplayBounds (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
D | OneHandedTutorialHandler.java | 72 private Rect mDisplayBounds; field in OneHandedTutorialHandler 142 mDisplayBounds = new Rect(0, 0, displayLayout.width(), displayLayout.height()); in onDisplayChanged() 144 mDisplayBounds = new Rect(0, 0, displayLayout.height(), displayLayout.width()); in onDisplayChanged() 146 mTutorialAreaHeight = Math.round(mDisplayBounds.height() * mTutorialHeightRatio); in onDisplayChanged() 193 mDisplayBounds.width(), mTutorialAreaHeight, 0, 0, in getTutorialTargetLayoutParams() 277 pw.println(mDisplayBounds); in dump()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/ |
D | OneHandedAnimationControllerTest.java | 51 private Rect mDisplayBounds = new Rect(); field in OneHandedAnimationControllerTest 64 .getAnimator(mMockToken, mMockLeash, 0, yOffset, mDisplayBounds); in testGetAnimator_withSameBounds_returnAnimator()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipResizeGestureHandler.java | 96 private final Rect mDisplayBounds = new Rect(); field in PipResizeGestureHandler 353 mDisplayBounds.set(movementBounds.left, in setCtrlType() 358 if (mTmpTopLeftCorner.contains(x, y) && currentPipBounds.top != mDisplayBounds.top in setCtrlType() 359 && currentPipBounds.left != mDisplayBounds.left) { in setCtrlType() 363 if (mTmpTopRightCorner.contains(x, y) && currentPipBounds.top != mDisplayBounds.top in setCtrlType() 364 && currentPipBounds.right != mDisplayBounds.right) { in setCtrlType() 369 && currentPipBounds.bottom != mDisplayBounds.bottom in setCtrlType() 370 && currentPipBounds.right != mDisplayBounds.right) { in setCtrlType() 375 && currentPipBounds.bottom != mDisplayBounds.bottom in setCtrlType() 376 && currentPipBounds.left != mDisplayBounds.left) { in setCtrlType()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayPolicyLayoutTests.java | 105 private final Rect mDisplayBounds = new Rect(); field in DisplayPolicyLayoutTests 166 mDisplayBounds.set(0, 0, mFrames.mDisplayWidth, mFrames.mDisplayHeight); in updateDisplayFrames() 168 mDisplayContent.setBounds(mDisplayBounds); in updateDisplayFrames()
|