/frameworks/base/core/java/android/view/ |
D | ScrollCaptureResponse.java | 46 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 …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | TestableWindowManager.java | 34 private Rect mWindowBounds = null; field in TestableWindowManager 83 mWindowBounds == null ? realMetrics.getBounds() in getCurrentWindowMetrics() 84 : mWindowBounds, in getCurrentWindowMetrics() 116 mWindowBounds = bounds; in setWindowBounds()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | WindowMagnificationController.java | 120 private final Rect mWindowBounds; field in WindowMagnificationController 280 mWindowBounds = new Rect(mWm.getCurrentWindowMetrics().getBounds()); in WindowMagnificationController() 299 mWindowBounds.width() / 2, mWindowBounds.height() / 2); in WindowMagnificationController() 445 int initSize = Math.min(mWindowBounds.width(), mWindowBounds.height()) / 3; in getMagnificationWindowSizeFromIndex() 585 final Rect oldWindowBounds = new Rect(mWindowBounds); in handleScreenSizeChanged() 594 mWindowBounds.set(currentWindowBounds); in handleScreenSizeChanged() 596 final float newCenterX = (getCenterX()) * mWindowBounds.width() / oldWindowBounds.width(); in handleScreenSizeChanged() 597 final float newCenterY = (getCenterY()) * mWindowBounds.height() / oldWindowBounds.height(); in handleScreenSizeChanged() 634 if (currentWindowBounds.width() != mWindowBounds.height() in onRotate() 635 || currentWindowBounds.height() != mWindowBounds.width()) { in onRotate() [all …]
|
D | FullscreenMagnificationController.java | 69 private Rect mWindowBounds; field in FullscreenMagnificationController 120 mWindowBounds = mWindowManager.getCurrentWindowMetrics().getBounds(); in FullscreenMagnificationController() 261 mWindowBounds.width() + 2 * mBorderOffset, in getBorderLayoutParams() 262 mWindowBounds.height() + 2 * mBorderOffset, in getBorderLayoutParams() 295 mWindowBounds.set(mWindowManager.getCurrentWindowMetrics().getBounds()); in onConfigurationChanged() 304 final int newWidth = mWindowBounds.width() + 2 * mBorderOffset; in onConfigurationChanged() 305 final int newHeight = mWindowBounds.height() + 2 * mBorderOffset; in onConfigurationChanged()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | MagnificationThumbnail.java | 53 private Rect mWindowBounds; field in MagnificationThumbnail 81 mWindowBounds = mWindowManager.getCurrentWindowMetrics().getBounds(); in MagnificationThumbnail() 116 mWindowBounds = currentBounds; in refreshBackgroundBounds() 119 mThumbnailWidth = (int) (mWindowBounds.width() / BG_ASPECT_RATIO); in refreshBackgroundBounds() 120 mThumbnailHeight = (int) (mWindowBounds.height() / BG_ASPECT_RATIO); in refreshBackgroundBounds()
|
/frameworks/base/tests/MirrorSurfaceTest/src/com/google/android/test/mirrorsurface/ |
D | MirrorSurfaceActivity.java | 63 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/ |
D | ScrollCaptureClient.java | 254 private final Rect mWindowBounds; 266 mWindowBounds = requireNonNull(windowBounds); 449 return new Rect(mWindowBounds);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | WindowLayoutTests.java | 77 private Rect mWindowBounds; field in WindowLayoutTests 94 mWindowBounds = new Rect(0, 0, DISPLAY_WIDTH, DISPLAY_HEIGHT); in setUp() 104 mWindowLayout.computeFrames(mAttrs, mState, mDisplayCutoutSafe, mWindowBounds, in computeFrames() 179 mWindowBounds.set(0, top, DISPLAY_WIDTH, DISPLAY_HEIGHT); in nonFullscreenWindowBounds()
|