HomeSort by relevance Sort by last modified time
    Searched refs:Light (Results 1 - 18 of 18) sorted by null

  /external/skia/src/effects/
SkEmbossMask.h 25 static void Emboss(SkMask* mask, const SkEmbossMaskFilter::Light&);
SkEmbossMaskFilter.cpp 46 SkEmbossMaskFilter::Light light; local
48 memcpy(light.fDirection, direction, sizeof(light.fDirection));
49 light.fAmbient = SkToU8(am);
50 light.fSpecular = SkToU8(sp);
52 return SkNEW_ARGS(SkEmbossMaskFilter, (light, blurRadius));
66 SkEmbossMaskFilter::SkEmbossMaskFilter(const Light& light, SkScalar blurRadius)
67 : fLight(light), fBlurRadius(blurRadius)
107 Light light = fLight; local
    [all...]
SkEmbossMask.cpp 88 void SkEmbossMask::Emboss(SkMask* mask, const SkEmbossMaskFilter::Light& light) {
93 int specular = light.fSpecular;
94 int ambient = light.fAmbient;
95 SkFixed lx = SkScalarToFixed(light.fDirection[0]);
96 SkFixed ly = SkScalarToFixed(light.fDirection[1]);
97 SkFixed lz = SkScalarToFixed(light.fDirection[2]);
139 // R = 2 (Light * Normal) Normal - Light
150 // value in the light, and just pass that in to this function
    [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);
55 Light fLight;
  /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) {
183 mLights[i] = new Light(i);
192 public Light getLight(int id) {
199 Light light = (Light)msg.obj
    [all...]
NotificationManagerService.java 88 private LightsService.Light mNotificationLight;
89 private LightsService.Light mAttentionLight;
292 // light
349 // Keep track of screen on/off state, but do not turn off the notification light
    [all...]
BatteryService.java 547 private LightsService.Light mBatteryLight;
PowerManagerService.java 103 // How long to wait to debounce light sensor changes in milliseconds
106 // light sensor events rate in microseconds
199 private LightsService.Light mLcdLight;
200 private LightsService.Light mButtonLight;
201 private LightsService.Light mKeyboardLight;
202 private LightsService.Light mAttentionLight;
    [all...]
  /external/skia/samplecode/
SampleEmboss.cpp 23 SkEmbossMaskFilter::Light fLight;
SampleAll.cpp 434 SkEmbossMaskFilter::Light light; local
435 light.fDirection[0] = SK_Scalar1/2;
436 light.fDirection[1] = SK_Scalar1/2;
437 light.fDirection[2] = SK_Scalar1/3;
438 light.fAmbient = 0x48;
439 light.fSpecular = 0x80;
441 SkEmbossMaskFilter* embossFilter = new SkEmbossMaskFilter(light,
  /external/webkit/Source/WebCore/platform/graphics/qt/
FontPlatformDataQt.cpp 35 return QFont::Light; // QFont::Light == Weight of 25
  /external/v8/benchmarks/
raytrace.js 57 // flog/light.js
195 Flog.RayTracer.Light = Class.create();
197 Flog.RayTracer.Light.prototype = {
209 return 'Light [' + this.position.x + ',' + this.position.y + ',' + this.position.z + ']';
716 var light = scene.lights[i];
720 light.position,
732 light.color,
785 light.position
800 Flog.RayTracer.Color.prototype.multiplyScalar(light.color, glossWeight),
866 var light = new Flog.RayTracer.Light
    [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/v8-v4/
v8-raytrace.js 52 // flog/light.js
190 Flog.RayTracer.Light = Class.create();
192 Flog.RayTracer.Light.prototype = {
210 return 'Light [' + this.position.x + ',' + this.position.y + ',' + this.position.z + ']';
742 var light = scene.lights[i];
746 light.position,
758 light.color,
811 light.position
826 Flog.RayTracer.Color.prototype.multiplyScalar(light.color, glossWeight),
892 var light = new Flog.RayTracer.Light
    [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/v8-v5/
v8-raytrace.js 52 // flog/light.js
190 Flog.RayTracer.Light = Class.create();
192 Flog.RayTracer.Light.prototype = {
210 return 'Light [' + this.position.x + ',' + this.position.y + ',' + this.position.z + ']';
742 var light = scene.lights[i];
746 light.position,
758 light.color,
811 light.position
826 Flog.RayTracer.Color.prototype.multiplyScalar(light.color, glossWeight),
892 var light = new Flog.RayTracer.Light
    [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/v8-v6/
v8-raytrace.js 52 // flog/light.js
190 Flog.RayTracer.Light = Class.create();
192 Flog.RayTracer.Light.prototype = {
204 return 'Light [' + this.position.x + ',' + this.position.y + ',' + this.position.z + ']';
711 var light = scene.lights[i];
715 light.position,
727 light.color,
780 light.position
795 Flog.RayTracer.Color.prototype.multiplyScalar(light.color, glossWeight),
861 var light = new Flog.RayTracer.Light
    [all...]
  /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...]
  /external/wpa_supplicant_8/wpa_supplicant/
nmake.mak 172 # If using Win32 OpenSSL binary installation from Shining Light Productions,
  /external/mesa3d/src/mesa/main/
mtypes.h 620 * Light source state.
648 GLfloat _VP_inf_norm[3]; /**< Norm direction to infinite light */
654 GLfloat _MatAmbient[2][3]; /**< material ambient * light ambient */
655 GLfloat _MatDiffuse[2][3]; /**< material diffuse * light diffuse */
656 GLfloat _MatSpecular[2][3]; /**< material spec * light specular */
657 GLfloat _dli; /**< CI diffuse light intensity */
658 GLfloat _sli; /**< CI specular light intensity */
664 * Light model state.
871 * Light state flags.
886 struct gl_light Light[MAX_LIGHTS]; /**< Array of light sources *
    [all...]

Completed in 678 milliseconds