public static class SystemSettings.Display extends Object
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static String |
ANIMATOR_DURATION_SCALE |
Indicates the scaling factor for the animation duration.
|
static String |
AUTO_SCREEN_BRIGHTNESS |
Specifies whether automatic screen brightness adjustment is enabled.
|
static int |
AUTO_SCREEN_BRIGHTNESS_MODE |
Indicates the value of
AUTO_SCREEN_BRIGHTNESS when automatic screen brightness adjustment is used. |
static String |
DEFAULT_SCREEN_ROTATION |
Indicates the screen rotation when no other policy is available.
|
static String |
DISPLAY_INVERSION_STATUS |
Specifies whether display color inversion is enabled.
|
static String |
FONT_SCALE |
Indicates the scaling factor of fonts, which is a float number.
|
static int |
MANUAL_SCREEN_BRIGHTNESS_MODE |
Indicates the value of
AUTO_SCREEN_BRIGHTNESS when manual screen brightness adjustment is used. |
static String |
SCREEN_BRIGHTNESS_STATUS |
Indicates the screen brightness.
|
static String |
SCREEN_OFF_TIMEOUT |
Indicates the duration that the device waits before going to sleep after a period of inactivity, in
milliseconds.
|
static String |
TRANSITION_ANIMATION_SCALE |
Indicates the scaling factor for transition animations.
|
static String |
WINDOW_ANIMATION_SCALE |
Indicates the scaling factor for normal window animations.
|
public static final String ANIMATOR_DURATION_SCALE
This affects the start delay and duration of all such animations. If the value is 0,
the animation ends immediately. The default value is 1.
public static final String AUTO_SCREEN_BRIGHTNESS
If the value is 1, automatic adjustment is enabled. If the value is 0, automatic
adjustment is disabled.
public static final int AUTO_SCREEN_BRIGHTNESS_MODE
AUTO_SCREEN_BRIGHTNESS when automatic screen brightness adjustment is used.public static final String DEFAULT_SCREEN_ROTATION
This constant is invalid when auto-rotation is enabled. When auto-rotation is disabled, the following values are available:
0 - The screen rotates 0 degrees.
1 - The screen rotates 90 degrees.
2 - The screen rotates 180 degrees.
3 - The screen rotates 270 degrees.
public static final String DISPLAY_INVERSION_STATUS
If the value is 1, display color inversion is enabled. If the value is 0, display color
inversion is disabled.
public static final String FONT_SCALE
public static final int MANUAL_SCREEN_BRIGHTNESS_MODE
AUTO_SCREEN_BRIGHTNESS when manual screen brightness adjustment is used.public static final String SCREEN_BRIGHTNESS_STATUS
public static final String SCREEN_OFF_TIMEOUT
public static final String TRANSITION_ANIMATION_SCALE
0, transition animations are disabled.