OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:onMS
(Results
1 - 6
of
6
) 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) {
122
mOnMS =
onMS
;
124
setLight_native(mNativePointer, mId, color, mode,
onMS
, offMS, brightnessMode);
208
int
onMS
, int offMS, int brightnessMode)
[
all
...]
/device/lge/hammerhead/liblight/
lights.c
126
int
onMS
, offMS;
132
onMS
= state->flashOnMS;
137
onMS
= 0;
145
ALOGD("set_light_locked mode %d, colorRGB=%08X,
onMS
=%d, offMS=%d\n",
146
state->flashMode, colorRGB,
onMS
, offMS);
154
if (
onMS
== 0) {
166
write_on_off(RED_TIMEOUT_FILE,
onMS
, offMS);
167
write_on_off(GREEN_TIMEOUT_FILE,
onMS
, offMS);
168
write_on_off(BLUE_TIMEOUT_FILE,
onMS
, offMS);
/hardware/qcom/display/msm8960/liblight/
lights.c
148
int
onMS
, offMS;
153
onMS
= state->flashOnMS;
158
onMS
= 0;
166
ALOGD("set_speaker_light_locked mode %d, colorRGB=%08X,
onMS
=%d, offMS=%d\n",
167
state->flashMode, colorRGB,
onMS
, offMS);
170
if (
onMS
> 0 && offMS > 0) {
171
int totalMS =
onMS
+ offMS;
179
pwm = (
onMS
* 255) / totalMS;
/hardware/qcom/display/msm8974/liblight/
lights.c
148
int
onMS
, offMS;
153
onMS
= state->flashOnMS;
158
onMS
= 0;
166
ALOGD("set_speaker_light_locked mode %d, colorRGB=%08X,
onMS
=%d, offMS=%d\n",
167
state->flashMode, colorRGB,
onMS
, offMS);
170
if (
onMS
> 0 && offMS > 0) {
171
int totalMS =
onMS
+ offMS;
179
pwm = (
onMS
* 255) / totalMS;
/hardware/qcom/display/msm8x26/liblight/
lights.c
148
int
onMS
, offMS;
153
onMS
= state->flashOnMS;
158
onMS
= 0;
166
ALOGD("set_speaker_light_locked mode %d, colorRGB=%08X,
onMS
=%d, offMS=%d\n",
167
state->flashMode, colorRGB,
onMS
, offMS);
170
if (
onMS
> 0 && offMS > 0) {
171
int totalMS =
onMS
+ offMS;
179
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 1510 milliseconds