Home
last modified time | relevance | path

Searched refs:rotatedBounds (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DCounterRotatorHelper.java92 final Rect rotatedBounds = new Rect(change.getEndAbsBounds()); in getEndBoundsInStartRotation()
93 RotationUtils.rotateBounds(rotatedBounds, mLastDisplayBounds, mLastRotationDelta); in getEndBoundsInStartRotation()
94 return rotatedBounds; in getEndBoundsInStartRotation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsControllerOverlay.kt484 var rotatedBounds = in <lambda>() variable
509 rotatedBounds, in <lambda>()
524 x = rotatedBounds.left - paddingX in <lambda>()
525 y = rotatedBounds.top - paddingY in <lambda>()
526 height = rotatedBounds.height() + 2 * paddingX in <lambda>()
527 width = rotatedBounds.width() + 2 * paddingY in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/
DPromptIconViewModel.kt84 val rotatedBounds = Rect(params.sensorBounds) in <lambda>() constant
86 rotatedBounds, in <lambda>()
92 rotatedBounds.left, in <lambda>()
93 rotatedBounds.top, in <lambda>()
94 params.logicalDisplayWidth - rotatedBounds.right, in <lambda>()
95 params.logicalDisplayHeight - rotatedBounds.bottom in <lambda>()
DPromptViewModel.kt140 val rotatedBounds = Rect(params.sensorBounds) in <lambda>() constant
142 rotatedBounds, in <lambda>()
148 rotatedBounds.left, in <lambda>()
149 rotatedBounds.top, in <lambda>()
150 params.logicalDisplayWidth - rotatedBounds.right, in <lambda>()
151 params.logicalDisplayHeight - rotatedBounds.bottom in <lambda>()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java612 float[] rotatedBounds = new float[] { bounds.x, bounds.y };
613 rotateMatrix.mapPoints(rotatedBounds);
614 rotatedBounds[0] = Math.abs(rotatedBounds[0]);
615 rotatedBounds[1] = Math.abs(rotatedBounds[1]);
617 mCropBounds.offset(-rotatedBounds[0]/2, -rotatedBounds[1]/2);
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DBasicBitmapDrawable.java398 final Rect rotatedBounds = new Rect(bounds); in draw() local
399 RectUtils.rotateRect(orientation, bounds.centerX(), bounds.centerY(), rotatedBounds); in draw()
404 onDrawBitmap(canvas, mRect, rotatedBounds); in draw()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowStateTests.java954 final Rect rotatedBounds = new Rect(0, 0, 123, 456); in testUpdateInputWindowHandle() local
955 doReturn(rotatedBounds).when(win.mToken).getFixedRotationTransformDisplayBounds(); in testUpdateInputWindowHandle()
957 assertEquals(rotatedBounds, handle.touchableRegion.getBounds()); in testUpdateInputWindowHandle()
/frameworks/base/services/core/java/com/android/server/wm/
DTask.java3628 final Rect rotatedBounds = activity.getFixedRotationTransformDisplayBounds();
3629 info.taskBounds.set(rotatedBounds != null ? rotatedBounds