Home
last modified time | relevance | path

Searched refs:red (Results 1 – 13 of 13) sorted by relevance

/device/google/accessory/demokit/app/src/com/google/android/DemoKit/
DColorWheelLEDController.java18 int red = Color.red(color) / 8; in colorChanged() local
22 mActivity.sendCommand(DemoKitActivity.LED_SERVO_COMMAND,(byte)0,(byte)red); in colorChanged()
26 mActivity.sendCommand(DemoKitActivity.LED_SERVO_COMMAND,(byte)3,(byte)red); in colorChanged()
30 mActivity.sendCommand(DemoKitActivity.LED_SERVO_COMMAND,(byte)6,(byte)red); in colorChanged()
DColorWheel.java149 int r = ave(Color.red(c0), Color.red(c1), p); in interpColor()
158 int r = Color.red(color); in rotateColor()
/device/lge/hammerhead/liblight/
Dlights.c125 int red, green, blue; in set_light_locked() local
149 red = (colorRGB >> 16) & 0xFF; in set_light_locked()
155 red = 0; in set_light_locked()
162 write_int(RED_LED_FILE, red); in set_light_locked()
/device/samsung/manta/liblights/
Dlights.c99 int red = (color >> 16) & 0x000000ff; in rgb_to_brightness() local
103 int brightness = red; in rgb_to_brightness()
136 unsigned int red; in set_led_colors() local
141 red = (color >> 16) & 0x000000ff; in set_led_colors()
145 white = red; in set_led_colors()
/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/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.h25 void glClearColor_enc(void *self , GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
28 void glColor4f_enc(void *self , GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
70 void glClearColorx_enc(void *self , GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
74 void glColor4ub_enc(void *self , GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
75 void glColor4x_enc(void *self , GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
76 void glColorMask_enc(void *self , GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
200 …void glClearColorxOES_enc(void *self , GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha…
204 void glColor4xOES_enc(void *self , GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
Dgl_enc.cpp33 void glClearColor_enc(void *self , GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) in glClearColor_enc() argument
45 memcpy(ptr, &red, 4); ptr += 4; in glClearColor_enc()
84 void glColor4f_enc(void *self , GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) in glColor4f_enc() argument
96 memcpy(ptr, &red, 4); ptr += 4; in glColor4f_enc()
818 void glClearColorx_enc(void *self , GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) in glClearColorx_enc() argument
830 memcpy(ptr, &red, 4); ptr += 4; in glClearColorx_enc()
881 void glColor4ub_enc(void *self , GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) in glColor4ub_enc() argument
893 memcpy(ptr, &red, 1); ptr += 1; in glColor4ub_enc()
899 void glColor4x_enc(void *self , GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) in glColor4x_enc() argument
911 memcpy(ptr, &red, 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.h32 void glBlendColor_enc(void *self , GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
41 void glClearColor_enc(void *self , GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
44 void glColorMask_enc(void *self , GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
Dgl2_enc.cpp131 void glBlendColor_enc(void *self , GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) in glBlendColor_enc() argument
143 memcpy(ptr, &red, 4); ptr += 4; in glBlendColor_enc()
291 void glClearColor_enc(void *self , GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) in glClearColor_enc() argument
303 memcpy(ptr, &red, 4); ptr += 4; in glClearColor_enc()
339 void glColorMask_enc(void *self , GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) in glColorMask_enc() argument
351 memcpy(ptr, &red, 1); ptr += 1; in glColorMask_enc()
/device/lge/hammerhead/
Dinit.hammerhead.rc130 chown system system /sys/class/leds/red/on_off_ms
133 chown system system /sys/class/leds/red/rgb_start
/device/lge/mako/
Dinit.mako.rc207 chown system system /sys/class/leds/red/device/lock