/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() 170 assertEquals(maxBrightness, mServiceFake.screenBrightness); in testAod_usesLightSensorRespectingUserSetting() 184 assertNotSame(3, mServiceFake.screenBrightness); in doze_doesNotUseLightSensor() 185 assertEquals(DEFAULT_BRIGHTNESS, mServiceFake.screenBrightness); in doze_doesNotUseLightSensor() 199 assertNotSame(3, mServiceFake.screenBrightness); in dozeSuspendTriggers_doesNotUseLightSensor() 200 assertEquals(DEFAULT_BRIGHTNESS, mServiceFake.screenBrightness); in dozeSuspendTriggers_doesNotUseLightSensor() 214 assertEquals(3, mServiceFake.screenBrightness); in aod_usesLightSensor() 229 assertEquals(3, mServiceFake.screenBrightness); in docked_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 | 41 void startDozing(in IBinder token, int screenState, int screenBrightness); in startDozing() argument
|
/frameworks/base/core/java/android/os/ |
D | PowerManagerInternal.java | 143 int screenState, int screenBrightness); in setDozeOverrideFromDreamManager() argument
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
D | DreamManagerService.java | 475 int screenBrightness) { in startDozingInternal() argument 479 + ", screenBrightness=" + screenBrightness); in startDozingInternal() 485 mCurrentDream.dozeScreenBrightness = screenBrightness; in startDozingInternal() 487 screenState, screenBrightness); in startDozingInternal() 982 public void startDozing(IBinder token, int screenState, int screenBrightness) { in startDozing() argument 990 startDozingInternal(token, screenState, screenBrightness); in startDozing()
|
/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/common/ |
D | ColorModeControls.kt | 112 window?.attributes?.screenBrightness = level in setBrightness()
|
/frameworks/base/core/java/android/view/ |
D | WindowManager.java | 3425 public float screenBrightness = BRIGHTNESS_OVERRIDE_NONE; field in WindowManager.LayoutParams 4367 out.writeFloat(screenBrightness); in writeToParcel() 4437 screenBrightness = in.readFloat(); in LayoutParams() 4631 if (screenBrightness != o.screenBrightness) { in copyFrom() 4632 screenBrightness = o.screenBrightness; in copyFrom() 4891 if (screenBrightness != BRIGHTNESS_OVERRIDE_NONE) { in toString() 4893 sb.append(screenBrightness); in toString() 5038 proto.write(SCREEN_BRIGHTNESS, screenBrightness); in dumpDebug()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | NotificationShadeWindowControllerImpl.java | 582 mLpChanged.screenBrightness = mScreenBrightnessDoze; in applyBrightness() 584 mLpChanged.screenBrightness = LayoutParams.BRIGHTNESS_OVERRIDE_NONE; in applyBrightness()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 4235 int screenState, int screenBrightness) { 4238 || mDozeScreenBrightnessOverrideFromDreamManager != screenBrightness) { 4240 mDozeScreenBrightnessOverrideFromDreamManager = screenBrightness; 6569 public void setScreenBrightnessOverrideFromWindowManager(float screenBrightness) { 6570 if (screenBrightness < PowerManager.BRIGHTNESS_MIN 6571 || screenBrightness > PowerManager.BRIGHTNESS_MAX) { 6572 screenBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; 6574 setScreenBrightnessOverrideFromWindowManagerInternal(screenBrightness); 6578 public void setDozeOverrideFromDreamManager(int screenState, int screenBrightness) { 6592 if (screenBrightness < PowerManager.BRIGHTNESS_DEFAULT [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RootWindowContainer.java | 1068 if (!syswin && w.mAttrs.screenBrightness >= 0 in handleNotObscuredLocked() 1070 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 | 51569 field public float screenBrightness;
|