Home
last modified time | relevance | path

Searched refs:green (Results 1 – 11 of 11) sorted by relevance

/device/google/accessory/demokit/app/src/com/google/android/DemoKit/
DColorWheelLEDController.java19 int green = Color.green(color) / 8; in colorChanged() local
23 mActivity.sendCommand(DemoKitActivity.LED_SERVO_COMMAND,(byte)1,(byte)green); in colorChanged()
27 mActivity.sendCommand(DemoKitActivity.LED_SERVO_COMMAND,(byte)4,(byte)green); in colorChanged()
31 mActivity.sendCommand(DemoKitActivity.LED_SERVO_COMMAND,(byte)7,(byte)green); in colorChanged()
DColorWheel.java150 int g = ave(Color.green(c0), Color.green(c1), p); in interpColor()
159 int g = Color.green(color); in rotateColor()
/device/samsung/manta/liblights/
Dlights.c100 int green = (color >> 8) & 0x000000ff; in rgb_to_brightness() local
104 if (green > brightness) in rgb_to_brightness()
105 brightness = green; in rgb_to_brightness()
137 unsigned int green; in set_led_colors() local
142 green = (color >> 8) & 0x000000ff; in set_led_colors()
146 if (green < white) in set_led_colors()
147 white = green; in set_led_colors()
/device/lge/hammerhead/liblight/
Dlights.c125 int red, green, blue; in set_light_locked() local
150 green = (colorRGB >> 8) & 0xFF; in set_light_locked()
156 green = 0; in set_light_locked()
163 write_int(GREEN_LED_FILE, green); in set_light_locked()
/device/generic/goldfish/opengl/tests/gles_android_wrapper/
Dgles.cpp61 void glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) in glClearColor() argument
63 getDispatch()->glClearColor(red, green, blue, alpha); in glClearColor()
76 void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) in glColor4f() argument
78 getDispatch()->glColor4f(red, green, blue, alpha); in glColor4f()
286 void glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) in glClearColorx() argument
288 getDispatch()->glClearColorx(red, green, blue, alpha); in glClearColorx()
311 void glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) in glColor4ub() argument
313 getDispatch()->glColor4ub(red, green, blue, alpha); in glColor4ub()
316 void glColor4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) in glColor4x() argument
318 getDispatch()->glColor4x(red, green, blue, alpha); in glColor4x()
[all …]
/device/asus/fugu/recovery/
Drecovery_ui.cpp118 current_mode.green.offset = 8; in SetupDisplayMode()
119 current_mode.green.length = 8; in SetupDisplayMode()
/device/generic/goldfish/opengl/system/GLESv1_enc/
Dgl_entry.cpp10 void glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
13 void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
55 void glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
59 void glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
60 void glColor4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
61 void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
185 void glClearColorxOES(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
189 void glColor4xOES(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
315 void glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) in glClearColor() argument
318 ctx->glClearColor(ctx, red, green, blue, alpha); in glClearColor()
[all …]
Dgl_enc.cpp36 void glClearColor_enc(void *self , GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) in glClearColor_enc() argument
49 memcpy(ptr, &green, 4); ptr += 4; in glClearColor_enc()
87 void glColor4f_enc(void *self , GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) in glColor4f_enc() argument
100 memcpy(ptr, &green, 4); ptr += 4; in glColor4f_enc()
821 void glClearColorx_enc(void *self , GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) in glClearColorx_enc() argument
834 memcpy(ptr, &green, 4); ptr += 4; in glClearColorx_enc()
884 void glColor4ub_enc(void *self , GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) in glColor4ub_enc() argument
897 memcpy(ptr, &green, 1); ptr += 1; in glColor4ub_enc()
902 void glColor4x_enc(void *self , GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) in glColor4x_enc() argument
915 memcpy(ptr, &green, 4); ptr += 4; in glColor4x_enc()
[all …]
/device/generic/goldfish/opengl/system/GLESv2_enc/
Dgl2_entry.cpp16 void glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
25 void glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
28 void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
268 void glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) in glBlendColor() argument
271 ctx->glBlendColor(ctx, red, green, blue, alpha); in glBlendColor()
322 void glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) in glClearColor() argument
325 ctx->glClearColor(ctx, red, green, blue, alpha); in glClearColor()
340 void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) in glColorMask() argument
343 ctx->glColorMask(ctx, red, green, blue, alpha); in glColorMask()
Dgl2_enc.cpp134 void glBlendColor_enc(void *self , GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) in glBlendColor_enc() argument
147 memcpy(ptr, &green, 4); ptr += 4; in glBlendColor_enc()
294 void glClearColor_enc(void *self , GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) in glClearColor_enc() argument
307 memcpy(ptr, &green, 4); ptr += 4; in glClearColor_enc()
342 void glColorMask_enc(void *self , GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) in glColorMask_enc() argument
355 memcpy(ptr, &green, 1); ptr += 1; in glColorMask_enc()
/device/lge/hammerhead/
Dinit.hammerhead.rc133 chown system system /sys/class/leds/green/on_off_ms