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

1 2

  /external/skia/src/effects/
SkEmbossMask.h 17 static void Emboss(SkMask* mask, const SkEmbossMaskFilter::Light&);
SkEmbossMaskFilter.cpp 38 SkEmbossMaskFilter::Light light; local
40 memcpy(light.fDirection, direction, sizeof(light.fDirection));
41 light.fAmbient = SkToU8(am);
42 light.fSpecular = SkToU8(sp);
44 return SkNEW_ARGS(SkEmbossMaskFilter, (light, blurRadius));
58 SkEmbossMaskFilter::SkEmbossMaskFilter(const Light& light, SkScalar blurRadius)
59 : fLight(light), fBlurRadius(blurRadius)
99 Light light = fLight; local
    [all...]
SkEmbossMask.cpp 81 void SkEmbossMask::Emboss(SkMask* mask, const SkEmbossMaskFilter::Light& light) {
86 int specular = light.fSpecular;
87 int ambient = light.fAmbient;
88 SkFixed lx = SkScalarToFixed(light.fDirection[0]);
89 SkFixed ly = SkScalarToFixed(light.fDirection[1]);
90 SkFixed lz = SkScalarToFixed(light.fDirection[2]);
132 // R = 2 (Light * Normal) Normal - Light
143 // value in the light, and just pass that in to this function
    [all...]
  /external/skia/include/effects/
SkEmbossMaskFilter.h 17 This mask filter creates a 3D emboss look, by specifying a light and blur amount.
21 struct Light {
28 SkEmbossMaskFilter(const Light& light, SkScalar blurRadius);
50 Light fLight;
  /external/jmonkeyengine/engine/src/core/com/jme3/light/
AmbientLight.java 1 package com.jme3.light;
6 * An ambient light adds a constant color to the scene.
10 * multiplied by the ambient light color to get the final ambient color of
15 public class AmbientLight extends Light {
LightList.java 33 package com.jme3.light;
47 public final class LightList implements Iterable<Light>, Savable, Cloneable {
49 private Light[] list, tlist;
56 private static final Comparator<Light> c = new Comparator<Light>() {
60 public int compare(Light l1, Light l2) {
83 list = new Light[DEFAULT_SIZE];
98 Light[] temp = new Light[list.length * 2]
    [all...]
Light.java 33 package com.jme3.light;
41 * Abstract class for representing a light source.
43 * All light source types have a color.
45 public abstract class Light implements Savable, Cloneable {
48 * Describes the light type.
53 * Directional light
60 * Point light
67 * Spot light.
74 * Ambient light
87 * Returns an index for the light typ
    [all...]
PointLight.java 32 package com.jme3.light;
44 * Represents a point light.
45 * A point light emits light from a given position into all directions in space.
46 * E.g a lamp or a bright effect. Point light positions are in world space.
49 * can be used to attenuate the influence of the light depending on the
50 * distance between the light and the effected object.
53 public class PointLight extends Light {
70 * Returns the world space position of the light.
72 * @return the world space position of the light.
    [all...]
DirectionalLight.java 33 package com.jme3.light;
44 * <code>DirectionalLight</code> is a light coming from a certain direction in world space.
45 * E.g sun or moon light.
50 public class DirectionalLight extends Light {
60 * Returns the direction vector of the light.
62 * @return The direction vector of the light.
71 * Sets the direction of the light.
73 * Represents the vector direction the light is coming from.
74 * (1, 0, 0) would represent a directional light coming from the X axis.
76 * @param dir the direction of the light
    [all...]
SpotLight.java 32 package com.jme3.light;
42 * Represents a spot light.
43 * A spot light emmit a cone of light from a position and in a direction.
47 * can be used to attenuate the influence of the light depending on the
48 * distance between the light and the effected object.
50 * the spot inner angle determin the cone of light where light has full influence.
51 * the spot outer angle determin the cone global cone of light of the spot light
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/
LightNode.java 34 import com.jme3.light.Light;
39 * <code>LightNode</code> is used to link together a {@link Light} object
54 public LightNode(String name, Light light) {
55 this(name, new LightControl(light));
82 public void setLight(Light light) {
83 lightControl.setLight(light);
90 public Light getLight()
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/shadow/
ShadowCamera.java 34 import com.jme3.light.DirectionalLight;
35 import com.jme3.light.Light;
36 import com.jme3.light.PointLight;
41 * Creates a camera according to a light
42 * Handy to compute projection matrix of a light
48 private Light target;
50 public ShadowCamera(Light target) {
58 * Updates the camera view direction and position based on the light
61 if (target.getType() == Light.Type.Directional) {
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
LightControl.java 36 import com.jme3.light.DirectionalLight;
37 import com.jme3.light.Light;
38 import com.jme3.light.PointLight;
57 * Means, that the Light's transform is "copied"
63 * to the Transform of the light.
67 private Light light; field in class:LightControl
77 * @param light The light to be synced
    [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) {
183 mLights[i] = new Light(i);
192 public Light getLight(int id) {
199 Light light = (Light)msg.obj
    [all...]
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/
BlenderModelLoader.java 36 import com.jme3.light.Light;
69 }else if (object instanceof Light){
70 modelRoot.addLight( (Light) object );
AbstractBlenderLoader.java 37 import com.jme3.light.AmbientLight;
38 import com.jme3.light.Light;
86 } else if(object instanceof Light) {
87 result.addLight((Light)object);
112 * This method converts the given structure to a light.
114 * structure of a light
115 * @return light's node
117 public Light toLight(Structure structure) throws BlenderFileException {
177 // reading ambient light
    [all...]
BlenderLoader.java 40 import com.jme3.light.Light;
100 } else if (object instanceof Light) {
102 loadingResults.addLight((Light) object);
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/lights/
LightHelper.java 35 import com.jme3.light.DirectionalLight;
36 import com.jme3.light.Light;
37 import com.jme3.light.PointLight;
38 import com.jme3.light.SpotLight;
50 * A class that is used in light calculations.
69 public Light toLight(Structure structure, BlenderContext blenderContext) throws BlenderFileException {
70 Light result = (Light) blenderContext.getLoadedFeature(structure.getOldMemoryAddress(), LoadedFeatureDataType.LOADED_FEATURE);
105 throw new BlenderFileException("Unknown light source type: " + type);
    [all...]
  /external/skia/samplecode/
SampleEmboss.cpp 30 SkEmbossMaskFilter::Light fLight;
  /external/jmonkeyengine/engine/src/blender/com/jme3/asset/
BlenderKey.java 42 import com.jme3.light.AmbientLight;
43 import com.jme3.light.Light;
505 private List<Light> lights;
534 lights = new ArrayList<Light>();
603 * This method adds a light to the result set.
604 * @param light
605 * light to be added to the result set
608 public void addLight(Light light) {
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/qt/
FontPlatformDataQt.cpp 35 return QFont::Light; // QFont::Light == Weight of 25
  /external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
TriangleCollector.java 35 import com.jme3.light.Light;
237 for (Light light : inGeom.getWorldLightList()){
238 outGeom.addLight(light);
  /frameworks/base/data/fonts/
fonts.mk 27 Roboto-Light.ttf \
Android.mk 135 $(eval $(call create-font-symlink,Roboto-Light.ttf,Roboto-Regular.ttf))
146 Roboto-Light.ttf \
  /frameworks/base/services/java/com/android/server/power/
DisplayPowerState.java 59 private final LightsService.Light mBacklight;
75 DisplayBlanker displayBlanker, LightsService.Light backlight) {

Completed in 163 milliseconds

1 2