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

  /external/skia/src/effects/
SkEmbossMask.h 25 static void Emboss(SkMask* mask, const SkEmbossMaskFilter::Light&);
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...]
  /frameworks/base/libs/rs/
rsLight.h 29 class Light : public ObjectBase
32 Light(Context *, bool isLocal, bool isMono);
33 virtual ~Light();
rsLight.cpp 25 Light::Light(Context *rsc, bool isLocal, bool isMono) : ObjectBase(rsc)
43 Light::~Light()
47 void Light::setPosition(float x, float y, float z)
54 void Light::setColor(float r, float g, float b)
61 void Light::setupGL(uint32_t num) const
109 Light *l = new Light(rsc, rsc->mStateLight.mIsLocal,
117 Light *l = static_cast<Light *>(vl)
    [all...]
rsProgramVertex.h 43 void addLight(const Light *);
58 ObjectBaseRef<const Light> mLights[MAX_LIGHTS];
rsProgramVertex.cpp 88 const Light *l = mLights[ct].get();
277 void ProgramVertex::addLight(const Light *l)
  /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;
  /frameworks/base/graphics/java/android/renderscript/
Light.java 26 public class Light extends BaseObj {
27 Light(int id, RenderScript rs) {
61 static synchronized Light internalCreate(RenderScript rs, Builder b) {
66 return new Light(id, rs);
69 public Light create() {
  /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...]
NotificationManagerService.java 91 private LightsService.Light mBatteryLight;
92 private LightsService.Light mNotificationLight;
93 private LightsService.Light mAttentionLight;
299 // light
    [all...]
PowerManagerService.java 99 // How long to wait to debounce light sensor changes.
187 private LightsService.Light mLcdLight;
188 private LightsService.Light mButtonLight;
189 private LightsService.Light mKeyboardLight;
190 private LightsService.Light mAttentionLight;
    [all...]
  /external/webkit/WebCore/platform/graphics/qt/
FontPlatformData.h 91 return QFont::Light; // QFont::Light == Weight of 25
  /frameworks/base/libs/rs/java/Film/src/com/android/film/
FilmRS.java 90 private Light mLight;
137 mLight = (new Light.Builder(mRS)).create();
  /external/v8/benchmarks/
raytrace.js 57 // flog/light.js
195 Flog.RayTracer.Light = Class.create();
197 Flog.RayTracer.Light.prototype = {
215 return 'Light [' + this.position.x + ',' + this.position.y + ',' + this.position.z + ']';
747 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
    [all...]
  /external/webkit/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/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...]

Completed in 310 milliseconds