Home
last modified time | relevance | path

Searched refs:mLight (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/input/
DKeyboardBacklightController.java230 maybeBackupBacklightBrightness(inputDevice, state.mLight, in updateKeyboardBacklight()
389 if (state != null && state.mLight.getId() == keyboardBacklight.getId()) { in onInputDeviceChanged()
552 private final Light mLight; field in KeyboardBacklightController.KeyboardBacklightState
561 mLight = light; in KeyboardBacklightState()
569 int[] customLevels = mLight.getPreferredBrightnessLevels(); in setupBrightnessLevels()
624 int fromValue = Color.alpha(mNative.getLightColor(mDeviceId, mLight.getId())); in setBacklightValue()
631 mNative.setLightColor(mDeviceId, mLight.getId(), Color.argb(toValue, 0, 0, 0)); in setBacklightValue()
640 (animation) -> mNative.setLightColor(mDeviceId, mLight.getId(), in startAnimation()
647 return "KeyboardBacklightState{Light=" + mLight.getId() in toString()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Dvr.rscript33 static float3 mLight;
59 mLight = mLightRelitvePos.x + dx + mLightRelitvePos.y * dy + mLightRelitvePos.z * dz;
60 mLight = normalize(mLight);
263 // float3 mLight = (float3) {0,-1,0};
265 float3 r = 2 * normal * dot(mLight, normal) - mLight;
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java181 private Light mLight; field in NotificationRecord
247 mLight = calculateLights(); in NotificationRecord()
552 pw.println(prefix + "mLight= " + mLight); in dump()
1194 return mLight; in getLight()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationAttentionHelperTest.java136 @Mock LogicalLight mLight; field in NotificationAttentionHelperTest
253 mAttentionHelper.setLights(mLight); in initAttentionHelper()
623 verify(mLight, never()).setFlashing(anyInt(), anyInt(), anyInt(), anyInt()); in verifyNeverLights()
627 verify(mLight, times(1)).setFlashing(anyInt(), anyInt(), anyInt(), anyInt()); in verifyLights()
631 verify(mLight, times(1)).pulse(); in verifyAttentionLights()
635 verify(mLight, never()).pulse(); in verifyNeverAttentionLights()