@@ -3399,6 +3399,46 @@ public static final String getBluetoothInputDevicePriorityKey(String address) {
33993399 public static final String ACCESSIBILITY_WEB_CONTENT_KEY_BINDINGS =
34003400 "accessibility_web_content_key_bindings" ;
34013401
3402+ /**
3403+ * Setting that specifies whether the display magnification is enabled.
3404+ * Display magnifications allows the user to zoom in the display content
3405+ * and is targeted to low vision users. The current magnification scale
3406+ * is controlled by {@link #ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE}.
3407+ *
3408+ * @hide
3409+ */
3410+ public static final String ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED =
3411+ "accessibility_display_magnification_enabled" ;
3412+
3413+ /**
3414+ * Setting that specifies what the display magnification scale is.
3415+ * Display magnifications allows the user to zoom in the display
3416+ * content and is targeted to low vision users. Whether a display
3417+ * magnification is performed is controlled by
3418+ * {@link #ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED}
3419+ *
3420+ * @hide
3421+ */
3422+ public static final String ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE =
3423+ "accessibility_display_magnification_scale" ;
3424+
3425+ /**
3426+ * Setting that specifies whether the display magnification should be
3427+ * automatically updated. If this fearture is enabled the system will
3428+ * exit magnification mode or pan the viewport when a context change
3429+ * occurs. For example, on staring a new activity or rotating the screen,
3430+ * the system may zoom out so the user can see the new context he is in.
3431+ * Another example is on showing a window that is not visible in the
3432+ * magnified viewport the system may pan the viewport to make the window
3433+ * the has popped up so the user knows that the context has changed.
3434+ * Whether a screen magnification is performed is controlled by
3435+ * {@link #ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED}
3436+ *
3437+ * @hide
3438+ */
3439+ public static final String ACCESSIBILITY_DISPLAY_MAGNIFICATION_AUTO_UPDATE =
3440+ "accessibility_display_magnification_auto_update" ;
3441+
34023442 /**
34033443 * The timout for considering a press to be a long press in milliseconds.
34043444 * @hide
@@ -4806,6 +4846,9 @@ public static final String getBluetoothInputDevicePriorityKey(String address) {
48064846 PARENTAL_CONTROL_ENABLED ,
48074847 PARENTAL_CONTROL_REDIRECT_URL ,
48084848 USB_MASS_STORAGE_ENABLED ,
4849+ ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED ,
4850+ ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE ,
4851+ ACCESSIBILITY_DISPLAY_MAGNIFICATION_AUTO_UPDATE ,
48094852 ACCESSIBILITY_SCRIPT_INJECTION ,
48104853 BACKUP_AUTO_RESTORE ,
48114854 ENABLED_ACCESSIBILITY_SERVICES ,
0 commit comments