/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeScreenBrightnessTest.java | 145 assertEquals(DEFAULT_BRIGHTNESS, mServiceFake.screenBrightness); in testInitialize_setsScreenBrightnessToValidValue() 146 assertTrue(mServiceFake.screenBrightness <= PowerManager.BRIGHTNESS_ON); in testInitialize_setsScreenBrightnessToValidValue() 160 assertEquals(1, mServiceFake.screenBrightness); in testAod_usesDebugValue() 173 assertEquals(maxBrightness, mServiceFake.screenBrightness); in testAod_usesLightSensorRespectingUserSetting() 186 assertEquals(DEFAULT_BRIGHTNESS, mServiceFake.screenBrightness); in testAod_usesLightSensorNotClampingToAutoBrightnessValue() 200 assertNotSame(3, mServiceFake.screenBrightness); in doze_doesNotUseLightSensor() 201 assertEquals(DEFAULT_BRIGHTNESS, mServiceFake.screenBrightness); in doze_doesNotUseLightSensor() 215 assertNotSame(3, mServiceFake.screenBrightness); in dozeSuspendTriggers_doesNotUseLightSensor() 216 assertEquals(DEFAULT_BRIGHTNESS, mServiceFake.screenBrightness); in dozeSuspendTriggers_doesNotUseLightSensor() 230 assertEquals(3, mServiceFake.screenBrightness); in aod_usesLightSensor() [all …]
|
D | DozeServiceFake.java | 33 public int screenBrightness; field in DozeServiceFake 57 screenBrightness = brightness; in setDozeScreenBrightness() 65 screenBrightness = PowerManager.BRIGHTNESS_DEFAULT; in reset()
|
/frameworks/base/core/java/android/service/dreams/ |
D | IDreamManager.aidl | 43 void startDozing(in IBinder token, int screenState, int reason, int screenBrightness); in startDozing() argument
|
/frameworks/base/core/java/android/os/ |
D | PowerManagerInternal.java | 144 int screenState, @Display.StateReason int reason, int screenBrightness); in setDozeOverrideFromDreamManager() argument
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
D | DreamManagerService.java | 546 @Display.StateReason int reason, int screenBrightness) { in startDozingInternal() argument 550 + ", screenBrightness=" + screenBrightness); in startDozingInternal() 556 mCurrentDream.dozeScreenBrightness = screenBrightness; in startDozingInternal() 558 screenState, reason, screenBrightness); in startDozingInternal() 1084 int screenBrightness) { in startDozing() argument 1092 startDozingInternal(token, screenState, reason, screenBrightness); in startDozing()
|
/frameworks/base/core/java/android/view/ |
D | WindowManager.java | 3949 public float screenBrightness = BRIGHTNESS_OVERRIDE_NONE; field in WindowManager.LayoutParams 5125 out.writeFloat(screenBrightness); in writeToParcel() 5202 screenBrightness = in.readFloat(); in LayoutParams() 5405 if (screenBrightness != o.screenBrightness) { in copyFrom() 5406 screenBrightness = o.screenBrightness; in copyFrom() 5692 if (screenBrightness != BRIGHTNESS_OVERRIDE_NONE) { in toString() 5694 sb.append(screenBrightness); in toString() 5859 proto.write(SCREEN_BRIGHTNESS, screenBrightness); in dumpDebug()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 4463 int screenState, @Display.StateReason int reason, int screenBrightness) { 4466 || mDozeScreenBrightnessOverrideFromDreamManager != screenBrightness) { 4469 mDozeScreenBrightnessOverrideFromDreamManager = screenBrightness; 7091 public void setScreenBrightnessOverrideFromWindowManager(float screenBrightness) { 7092 if (screenBrightness < PowerManager.BRIGHTNESS_MIN 7093 || screenBrightness > PowerManager.BRIGHTNESS_MAX) { 7094 screenBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; 7096 setScreenBrightnessOverrideFromWindowManagerInternal(screenBrightness); 7101 int screenState, int reason, int screenBrightness) { 7114 if (screenBrightness < PowerManager.BRIGHTNESS_DEFAULT [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | NotificationShadeWindowControllerImpl.java | 661 mLpChanged.screenBrightness = mScreenBrightnessDoze; in applyBrightness() 663 mLpChanged.screenBrightness = LayoutParams.BRIGHTNESS_OVERRIDE_NONE; in applyBrightness()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RootWindowContainer.java | 1047 if (!syswin && w.mAttrs.screenBrightness >= 0 in handleNotObscuredLocked() 1049 mScreenBrightnessOverride = w.mAttrs.screenBrightness; in handleNotObscuredLocked()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 34792 field public float screenBrightness;
|
/frameworks/base/core/api/ |
D | current.txt | 54673 field public float screenBrightness;
|