MagnificationConfig
public
final
class
MagnificationConfig
extends Object
implements
Parcelable
| java.lang.Object | |
| ↳ | android.accessibilityservice.MagnificationConfig |
This class describes the magnification config for AccessibilityService to control the
magnification.
When the magnification config uses MAGNIFICATION_MODE_DEFAULT,
AccessibilityService will be able to control the activated magnifier on the display.
If there is no magnifier activated, it controls the last-activated magnification mode.
If there is no magnifier activated before, it controls full-screen magnifier by default.
When the magnification config uses MAGNIFICATION_MODE_FULLSCREEN.
AccessibilityService will be able to control full-screen magnifier on the display.
When the magnification config uses MAGNIFICATION_MODE_WINDOW and the platform
supports PackageManager.FEATURE_WINDOW_MAGNIFICATION feature.
AccessibilityService will be able to control window magnifier on the display.
If the other magnification configs, scale centerX and centerY, are not set by the
Builder, the configs should be current values or default values. And the center
position ordinarily is the center of the screen.