Searched refs:displayAreaBounds (Results 1 – 4 of 4) sorted by relevance
/aosp12/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | TaskLaunchParamsModifier.java | 953 void adjustBoundsToAvoidConflict(@NonNull Rect displayAreaBounds, in adjustBoundsToAvoidConflict() argument 956 if (!displayAreaBounds.contains(inOutBounds)) { in adjustBoundsToAvoidConflict() 968 calculateCandidateShiftDirections(displayAreaBounds, inOutBounds); in adjustBoundsToAvoidConflict() 977 && displayAreaBounds.contains(mTmpBounds)) { in adjustBoundsToAvoidConflict() 978 shiftBounds(direction, displayAreaBounds, mTmpBounds); in adjustBoundsToAvoidConflict() 982 && displayAreaBounds.contains(mTmpBounds)) { in adjustBoundsToAvoidConflict()
|
H A D | DisplayContent.java | 2561 final Rect displayAreaBounds = wc.getDisplayContent().getBounds(); in onConfigurationChanged() local 2563 if (!mLastMirroredDisplayAreaBounds.equals(displayAreaBounds) in onConfigurationChanged() 2570 mDisplayId, displayAreaBounds, displayAreaOrientation); in onConfigurationChanged() 2572 displayAreaBounds, surfaceSize); in onConfigurationChanged() local 6220 Rect displayAreaBounds, Point surfaceSize) { in updateMirroredSurface() argument 6223 float scaleX = surfaceSize.x / (float) displayAreaBounds.width(); in updateMirroredSurface() 6224 float scaleY = surfaceSize.y / (float) displayAreaBounds.height(); in updateMirroredSurface() 6226 int scaledWidth = Math.round(scale * (float) displayAreaBounds.width()); in updateMirroredSurface() 6243 .setWindowCrop(mMirroredSurface, displayAreaBounds.width(), in updateMirroredSurface() 6244 displayAreaBounds.height()) in updateMirroredSurface() [all …]
|
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | SizeCompatTests.java | 1801 Rect displayAreaBounds = new Rect(0, 0, 2400, 1000); in testTaskDisplayAreaNotFillDisplay() local 1802 taskDisplayArea.setBounds(displayAreaBounds); in testTaskDisplayAreaNotFillDisplay() 1810 .isEqualTo(displayAreaBounds); in testTaskDisplayAreaNotFillDisplay() 1812 .isEqualTo(displayAreaBounds); in testTaskDisplayAreaNotFillDisplay()
|
H A D | DisplayContentTests.java | 2313 Rect displayAreaBounds = new Rect(0, 0, Math.round(surfaceSize.x * xScale), in testVirtualDisplayContent_capturedAreaResized() local 2315 virtualDisplay.updateMirroredSurface(mTransaction, displayAreaBounds, surfaceSize); in testVirtualDisplayContent_capturedAreaResized() 2321 float scaledWidth = displayAreaBounds.width() / xScale; in testVirtualDisplayContent_capturedAreaResized()
|