Home
last modified time | relevance | path

Searched refs:light (Results 1 – 25 of 44) sorted by relevance

12

/external/skia/src/effects/
DSkEmbossMaskFilter.cpp41 SkEmbossMaskFilter::Light light; in CreateEmboss() local
43 memcpy(light.fDirection, direction, sizeof(light.fDirection)); in CreateEmboss()
44 light.fAmbient = SkToU8(am); in CreateEmboss()
45 light.fSpecular = SkToU8(sp); in CreateEmboss()
47 return SkNEW_ARGS(SkEmbossMaskFilter, (light, blurRadius)); in CreateEmboss()
61 SkEmbossMaskFilter::SkEmbossMaskFilter(const Light& light, SkScalar blurRadius) in SkEmbossMaskFilter() argument
62 : fLight(light), fBlurRadius(blurRadius) in SkEmbossMaskFilter()
100 Light light = fLight; in filterMask() local
101 matrix.mapVectors((SkVector*)(void*)light.fDirection, (SkVector*)(void*)fLight.fDirection, 1); in filterMask()
105 SkVector* vec = (SkVector*)(void*)light.fDirection; in filterMask()
[all …]
DSkEmbossMask.cpp93 void SkEmbossMask::Emboss(SkMask* mask, const SkEmbossMaskFilter::Light& light) in Emboss() argument
99 int specular = light.fSpecular; in Emboss()
100 int ambient = light.fAmbient; in Emboss()
101 SkFixed lx = SkScalarToFixed(light.fDirection[0]); in Emboss()
102 SkFixed ly = SkScalarToFixed(light.fDirection[1]); in Emboss()
103 SkFixed lz = SkScalarToFixed(light.fDirection[2]); in Emboss()
/external/skia/src/views/
DSkWidgets.cpp235 SkEmbossMaskFilter::Light light;
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];
249 light.fDirection[2] += SK_Scalar1/4;
251 paint->setMaskFilter(new SkEmbossMaskFilter(light, radius))->unref();
/external/webkit/WebCore/svg/
DSVGFEDiffuseLightingElement.cpp93 LightSource* light = 0; in findLights() local
99 light = lightNode->lightSource(); in findLights()
104 return light; in findLights()
DSVGFESpecularLightingElement.cpp75 LightSource* light = 0; in findLights() local
81 light = lightNode->lightSource(); in findLights()
86 return light; in findLights()
/external/webkit/WebCore/svg/graphics/filters/cg/
DSVGFEHelpersCg.mm85 CIFilter* getLightVectors(CIFilter* normals, const LightSource* light, float surfaceScale)
94 switch (light->type()) {
97 const DistantLightSource* dlight = static_cast<const DistantLightSource*>(light);
118 const PointLightSource* plight = static_cast<const PointLightSource*>(light);
123 const SpotLightSource* slight = static_cast<const SpotLightSource*>(light);
DSVGFEHelpersCg.h41 CIFilter* getLightVectors(CIFilter* normals, const LightSource* light, float surfaceScale);
/external/bzip2/
Dbzip.css8 #eeeeee very light gray pre background
9 #f2f2f9 very light blue nav table background
/external/qemu/android/
Dhw-control.h26 const char* light,
Dmain.c563 qemulator_light_brightness( void* opaque, const char* light, int value ) in qemulator_light_brightness() argument
567 …VERBOSE_PRINT(hw_control,"%s: light='%s' value=%d window=%p", __FUNCTION__, light, value, emulator… in qemulator_light_brightness()
568 if ( !strcmp(light, "lcd_backlight") ) { in qemulator_light_brightness()
/external/webkit/SunSpider/tests/
Dv8-raytrace.js742 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(
903 scene.lights.push(light);
D3d-raytrace.js226 var light = this.lights[i];
227 var toLight = sub(light, hit);
235 addVector(l, scale(light.colour, nl));
/external/webkit/V8Binding/v8/benchmarks/
Draytrace.js747 var light = scene.lights[i];
751 light.position,
763 light.color,
816 light.position
831 Flog.RayTracer.Color.prototype.multiplyScalar(light.color, glossWeight),
897 var light = new Flog.RayTracer.Light(
908 scene.lights.push(light);
/external/skia/include/effects/
DSkEmbossMaskFilter.h35 SkEmbossMaskFilter(const Light& light, SkScalar blurRadius);
/external/webkit/WebCore/rendering/
DRenderThemeSafari.cpp708 static float light[4] = { 1.0f, 1.0f, 1.0f, 0.15f }; in TopGradientInterpolate() local
712 outData[i] = (1.0f - a) * dark[i] + a * light[i]; in TopGradientInterpolate()
718 static float light[4] = { 1.0f, 1.0f, 1.0f, 0.3f }; in BottomGradientInterpolate() local
722 outData[i] = (1.0f - a) * dark[i] + a * light[i]; in BottomGradientInterpolate()
728 static float light[4] = { 0.0f, 0.0f, 0.0f, 0.0f }; in MainGradientInterpolate() local
732 outData[i] = (1.0f - a) * dark[i] + a * light[i]; in MainGradientInterpolate()
738 static float light[4] = { 0.0f, 0.0f, 0.0f, 0.13f }; in TrackGradientInterpolate() local
742 outData[i] = (1.0f - a) * dark[i] + a * light[i]; in TrackGradientInterpolate()
DRenderThemeMac.mm788 static float light[4] = { 1.0f, 1.0f, 1.0f, 0.15f };
792 outData[i] = (1.0f - a) * dark[i] + a * light[i];
798 static float light[4] = { 1.0f, 1.0f, 1.0f, 0.3f };
802 outData[i] = (1.0f - a) * dark[i] + a * light[i];
808 static float light[4] = { 0.0f, 0.0f, 0.0f, 0.0f };
812 outData[i] = (1.0f - a) * dark[i] + a * light[i];
818 static float light[4] = { 0.0f, 0.0f, 0.0f, 0.13f };
822 outData[i] = (1.0f - a) * dark[i] + a * light[i];
DRenderThemeChromiumMac.mm1160 static float light[4] = { 1.0f, 1.0f, 1.0f, 0.15f };
1164 outData[i] = (1.0f - a) * dark[i] + a * light[i];
1170 static float light[4] = { 1.0f, 1.0f, 1.0f, 0.3f };
1174 outData[i] = (1.0f - a) * dark[i] + a * light[i];
1180 static float light[4] = { 0.0f, 0.0f, 0.0f, 0.0f };
1184 outData[i] = (1.0f - a) * dark[i] + a * light[i];
1190 static float light[4] = { 0.0f, 0.0f, 0.0f, 0.13f };
1194 outData[i] = (1.0f - a) * dark[i] + a * light[i];
DRenderTextControl.cpp57 disabledColor = textColor.light(); in disabledTextColor()
DInlineTextBox.cpp214 return textColor.light(); in correctedTextColor()
/external/qemu/docs/
DANDROID-QEMUD-SERVICES.TXT57 1/ Client sends "power:light:brightness:<lightname>:<val>", where
58 <lightname> is the name of a light and <val> is an decimal value
59 between 0 (off) and 255 (brightest). Valid values for 'light' are:
/external/qemu/distrib/sdl-1.2.12/src/video/
DSDL_glfuncs.h111 SDL_PROC_UNUSED(void,glGetLightfv,(GLenum light, GLenum pname, GLfloat *params))
112 SDL_PROC_UNUSED(void,glGetLightiv,(GLenum light, GLenum pname, GLint *params))
156 SDL_PROC_UNUSED(void,glLightf,(GLenum light, GLenum pname, GLfloat param))
157 SDL_PROC_UNUSED(void,glLightfv,(GLenum light, GLenum pname, const GLfloat *params))
158 SDL_PROC_UNUSED(void,glLighti,(GLenum light, GLenum pname, GLint param))
159 SDL_PROC_UNUSED(void,glLightiv,(GLenum light, GLenum pname, const GLint *params))
/external/grub/docs/
Dmenu.lst82 color light-green/brown blink-red/blue
Dgrub.texi1425 color light-green/brown blink-red/blue
2259 light-gray
2267 light-blue
2270 light-green
2273 light-cyan
2276 light-red
2279 light-magenta
2298 color light-gray/blue black/light-gray
/external/webkit/WebCore/platform/graphics/
DColor.h99 Color light() const;
DColor.cpp212 Color Color::light() const in light() function in WebCore::Color

12