Searched refs:onMS (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/lights/ |
D | LightsService.java | 296 public void setFlashing(int color, int mode, int onMS, int offMS) { in setFlashing() argument 298 setLightLocked(color, mode, onMS, offMS, BRIGHTNESS_MODE_USER); in setFlashing() 308 public void pulse(int color, int onMS) { in pulse() argument 311 setLightLocked(color, LIGHT_FLASH_HARDWARE, onMS, 1000, in pulse() 314 mH.postDelayed(this::stopFlashing, onMS); in pulse() 352 private void setLightLocked(int color, int mode, int onMS, int offMS, int brightnessMode) { in setLightLocked() argument 359 if (!mInitialized || color != mColor || mode != mMode || onMS != mOnMS || in setLightLocked() 369 mOnMS = onMS; in setLightLocked() 372 setLightUnchecked(color, mode, onMS, offMS, brightnessMode); in setLightLocked() 376 private void setLightUnchecked(int color, int mode, int onMS, int offMS, in setLightUnchecked() argument [all …]
|
D | LogicalLight.java | 75 public abstract void setFlashing(int color, int mode, int onMS, int offMS); in setFlashing() argument 85 public abstract void pulse(int color, int onMS); in pulse() argument
|
/frameworks/base/services/core/jni/ |
D | com_android_server_lights_LightsService.cpp | 78 jint onMS, in constructState() argument 91 state.flashOnMs = onMS; in constructState() 132 jint onMS, in setLight_native() argument 146 colorARGB, flashMode, onMS, offMS, brightnessMode); in setLight_native()
|