Searched refs:brightnessMode (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/jni/ |
D | com_android_server_lights_LightsService.cpp | 80 jint brightnessMode){ in constructState() argument 82 Brightness brightness = static_cast<Brightness>(brightnessMode); in constructState() 96 state.brightnessMode = brightness; in constructState() 118 state.brightnessMode); in processReturn() 134 jint brightnessMode) { in setLight_native() argument 140 if (!validate(light, flashMode, brightnessMode)) { in setLight_native() 146 colorARGB, flashMode, onMS, offMS, brightnessMode); in setLight_native()
|
/frameworks/base/services/core/java/com/android/server/lights/ |
D | LightsService.java | 257 public void setBrightness(int brightness, int brightnessMode) { in setBrightness() argument 260 if (brightnessMode == BRIGHTNESS_MODE_LOW_PERSISTENCE) { in setBrightness() 268 if (brightnessMode == BRIGHTNESS_MODE_USER && !shouldBeInLowPersistenceMode() in setBrightness() 283 setLightLocked(color, LIGHT_FLASH_NONE, 0, 0, brightnessMode); in setBrightness() 352 private void setLightLocked(int color, int mode, int onMS, int offMS, int brightnessMode) { in setLightLocked() argument 354 brightnessMode = BRIGHTNESS_MODE_LOW_PERSISTENCE; in setLightLocked() 355 } else if (brightnessMode == BRIGHTNESS_MODE_LOW_PERSISTENCE) { in setLightLocked() 356 brightnessMode = mLastBrightnessMode; in setLightLocked() 360 offMS != mOffMS || mBrightnessMode != brightnessMode) { in setLightLocked() 363 + Integer.toHexString(color) + ": brightnessMode=" + brightnessMode); in setLightLocked() [all …]
|
D | LogicalLight.java | 65 public abstract void setBrightness(int brightness, int brightnessMode); in setBrightness() argument
|