Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeScreenBrightnessTest.java82 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()
170 assertEquals(DEFAULT_BRIGHTNESS, mServiceFake.screenBrightness); in testDozingAfterPulsing_pausesLightSensor()
194 assertNotEquals(1, mServiceFake.screenBrightness); in testNoBrightnessDeliveredAfterFinish()
[all …]
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.java225 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/
DIDreamManager.aidl38 void startDozing(in IBinder token, int screenState, int screenBrightness); in startDozing() argument
/frameworks/base/core/java/android/os/
DPowerManagerInternal.java142 int screenState, int screenBrightness); in setDozeOverrideFromDreamManager() argument
/frameworks/base/core/java/android/view/
DWindowManager.java2249 public float screenBrightness = BRIGHTNESS_OVERRIDE_NONE; field in WindowManager.LayoutParams
2738 out.writeFloat(screenBrightness); in writeToParcel()
2794 screenBrightness = in.readFloat(); in LayoutParams()
2964 if (screenBrightness != o.screenBrightness) { in copyFrom()
2965 screenBrightness = o.screenBrightness; in copyFrom()
3136 if (screenBrightness != BRIGHTNESS_OVERRIDE_NONE) { in toString()
3138 sb.append(screenBrightness); in toString()
3222 proto.write(SCREEN_BRIGHTNESS, screenBrightness); in writeToProto()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java3191 int screenState, int screenBrightness) { in setDozeOverrideFromDreamManagerInternal() argument
3194 || mDozeScreenBrightnessOverrideFromDreamManager != screenBrightness) { in setDozeOverrideFromDreamManagerInternal()
3196 mDozeScreenBrightnessOverrideFromDreamManager = screenBrightness; in setDozeOverrideFromDreamManagerInternal()
4863 public void setScreenBrightnessOverrideFromWindowManager(int screenBrightness) { in setScreenBrightnessOverrideFromWindowManager() argument
4864 if (screenBrightness < PowerManager.BRIGHTNESS_DEFAULT in setScreenBrightnessOverrideFromWindowManager()
4865 || screenBrightness > PowerManager.BRIGHTNESS_ON) { in setScreenBrightnessOverrideFromWindowManager()
4866 screenBrightness = PowerManager.BRIGHTNESS_DEFAULT; in setScreenBrightnessOverrideFromWindowManager()
4868 setScreenBrightnessOverrideFromWindowManagerInternal(screenBrightness); in setScreenBrightnessOverrideFromWindowManager()
4872 public void setDozeOverrideFromDreamManager(int screenState, int screenBrightness) { in setDozeOverrideFromDreamManager() argument
4886 if (screenBrightness < PowerManager.BRIGHTNESS_DEFAULT in setDozeOverrideFromDreamManager()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowController.java369 mLpChanged.screenBrightness = mScreenBrightnessDoze; in applyBrightness()
371 mLpChanged.screenBrightness = WindowManager.LayoutParams.BRIGHTNESS_OVERRIDE_NONE; in applyBrightness()
/frameworks/base/services/core/java/com/android/server/wm/
DRootWindowContainer.java897 if (!syswin && w.mAttrs.screenBrightness >= 0 && mScreenBrightness < 0) { in handleNotObscuredLocked()
898 mScreenBrightness = w.mAttrs.screenBrightness; in handleNotObscuredLocked()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...