Home | History | Annotate | Download | only in lights

Lines Matching defs:onMS

69         public void setFlashing(int color, int mode, int onMS, int offMS) {
71 setLightLocked(color, mode, onMS, offMS, BRIGHTNESS_MODE_USER);
81 public void pulse(int color, int onMS) {
84 setLightLocked(color, LIGHT_FLASH_HARDWARE, onMS, 1000,
87 mH.sendMessageDelayed(Message.obtain(mH, 1, this), onMS);
125 private void setLightLocked(int color, int mode, int onMS, int offMS, int brightnessMode) {
132 if (!mInitialized || color != mColor || mode != mMode || onMS != mOnMS ||
140 mOnMS = onMS;
146 setLight_native(mId, color, mode, onMS, offMS, brightnessMode);
216 int onMS, int offMS, int brightnessMode);