Home
last modified time | relevance | path

Searched refs:onMS (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/lights/
DLightsService.java314 public void setFlashing(int color, int mode, int onMS, int offMS) { in setFlashing() argument
316 setLightLocked(color, mode, onMS, offMS, BRIGHTNESS_MODE_USER); in setFlashing()
326 public void pulse(int color, int onMS) { in pulse() argument
329 setLightLocked(color, LIGHT_FLASH_HARDWARE, onMS, 1000, in pulse()
332 mH.postDelayed(this::stopFlashing, onMS); in pulse()
370 private void setLightLocked(int color, int mode, int onMS, int offMS, int brightnessMode) { in setLightLocked() argument
377 if (!mInitialized || color != mColor || mode != mMode || onMS != mOnMS || in setLightLocked()
387 mOnMS = onMS; in setLightLocked()
390 setLightUnchecked(color, mode, onMS, offMS, brightnessMode); in setLightLocked()
394 private void setLightUnchecked(int color, int mode, int onMS, int offMS, in setLightUnchecked() argument
[all …]
DLogicalLight.java75 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/
Dcom_android_server_lights_LightsService.cpp78 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()