/frameworks/base/core/java/android/hardware/display/ |
D | DisplayManagerInternal.java | 211 public int screenBrightness; field in DisplayManagerInternal.DisplayPowerRequest 250 screenBrightness = PowerManager.BRIGHTNESS_ON; in DisplayPowerRequest() 274 screenBrightness = other.screenBrightness; in copyFrom() 296 && screenBrightness == other.screenBrightness in equals() 318 + ", screenBrightness=" + screenBrightness in toString()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeScreenBrightnessTest.java | 76 assertEquals(DEFAULT_BRIGHTNESS, mServiceFake.screenBrightness); in testInitialize_setsScreenBrightnessToValidValue() 77 assertTrue(mServiceFake.screenBrightness <= PowerManager.BRIGHTNESS_ON); in testInitialize_setsScreenBrightnessToValidValue() 87 assertEquals(3, mServiceFake.screenBrightness); in testAod_usesLightSensor() 102 assertEquals(2, mServiceFake.screenBrightness); in testPausingAod_doesntPauseLightSensor() 115 assertEquals(1, mServiceFake.screenBrightness); in testPausingAod_doesNotResetBrightness() 126 assertEquals(1, mServiceFake.screenBrightness); in testPulsing_usesLightSensor() 140 assertEquals(DEFAULT_BRIGHTNESS, mServiceFake.screenBrightness); in testDozingAfterPulsing_pausesLightSensor() 163 assertNotEquals(1, mServiceFake.screenBrightness); in testNoBrightnessDeliveredAfterFinish() 174 assertEquals(1, mServiceFake.screenBrightness); in testNonPositiveBrightness_keepsPreviousBrightnessAndScrim()
|
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 | 226 int screenBrightness) { in startDozingInternal() argument 230 + ", screenBrightness=" + screenBrightness); in startDozingInternal() 236 mCurrentDreamDozeScreenBrightness = screenBrightness; in startDozingInternal() 238 screenState, screenBrightness); in startDozingInternal() 608 public void startDozing(IBinder token, int screenState, int screenBrightness) { in startDozing() argument 616 startDozingInternal(token, screenState, screenBrightness); in startDozing()
|
/frameworks/base/core/java/android/view/ |
D | WindowManager.java | 1757 public float screenBrightness = BRIGHTNESS_OVERRIDE_NONE; field in WindowManager.LayoutParams 2117 out.writeFloat(screenBrightness); in writeToParcel() 2172 screenBrightness = in.readFloat(); in LayoutParams() 2338 if (screenBrightness != o.screenBrightness) { in copyFrom() 2339 screenBrightness = o.screenBrightness; in copyFrom() 2499 if (screenBrightness != BRIGHTNESS_OVERRIDE_NONE) { in toString() 2501 sb.append(screenBrightness); in toString()
|
/frameworks/base/core/java/android/service/dreams/ |
D | IDreamManager.aidl | 34 void startDozing(in IBinder token, int screenState, int screenBrightness); in startDozing() argument
|
/frameworks/base/core/java/android/os/ |
D | PowerManagerInternal.java | 122 int screenState, int screenBrightness); in setDozeOverrideFromDreamManager() argument
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 2319 int screenBrightness = mScreenBrightnessSettingDefault; in updateDisplayPowerStateLocked() local 2329 screenBrightness = mScreenBrightnessForVrSetting; in updateDisplayPowerStateLocked() 2332 screenBrightness = mScreenBrightnessOverrideFromWindowManager; in updateDisplayPowerStateLocked() 2336 screenBrightness = mTemporaryScreenBrightnessSettingOverride; in updateDisplayPowerStateLocked() 2338 screenBrightness = mScreenBrightnessSetting; in updateDisplayPowerStateLocked() 2341 screenBrightness = mScreenBrightnessSettingDefault; in updateDisplayPowerStateLocked() 2351 screenBrightness = Math.max(Math.min(screenBrightness, in updateDisplayPowerStateLocked() 2357 mDisplayPowerRequest.screenBrightness = screenBrightness; in updateDisplayPowerStateLocked() 3111 int screenState, int screenBrightness) { in setDozeOverrideFromDreamManagerInternal() argument 3114 || mDozeScreenBrightnessOverrideFromDreamManager != screenBrightness) { in setDozeOverrideFromDreamManagerInternal() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayPowerController.java | 386 int[] screenBrightness = resources.getIntArray( in DisplayPowerController() local 394 Spline screenAutoBrightnessSpline = createAutoBrightnessSpline(lux, screenBrightness); in DisplayPowerController() 397 + "(size " + screenBrightness.length + ") " in DisplayPowerController() 404 int bottom = clampAbsoluteBrightness(screenBrightness[0]); in DisplayPowerController() 739 brightness = clampScreenBrightness(mPowerRequest.screenBrightness); in updatePowerState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarWindowManager.java | 268 mLpChanged.screenBrightness = mScreenBrightnessDoze; in applyBrightness() 270 mLpChanged.screenBrightness = WindowManager.LayoutParams.BRIGHTNESS_OVERRIDE_NONE; in applyBrightness()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RootWindowContainer.java | 931 if (!syswin && w.mAttrs.screenBrightness >= 0 && mScreenBrightness < 0) { in handleNotObscuredLocked() 932 mScreenBrightness = w.mAttrs.screenBrightness; in handleNotObscuredLocked()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 34792 field public float screenBrightness;
|
/frameworks/base/api/ |
D | current.txt | 47122 field public float screenBrightness;
|
D | test-current.txt | 47586 field public float screenBrightness;
|
D | system-current.txt | 50713 field public float screenBrightness;
|