/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeScreenBrightnessTest.java | 82 assertEquals(DEFAULT_BRIGHTNESS, mServiceFake.screenBrightness); in testInitialize_setsScreenBrightnessToValidValue() 83 assertTrue(mServiceFake.screenBrightness <= PowerManager.BRIGHTNESS_ON); in testInitialize_setsScreenBrightnessToValidValue() 93 assertEquals(3, mServiceFake.screenBrightness); in testAod_usesLightSensor() 106 assertEquals(1, mServiceFake.screenBrightness); in testAod_usesDebugValue() 117 assertEquals(maxBrightness, mServiceFake.screenBrightness); in testAod_usesLightSensorRespectingUserSetting() 132 assertEquals(2, mServiceFake.screenBrightness); in testPausingAod_doesntPauseLightSensor() 145 assertEquals(1, mServiceFake.screenBrightness); in testPausingAod_doesNotResetBrightness() 156 assertEquals(1, mServiceFake.screenBrightness); in testPulsing_usesLightSensor() 184 assertEquals(DEFAULT_BRIGHTNESS, mServiceFake.screenBrightness); in testDozingAfterPulsing_pausesLightSensor() 208 assertNotEquals(1, mServiceFake.screenBrightness); in testNoBrightnessDeliveredAfterFinish() [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/services/core/java/com/android/server/dreams/ |
D | DreamManagerService.java | 225 int screenBrightness) { in startDozingInternal() argument 229 + ", screenBrightness=" + screenBrightness); in startDozingInternal() 235 mCurrentDreamDozeScreenBrightness = screenBrightness; in startDozingInternal() 237 screenState, screenBrightness); in startDozingInternal() 617 public void startDozing(IBinder token, int screenState, int screenBrightness) { in startDozing() argument 625 startDozingInternal(token, screenState, screenBrightness); in startDozing()
|
/frameworks/base/core/java/android/service/dreams/ |
D | IDreamManager.aidl | 39 void startDozing(in IBinder token, int screenState, int screenBrightness); in startDozing() argument
|
/frameworks/base/core/java/android/view/ |
D | WindowManager.java | 2271 public float screenBrightness = BRIGHTNESS_OVERRIDE_NONE; field in WindowManager.LayoutParams 2760 out.writeFloat(screenBrightness); in writeToParcel() 2816 screenBrightness = in.readFloat(); in LayoutParams() 2986 if (screenBrightness != o.screenBrightness) { in copyFrom() 2987 screenBrightness = o.screenBrightness; in copyFrom() 3158 if (screenBrightness != BRIGHTNESS_OVERRIDE_NONE) { in toString() 3160 sb.append(screenBrightness); in toString() 3244 proto.write(SCREEN_BRIGHTNESS, screenBrightness); in writeToProto()
|
/frameworks/base/core/java/android/os/ |
D | PowerManagerInternal.java | 142 int screenState, int screenBrightness); in setDozeOverrideFromDreamManager() argument
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 3239 int screenState, int screenBrightness) { in setDozeOverrideFromDreamManagerInternal() argument 3242 || mDozeScreenBrightnessOverrideFromDreamManager != screenBrightness) { in setDozeOverrideFromDreamManagerInternal() 3244 mDozeScreenBrightnessOverrideFromDreamManager = screenBrightness; in setDozeOverrideFromDreamManagerInternal() 4912 public void setScreenBrightnessOverrideFromWindowManager(int screenBrightness) { in setScreenBrightnessOverrideFromWindowManager() argument 4913 if (screenBrightness < PowerManager.BRIGHTNESS_DEFAULT in setScreenBrightnessOverrideFromWindowManager() 4914 || screenBrightness > PowerManager.BRIGHTNESS_ON) { in setScreenBrightnessOverrideFromWindowManager() 4915 screenBrightness = PowerManager.BRIGHTNESS_DEFAULT; in setScreenBrightnessOverrideFromWindowManager() 4917 setScreenBrightnessOverrideFromWindowManagerInternal(screenBrightness); in setScreenBrightnessOverrideFromWindowManager() 4921 public void setDozeOverrideFromDreamManager(int screenState, int screenBrightness) { in setDozeOverrideFromDreamManager() argument 4935 if (screenBrightness < PowerManager.BRIGHTNESS_DEFAULT in setDozeOverrideFromDreamManager() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarWindowController.java | 414 mLpChanged.screenBrightness = mScreenBrightnessDoze; in applyBrightness() 416 mLpChanged.screenBrightness = LayoutParams.BRIGHTNESS_OVERRIDE_NONE; in applyBrightness()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RootWindowContainer.java | 897 if (!syswin && w.mAttrs.screenBrightness >= 0 && mScreenBrightness < 0) { in handleNotObscuredLocked() 898 mScreenBrightness = w.mAttrs.screenBrightness; in handleNotObscuredLocked()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 34792 field public float screenBrightness;
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 53295 field public float screenBrightness;
|
/frameworks/base/api/ |
D | current.txt | 53439 field public float screenBrightness;
|