public static interface AccessibilityService.MagnificationController.OnMagnificationChangedListener
android.accessibilityservice.AccessibilityService.MagnificationController.OnMagnificationChangedListener |
听众对放大状态的改变。
Public methods |
|
---|---|
abstract void |
onMagnificationChanged(AccessibilityService.MagnificationController controller, Region region, float scale, float centerX, float centerY) 当放大的区域,比例或中心发生变化时调用。 |
void onMagnificationChanged (AccessibilityService.MagnificationController controller, Region region, float scale, float centerX, float centerY)
当放大的区域,比例或中心发生变化时调用。
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 |