public static interface AccessibilityService.MagnificationController.OnMagnificationChangedListener
Modifier and Type | Method and Description |
---|---|
void |
onMagnificationChanged(AccessibilityService.MagnificationController controller,
Region region,
float scale,
float centerX,
float centerY)
Called when the magnified region, scale, or center changes.
|
void onMagnificationChanged(AccessibilityService.MagnificationController controller, Region region, float scale, float centerX, float centerY)
controller
- the magnification controllerregion
- the magnification regionscale
- the new scalecenterX
- the new X coordinate, in unscaled coordinates, around which
magnification is focusedcenterY
- the new Y coordinate, in unscaled coordinates, around which
magnification is focused