Home
last modified time | relevance | path

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

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationController.java84 private final Region mMagnificationRegion = Region.obtain(); field in MagnificationController
179 mWindowManager.getMagnificationRegion(mMagnificationRegion); in register()
180 mMagnificationRegion.getBounds(mMagnificationBounds); in register()
215 mMagnificationRegion.setEmpty(); in unregisterInternalLocked()
240 if (!mMagnificationRegion.equals(magnified)) { in onMagnificationRegionChanged()
241 mMagnificationRegion.set(magnified); in onMagnificationRegionChanged()
242 mMagnificationRegion.getBounds(mMagnificationBounds); in onMagnificationRegionChanged()
265 return mMagnificationRegion.contains((int) x, (int) y); in magnificationRegionContains()
292 outRegion.set(mMagnificationRegion); in getMagnificationRegion()
439 mMagnificationRegion.getBounds(viewport); in setScale()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DAccessibilityController.java464 private final Region mMagnificationRegion = new Region(); field in AccessibilityController.DisplayMagnifier.MagnifiedViewport
502 outMagnificationRegion.set(mMagnificationRegion); in getMagnificationRegionLocked()
525 mMagnificationRegion.set(0, 0, 0, 0); in recomputeBoundsLocked()
564 portionOfWindowAlreadyAccountedFor.set(mMagnificationRegion); in recomputeBoundsLocked()
569 mMagnificationRegion.op(windowBounds, Region.Op.UNION); in recomputeBoundsLocked()
570 mMagnificationRegion.op(availableBounds, Region.Op.INTERSECT); in recomputeBoundsLocked()
578 accountedBounds.set(mMagnificationRegion); in recomputeBoundsLocked()
594 mMagnificationRegion.op(mDrawBorderInset, mDrawBorderInset, in recomputeBoundsLocked()
599 !mOldMagnificationRegion.equals(mMagnificationRegion); in recomputeBoundsLocked()
601 mWindow.setBounds(mMagnificationRegion); in recomputeBoundsLocked()
[all …]