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.java69 public void setFlashing(int color, int mode, int onMS, int offMS) { in setFlashing() argument
71 setLightLocked(color, mode, onMS, offMS, BRIGHTNESS_MODE_USER); in setFlashing()
81 public void pulse(int color, int onMS) { in pulse() argument
84 setLightLocked(color, LIGHT_FLASH_HARDWARE, onMS, 1000, in pulse()
87 mH.sendMessageDelayed(Message.obtain(mH, 1, this), onMS); in pulse() local
125 private void setLightLocked(int color, int mode, int onMS, int offMS, int brightnessMode) { in setLightLocked() argument
132 if (!mInitialized || color != mColor || mode != mMode || onMS != mOnMS || in setLightLocked()
140 mOnMS = onMS; in setLightLocked()
146 setLight_native(mId, color, mode, onMS, offMS, brightnessMode); in setLightLocked()
216 int onMS, int offMS, int brightnessMode); in setLight_native() argument
DLight.java45 public abstract void setFlashing(int color, int mode, int onMS, int offMS); in setFlashing() argument
47 public abstract void pulse(int color, int onMS); in pulse() argument
/frameworks/base/services/core/jni/
Dcom_android_server_lights_LightsService.cpp108 jint onMS, in constructState() argument
121 state.flashOnMs = onMS; in constructState()
163 jint onMS, in setLight_native() argument
179 colorARGB, flashMode, onMS, offMS, brightnessMode); in setLight_native()