public interface DisplayResizeListener
SystemCapability.Accessibility#ABILITY| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
onDisplayResizeChanged(DisplayResizeController controller,
Rect rect,
float scale,
float centerX,
float centerY) |
Called when the rectangle, scale, or center coordinate for performing the resizing operations is changed.
|
void onDisplayResizeChanged(DisplayResizeController controller, Rect rect, float scale, float centerX, float centerY)
controller - Indicates the controller for display resizing operations.rect - Indicates the rectangle for resizing the display.scale - Indicates the scale for resizing the display, ranging from 1.0f to 10.0f.centerX - Indicates the X coordinate of the center for resizing the display.centerY - Indicates the Y coordinate of the center for resizing the display.