Home
last modified time | relevance | path

Searched refs:screenBrightness (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/hardware/display/
DDisplayManagerInternal.java211 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/
DDozeScreenBrightnessTest.java76 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()
DDozeServiceFake.java33 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/
DDreamManagerService.java226 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/
DWindowManager.java1757 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/
DIDreamManager.aidl34 void startDozing(in IBinder token, int screenState, int screenBrightness); in startDozing() argument
/frameworks/base/core/java/android/os/
DPowerManagerInternal.java122 int screenState, int screenBrightness); in setDozeOverrideFromDreamManager() argument
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java2319 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/
DDisplayPowerController.java386 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/
DStatusBarWindowManager.java268 mLpChanged.screenBrightness = mScreenBrightnessDoze; in applyBrightness()
270 mLpChanged.screenBrightness = WindowManager.LayoutParams.BRIGHTNESS_OVERRIDE_NONE; in applyBrightness()
/frameworks/base/services/core/java/com/android/server/wm/
DRootWindowContainer.java931 if (!syswin && w.mAttrs.screenBrightness >= 0 && mScreenBrightness < 0) { in handleNotObscuredLocked()
932 mScreenBrightness = w.mAttrs.screenBrightness; in handleNotObscuredLocked()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt34792 field public float screenBrightness;
/frameworks/base/api/
Dcurrent.txt47122 field public float screenBrightness;
Dtest-current.txt47586 field public float screenBrightness;
Dsystem-current.txt50713 field public float screenBrightness;