Searched refs:mMagnificationRegion (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MagnificationController.java | 96 private final Region mMagnificationRegion = Region.obtain(); field in MagnificationController.DisplayMagnification 136 mDisplayId, mMagnificationRegion); in register() 137 mMagnificationRegion.getBounds(mMagnificationBounds); in register() 155 mMagnificationRegion.setEmpty(); in unregister() 283 if (!mMagnificationRegion.equals(magnified)) { in updateMagnificationRegion() 284 mMagnificationRegion.set(magnified); in updateMagnificationRegion() 285 mMagnificationRegion.getBounds(mMagnificationBounds); in updateMagnificationRegion() 323 mControllerCtx.getAms().notifyMagnificationChanged(mDisplayId, mMagnificationRegion, in onMagnificationChangedLocked() 332 return mMagnificationRegion.contains((int) x, (int) y); in magnificationRegionContains() 342 outRegion.set(mMagnificationRegion); in getMagnificationRegion() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AccessibilityController.java | 495 private final Region mMagnificationRegion = new Region(); field in AccessibilityController.DisplayMagnifier.MagnifiedViewport 534 outMagnificationRegion.set(mMagnificationRegion); in getMagnificationRegionLocked() 557 mMagnificationRegion.set(0, 0, 0, 0); in recomputeBoundsLocked() 598 portionOfWindowAlreadyAccountedFor.set(mMagnificationRegion); in recomputeBoundsLocked() 603 mMagnificationRegion.op(windowBounds, Region.Op.UNION); in recomputeBoundsLocked() 604 mMagnificationRegion.op(availableBounds, Region.Op.INTERSECT); in recomputeBoundsLocked() 619 accountedBounds.set(mMagnificationRegion); in recomputeBoundsLocked() 635 mMagnificationRegion.op(mDrawBorderInset, mDrawBorderInset, in recomputeBoundsLocked() 640 !mOldMagnificationRegion.equals(mMagnificationRegion); in recomputeBoundsLocked() 642 mWindow.setBounds(mMagnificationRegion); in recomputeBoundsLocked() [all …]
|