Merge "Updates the doc for FEATURE_WINDOW_MAGNIFICATION" into tm-dev
This commit is contained in:
@@ -42,9 +42,9 @@ import java.lang.annotation.RetentionPolicy;
|
|||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
* When the magnification config uses {@link #MAGNIFICATION_MODE_WINDOW}.
|
* When the magnification config uses {@link #MAGNIFICATION_MODE_WINDOW} and the platform
|
||||||
* {@link AccessibilityService} will be able to control the activated window magnifier
|
* supports {@link android.content.pm.PackageManager#FEATURE_WINDOW_MAGNIFICATION} feature.
|
||||||
* on the display.
|
* {@link AccessibilityService} will be able to control window magnifier on the display.
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
@@ -57,9 +57,12 @@ public final class MagnificationConfig implements Parcelable {
|
|||||||
|
|
||||||
/** The controlling magnification mode. It controls the activated magnifier. */
|
/** The controlling magnification mode. It controls the activated magnifier. */
|
||||||
public static final int MAGNIFICATION_MODE_DEFAULT = 0;
|
public static final int MAGNIFICATION_MODE_DEFAULT = 0;
|
||||||
/** The controlling magnification mode. It controls fullscreen magnifier. */
|
/** The controlling magnification mode. It controls full-screen magnifier. */
|
||||||
public static final int MAGNIFICATION_MODE_FULLSCREEN = 1;
|
public static final int MAGNIFICATION_MODE_FULLSCREEN = 1;
|
||||||
/** The controlling magnification mode. It controls window magnifier. */
|
/**
|
||||||
|
* The controlling magnification mode. It is valid if the platform supports
|
||||||
|
* {@link android.content.pm.PackageManager#FEATURE_WINDOW_MAGNIFICATION} feature.
|
||||||
|
*/
|
||||||
public static final int MAGNIFICATION_MODE_WINDOW = 2;
|
public static final int MAGNIFICATION_MODE_WINDOW = 2;
|
||||||
|
|
||||||
/** @hide */
|
/** @hide */
|
||||||
|
|||||||
@@ -4188,6 +4188,8 @@ public abstract class PackageManager {
|
|||||||
/**
|
/**
|
||||||
* Feature for {@link #getSystemAvailableFeatures} and {@link #hasSystemFeature}: The device
|
* Feature for {@link #getSystemAvailableFeatures} and {@link #hasSystemFeature}: The device
|
||||||
* supports window magnification.
|
* supports window magnification.
|
||||||
|
*
|
||||||
|
* @see android.accessibilityservice.MagnificationConfig#MAGNIFICATION_MODE_WINDOW
|
||||||
*/
|
*/
|
||||||
@SdkConstant(SdkConstantType.FEATURE)
|
@SdkConstant(SdkConstantType.FEATURE)
|
||||||
public static final String FEATURE_WINDOW_MAGNIFICATION =
|
public static final String FEATURE_WINDOW_MAGNIFICATION =
|
||||||
|
|||||||
Reference in New Issue
Block a user