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.java105 public void setFlashing(int color, int mode, int onMS, int offMS) { in setFlashing() argument
107 setLightLocked(color, mode, onMS, offMS, BRIGHTNESS_MODE_USER); in setFlashing()
117 public void pulse(int color, int onMS) { in pulse() argument
120 setLightLocked(color, LIGHT_FLASH_HARDWARE, onMS, 1000, in pulse()
123 mH.sendMessageDelayed(Message.obtain(mH, 1, this), onMS); in pulse() local
161 private void setLightLocked(int color, int mode, int onMS, int offMS, int brightnessMode) { in setLightLocked() argument
168 if (!mInitialized || color != mColor || mode != mMode || onMS != mOnMS || in setLightLocked()
176 mOnMS = onMS; in setLightLocked()
182 setLight_native(mId, color, mode, onMS, offMS, brightnessMode); in setLightLocked()
252 int onMS, int offMS, int brightnessMode); in setLight_native() argument
DLight.java53 public abstract void setFlashing(int color, int mode, int onMS, int offMS); in setFlashing() argument
55 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()