Home
last modified time | relevance | path

Searched refs:mWindowBounds (Results 1 – 6 of 6) sorted by relevance

/aosp12/frameworks/base/core/java/android/view/
H A DScrollCaptureResponse.java46 private Rect mWindowBounds = null; field in ScrollCaptureResponse
110 this.mWindowBounds = windowBounds; in ScrollCaptureResponse()
142 return mWindowBounds; in getWindowBounds()
186 "windowBounds = " + mWindowBounds + ", " + in toString()
202 if (mWindowBounds != null) flg |= 0x4; in writeToParcel()
209 if (mWindowBounds != null) dest.writeTypedObject(mWindowBounds, flags); in writeToParcel()
241 this.mWindowBounds = windowBounds; in ScrollCaptureResponse()
275 private @Nullable Rect mWindowBounds; field in ScrollCaptureResponse.Builder
315 mWindowBounds = value; in setWindowBounds()
383 mWindowBounds = null; in build()
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
H A DWindowMagnificationController.java92 private Rect mWindowBounds; field in WindowMagnificationController
165 mWindowBounds = new Rect(mWm.getCurrentWindowMetrics().getBounds()); in WindowMagnificationController()
172 setMagnificationFrameWith(mWindowBounds, mWindowBounds.width() / 2, in WindowMagnificationController()
173 mWindowBounds.height() / 2); in WindowMagnificationController()
332 final Rect oldWindowBounds = new Rect(mWindowBounds); in handleScreenSizeChanged()
341 mWindowBounds.set(currentWindowBounds); in handleScreenSizeChanged()
374 if (currentWindowBounds.width() != mWindowBounds.height() in onRotate()
380 mWindowBounds.set(currentWindowBounds); in onRotate()
393 matrix.postTranslate(mWindowBounds.width(), 0); in onRotate()
395 matrix.postTranslate(0, mWindowBounds.height()); in onRotate()
[all …]
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
H A DTestableWindowManager.java32 private Rect mWindowBounds = null; field in TestableWindowManager
81 mWindowBounds == null ? realMetrics.getBounds() in getCurrentWindowMetrics()
82 : mWindowBounds, in getCurrentWindowMetrics()
109 mWindowBounds = bounds; in setWindowBounds()
/aosp12/frameworks/base/tests/MirrorSurfaceTest/src/com/google/android/test/mirrorsurface/
H A DMirrorSurfaceActivity.java63 private Rect mWindowBounds = new Rect(); field in MirrorSurfaceActivity
95 mWindowBounds.set(0, 0, windowBounds.width(), windowBounds.height()); in onCreate()
101 mCurrFrame.set(0, 0, mWindowBounds.width() / 2, mWindowBounds.height() / 2); in onCreate()
201 WindowManager.LayoutParams params = new WindowManager.LayoutParams(mWindowBounds.width(), in createMirrorOverlay()
202 mWindowBounds.height(), in createMirrorOverlay()
297 Rect bounds = mWindowBounds; in updateMirror()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DScrollCaptureClient.java253 private final Rect mWindowBounds;
265 mWindowBounds = requireNonNull(windowBounds);
445 return new Rect(mWindowBounds);
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A DDeviceProfile.java1167 private WindowBounds mWindowBounds; field in DeviceProfile.Builder
1191 mWindowBounds = bounds; in setWindowBounds()
1201 if (mWindowBounds == null) { in build()
1205 mTransposeLayoutWithOrientation = !mInfo.isTablet(mWindowBounds); in build()
1207 return new DeviceProfile(mContext, mInv, mInfo, mWindowBounds, in build()