HomeSort by relevance Sort by last modified time
    Searched refs:onMS (Results 1 - 3 of 3) sorted by null

  /frameworks/base/services/java/com/android/server/
LightsService.java 84 public void setFlashing(int color, int mode, int onMS, int offMS) {
86 setLightLocked(color, mode, onMS, offMS, BRIGHTNESS_MODE_USER);
95 public void pulse(int color, int onMS) {
98 setLightLocked(color, LIGHT_FLASH_HARDWARE, onMS, 1000, BRIGHTNESS_MODE_USER);
99 mH.sendMessageDelayed(Message.obtain(mH, 1, this), onMS);
116 private void setLightLocked(int color, int mode, int onMS, int offMS, int brightnessMode) {
117 if (color != mColor || mode != mMode || onMS != mOnMS || offMS != mOffMS) {
120 mOnMS = onMS;
122 setLight_native(mNativePointer, mId, color, mode, onMS, offMS, brightnessMode);
207 int onMS, int offMS, int brightnessMode)
    [all...]
  /hardware/msm7k/liblights/
lights.c 205 int onMS, offMS;
210 onMS = state->flashOnMS;
215 onMS = 0;
223 LOGD("set_speaker_light_locked colorRGB=%08X, onMS=%d, offMS=%d\n",
224 colorRGB, onMS, offMS);
249 if (onMS > 0 && offMS > 0) {
250 int totalMS = onMS + offMS;
258 pwm = (onMS * 255) / totalMS;
  /frameworks/base/services/jni/
com_android_server_LightsService.cpp 107 int light, int colorARGB, int flashMode, int onMS, int offMS, int brightnessMode)
119 state.flashOnMS = onMS;

Completed in 477 milliseconds