Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
H A DWindowMagnificationController.java332 final Rect oldWindowBounds = new Rect(mWindowBounds); in handleScreenSizeChanged() local
335 if (currentWindowBounds.equals(oldWindowBounds)) { in handleScreenSizeChanged()
342 final float newCenterX = (getCenterX()) * mWindowBounds.width() / oldWindowBounds.width(); in handleScreenSizeChanged()
343 final float newCenterY = (getCenterY()) * mWindowBounds.height() / oldWindowBounds.height(); in handleScreenSizeChanged()