public
static
interface
AccessibilityService.MagnificationController.OnMagnificationChangedListener
android.accessibilityservice.AccessibilityService.MagnificationController.OnMagnificationChangedListener |
Listener for changes in the state of magnification.
Public methods | |
---|---|
abstract
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)
Called when the magnified region, scale, or center changes.
Parameters | |
---|---|
controller |
AccessibilityService.MagnificationController :
the magnification controller |
region |
Region :
the magnification region |
scale |
float :
the new scale |
centerX |
float :
the new X coordinate, in unscaled coordinates, around which
magnification is focused |
centerY |
float :
the new Y coordinate, in unscaled coordinates, around which
magnification is focused
|