/external/qemu/android/ |
hw-control.h | 18 * of a given light. 'light' is a string which can be one of: 26 const char* light,
|
ui-core-protocol.h | 33 const char* light,
|
/external/skia/src/effects/ |
SkEmbossMaskFilter.cpp | 41 SkEmbossMaskFilter::Light light; local 43 memcpy(light.fDirection, direction, sizeof(light.fDirection)); 44 light.fAmbient = SkToU8(am); 45 light.fSpecular = SkToU8(sp); 47 return SkNEW_ARGS(SkEmbossMaskFilter, (light, blurRadius)); 61 SkEmbossMaskFilter::SkEmbossMaskFilter(const Light& light, SkScalar blurRadius) 62 : fLight(light), fBlurRadius(blurRadius 100 Light light = fLight; local [all...] |
SkEmbossMask.cpp | 93 void SkEmbossMask::Emboss(SkMask* mask, const SkEmbossMaskFilter::Light& light) 99 int specular = light.fSpecular; 100 int ambient = light.fAmbient; 101 SkFixed lx = SkScalarToFixed(light.fDirection[0]); 102 SkFixed ly = SkScalarToFixed(light.fDirection[1]); 103 SkFixed lz = SkScalarToFixed(light.fDirection[2]); 149 // R = 2 (Light * Normal) Normal - Light 161 // value in the light, and just pass that in to this function [all...] |
/external/quake/quake/src/QW/client/ |
gl_rlight.c | 37 // light animations 38 // 'm' is normal light, 'a' is no light, 'z' is double bright 94 void R_RenderDlight (dlight_t *light) 104 rad = light->radius * 0.35; 106 VectorSubtract (light->origin, r_origin, v); 109 AddLightBlend (1, 0.5, 0, light->radius * 0.0003); 119 glColor4f (light->color[0], light->color[1], light->color[2] [all...] |
r_surf.c | 81 continue; // not lit by this light 251 // the fractional light values should range from 0 to (VID_GRADES - 1) << 16 328 int v, i, b, lightstep, lighttemp, light; local 349 light = lightright; 355 [(light & 0xFF00) + pix]; 356 light += lightstep; 378 int v, i, b, lightstep, lighttemp, light; local 399 light = lightright; 405 [(light & 0xFF00) + pix]; 406 light += lightstep 428 int v, i, b, lightstep, lighttemp, light; local 478 int v, i, b, lightstep, lighttemp, light; local 532 int lighttemp, lightstep, light; local [all...] |
r_light.c | 38 // light animations 39 // 'm' is normal light, 'a' is no light, 'z' is double bright 69 void R_MarkLights (dlight_t *light, int bit, mnode_t *node) 80 dist = DotProduct (light->origin, splitplane->normal) - splitplane->dist; 82 if (dist > light->radius) 84 R_MarkLights (light, bit, node->children[0]); 87 if (dist < -light->radius) 89 R_MarkLights (light, bit, node->children[1]); 105 R_MarkLights (light, bit, node->children[0]) [all...] |
/frameworks/base/services/jni/ |
com_android_server_LightsService.cpp | 107 int light, int colorARGB, int flashMode, int onMS, int offMS, int brightnessMode) 112 if (light < 0 || light >= LIGHT_COUNT || devices->lights[light] == NULL) { 123 devices->lights[light]->set_light(devices->lights[light], &state);
|
/external/quake/quake/src/WinQuake/ |
gl_rlight.cpp | 37 // light animations
38 // 'm' is normal light, 'a' is no light, 'z' is double bright
75 void R_RenderDlight (dlight_t *light)
82 rad = light->radius * 0.35;
84 VectorSubtract (light->origin, r_origin, v);
87 AddLightBlend (1, 0.5, 0, light->radius * 0.0003);
105 *pPos++ = light->origin[i] - vpn[i]*rad;
114 *pPos++ = light->origin[j] + vright[j]*cos(a)*rad
127 v[i] = light->origin[i] - vpn[i]*rad; [all...] |
r_surf.cpp | 81 continue; // not lit by this light
268 // the fractional light values should range from 0 to (VID_GRADES - 1) << 16
345 int v, i, b, lightstep, lighttemp, light;
local 366 light = lightright;
372 [(light & 0xFF00) + pix];
373 light += lightstep;
395 int v, i, b, lightstep, lighttemp, light;
local 416 light = lightright;
422 [(light & 0xFF00) + pix];
423 light += lightstep; 445 int v, i, b, lightstep, lighttemp, light; local 495 int v, i, b, lightstep, lighttemp, light; local 549 int lighttemp, lightstep, light; local [all...] |
r_light.cpp | 38 // light animations
39 // 'm' is normal light, 'a' is no light, 'z' is double bright
69 void R_MarkLights (dlight_t *light, int bit, mnode_t *node)
80 dist = DotProduct (light->origin, splitplane->normal) - splitplane->dist;
82 if (dist > light->radius)
84 R_MarkLights (light, bit, node->children[0]);
87 if (dist < -light->radius)
89 R_MarkLights (light, bit, node->children[1]);
105 R_MarkLights (light, bit, node->children[0]); [all...] |
/development/samples/GlobalTime/src/com/android/globaltime/ |
GLView.java | 57 * frustum and light intensities during application development. 105 * // Enable a light for the GLView to manipulate 152 * <li> la - ambient light (all RGB channels) 153 * <li> lar - ambient light red channel 154 * <li> lag - ambient light green channel 155 * <li> lab - ambient light blue channel 156 * <li> ld - diffuse light (all RGB channels) 157 * <li> ldr - diffuse light red channel 158 * <li> ldg - diffuse light green channel 159 * <li> ldb - diffuse light blue channe 900 float[] light = new float[4]; local [all...] |
/external/skia/include/effects/ |
SkEmbossMaskFilter.h | 24 This mask filter creates a 3D emboss look, by specifying a light and blur amount. 28 struct Light { 35 SkEmbossMaskFilter(const Light& light, SkScalar blurRadius); 54 Light fLight;
|
/device/htc/passion-common/libsensors/ |
nusensors.cpp | 49 light = 0, enumerator in enum:sensors_poll_context_t::__anon1345 71 return light; 81 mSensors[light] = new LightSensor(); 82 mPollFds[light].fd = mSensors[light]->getFd(); 83 mPollFds[light].events = POLLIN; 84 mPollFds[light].revents = 0;
|
LightSensor.cpp | 65 mPendingEvent.light = indexToValue(absinfo.value); 123 mPendingEvent.light = indexToValue(event->value);
|
/device/samsung/crespo/libsensors/ |
sensors.cpp | 82 { "GP2A Light sensor", 136 light = 0, enumerator in enum:sensors_poll_context_t::__anon1404 159 return light; 171 mSensors[light] = new LightSensor(); 172 mPollFds[light].fd = mSensors[light]->getFd(); 173 mPollFds[light].events = POLLIN; 174 mPollFds[light].revents = 0;
|
LightSensor.cpp | 31 This becomes a problem if the phone is turned off in bright light 134 mPendingEvent.light = indexToValue(event->value); 140 if (mEnabled && (mPendingEvent.light != mPreviousLight) && 145 mPreviousLight = mPendingEvent.light;
|
/external/skia/src/views/ |
SkWidgets.cpp | 235 SkEmbossMaskFilter::Light light; local 237 light.fDirection[0] = SK_Scalar1/2; 238 light.fDirection[1] = SK_Scalar1/2; 239 light.fDirection[2] = SK_Scalar1/3; 240 light.fAmbient = 0x48; 241 light.fSpecular = 0x80; 245 light.fDirection[0] = -light.fDirection[0]; 246 light.fDirection[1] = -light.fDirection[1] [all...] |
/frameworks/base/services/java/com/android/server/ |
LightsService.java | 49 * Light brightness is managed by a user setting. 54 * Light brightness is managed by a light sensor. 58 private final Light mLights[] = new Light[LIGHT_ID_COUNT]; 60 public final class Light { 62 private Light(int id) { 182 mLights[i] = new Light(i); 191 public Light getLight(int id) { 198 Light light = (Light)msg.obj [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
MatrixTrackingGL.java | 328 public void glLightf(int light, int pname, float param) { 329 mgl.glLightf(light, pname, param); 332 public void glLightfv(int light, int pname, float[] params, int offset) { 333 mgl.glLightfv(light, pname, params, offset); 336 public void glLightfv(int light, int pname, FloatBuffer params) { 337 mgl.glLightfv(light, pname, params); 340 public void glLightx(int light, int pname, int param) { 341 mgl.glLightx(light, pname, param); 344 public void glLightxv(int light, int pname, int[] params, int offset) { 345 mgl.glLightxv(light, pname, params, offset) [all...] |
/hardware/libhardware/include/hardware/ |
sensors_deprecated.h | 31 float light; member in union:__anon9520::__anon9521
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
DemoKitActivity.java | 93 private int light; field in class:DemoKitActivity.LightMsg 95 public LightMsg(int light) { 96 this.light = light; 100 return light;
|
/frameworks/base/opengl/java/android/opengl/ |
GLErrorWrapper.java | 426 public void glLightf(int light, int pname, float param) { 428 mgl.glLightf(light, pname, param); 432 public void glLightfv(int light, int pname, float[] params, int offset) { 434 mgl.glLightfv(light, pname, params, offset); 438 public void glLightfv(int light, int pname, FloatBuffer params) { 440 mgl.glLightfv(light, pname, params); 444 public void glLightx(int light, int pname, int param) { 446 mgl.glLightx(light, pname, param); 450 public void glLightxv(int light, int pname, int[] params, int offset) { 452 mgl.glLightxv(light, pname, params, offset) [all...] |
/device/htc/passion-common/ |
passion.mk | 29 frameworks/base/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
|
/external/grub/docs/ |
menu.lst | 82 color light-green/brown blink-red/blue
|