/external/skia/src/views/ |
SkWidgets.cpp | 242 SkEmbossMaskFilter::Light light; local 244 light.fDirection[0] = SK_Scalar1/2; 245 light.fDirection[1] = SK_Scalar1/2; 246 light.fDirection[2] = SK_Scalar1/3; 247 light.fAmbient = 0x48; 248 light.fSpecular = 0x80; 252 light.fDirection[0] = -light.fDirection[0]; 253 light.fDirection[1] = -light.fDirection[1] [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/scene/ |
TestSceneLoading.java | 38 import com.jme3.light.AmbientLight; 39 import com.jme3.light.DirectionalLight;
|
/external/jmonkeyengine/engine/src/test/jme3test/tools/ |
TestTextureAtlas.java | 35 import com.jme3.light.AmbientLight; 36 import com.jme3.light.DirectionalLight;
|
/device/samsung/manta/libsensors/ |
sensors.cpp | 64 { "BH1721fvc Light sensor", 127 light, enumerator in enum:sensors_poll_context_t::__anon2405 155 return light; 195 mSensors[light] = new LightSensor(); 196 mPollFds[light].fd = mSensors[light]->getFd(); 197 mPollFds[light].events = POLLIN; 198 mPollFds[light].revents = 0;
|
/external/jmonkeyengine/engine/src/test/jme3test/animation/ |
TestCameraMotionPath.java | 44 import com.jme3.light.DirectionalLight; 123 Material mat = new Material(assetManager, "Common/MatDefs/Light/Lighting.j3md"); 129 Material matSoil = new Material(assetManager, "Common/MatDefs/Light/Lighting.j3md"); 144 DirectionalLight light = new DirectionalLight(); local 145 light.setDirection(new Vector3f(0, -1, 0).normalizeLocal()); 146 light.setColor(ColorRGBA.White.mult(1.5f)); 147 rootNode.addLight(light);
|
TestMotionPath.java | 43 import com.jme3.light.DirectionalLight; 116 Material mat = new Material(assetManager, "Common/MatDefs/Light/Lighting.j3md"); 122 Material matSoil = new Material(assetManager, "Common/MatDefs/Light/Lighting.j3md"); 138 DirectionalLight light = new DirectionalLight(); local 139 light.setDirection(new Vector3f(0, -1, 0).normalizeLocal()); 140 light.setColor(ColorRGBA.White.mult(1.5f)); 141 rootNode.addLight(light);
|
/external/jmonkeyengine/engine/src/test/jme3test/terrain/ |
TerrainTest.java | 39 import com.jme3.light.DirectionalLight; 40 import com.jme3.light.PointLight; 168 DirectionalLight light = new DirectionalLight(); local 169 light.setDirection((new Vector3f(-0.5f, -1f, -0.5f)).normalize()); 170 rootNode.addLight(light);
|
/external/jmonkeyengine/engine/src/test/jme3test/light/ |
TestSpotLight.java | 33 package jme3test.light; 36 import com.jme3.light.AmbientLight; 37 import com.jme3.light.SpotLight; 80 lightMdl = new Geometry("Light", new Sphere(10, 10, 0.1f));
|
TestTangentGen.java | 33 package jme3test.light; 36 import com.jme3.light.DirectionalLight; 37 import com.jme3.light.PointLight;
|
TestTangentGenBadModels.java | 1 package jme3test.light; 8 import com.jme3.light.DirectionalLight; 9 import com.jme3.light.PointLight; 43 Material mat = new Material(assetManager, "Common/MatDefs/Light/Lighting.j3md"); 88 lightMdl = new Geometry("Light", new Sphere(10, 10, 0.1f)); 116 mat = new Material(assetManager, "Common/MatDefs/Light/Lighting.j3md");
|
TestTransparentShadow.java | 33 package jme3test.light; 38 import com.jme3.light.AmbientLight; 39 import com.jme3.light.DirectionalLight;
|
/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...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
Float4Param.java | 88 mData.light = mLight.getRSData().getAllocation(); 89 mField.set_light(0, mData.light, true); 97 Log.e(TAG, "Invalid light index."); 138 mData.light = mLight.getRSData().getAllocation();
|
/external/chromium_org/native_client_sdk/src/examples/demo/earth/ |
example.js | 78 // light slider 79 var light = message_event.data['value']; 80 document.getElementById('lightRange').value = light;
|
/device/lge/hammerhead/libsensors/ |
sensors.cpp | 52 .name = "Light Sensor", 128 light, enumerator in enum:sensors_poll_context_t::__anon2018 163 return light; 214 mSensor[light] = new LightSensor(); 215 mPollFds[light].fd = mSensor[light]->getFd(); 216 mPollFds[light].events = POLLIN; 217 mPollFds[light].revents = 0; 224 if (mPollFds[light].fd < 0 || mPollFds[proximity].fd < 0) {
|
/external/jmonkeyengine/engine/src/test/jme3test/material/ |
TestBumpModel.java | 36 import com.jme3.light.DirectionalLight; 37 import com.jme3.light.PointLight; 66 lightMdl = new Geometry("Light", new Sphere(10, 10, 0.1f)); 70 // flourescent main light 75 // sunset light 87 // white ambient light
|
/external/jmonkeyengine/engine/src/test/jme3test/model/ |
TestMonkeyHead.java | 36 import com.jme3.light.DirectionalLight; 37 import com.jme3.light.PointLight; 63 lightMdl = new Geometry("Light", new Sphere(10, 10, 0.1f)); 67 // flourescent main light 72 // sunset light 84 // white ambient light
|
TestOgreLoading.java | 35 import com.jme3.light.DirectionalLight;
36 import com.jme3.light.PointLight;
64 // sunset light
71 lightMdl = new Geometry("Light", new Sphere(10, 10, 0.1f));
75 lightMd2 = new Geometry("Light", new Sphere(10, 10, 0.1f));
|
/external/jmonkeyengine/engine/src/test/jme3test/model/anim/ |
TestAnimationFactory.java | 6 import com.jme3.light.AmbientLight;
7 import com.jme3.light.DirectionalLight;
|
TestSpatialAnim.java | 7 import com.jme3.light.AmbientLight;
8 import com.jme3.light.DirectionalLight;
|
/external/jmonkeyengine/engine/src/test/jme3test/post/ |
TestTransparentSSAO.java | 4 import com.jme3.light.AmbientLight; 5 import com.jme3.light.DirectionalLight;
|
/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...] |
/external/jmonkeyengine/engine/src/core/com/jme3/light/ |
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...] |
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...] |
/external/jmonkeyengine/engine/src/test/jme3test/blender/ |
TestBlenderLoader.java | 36 import com.jme3.light.DirectionalLight; 60 // sunset light 72 // white ambient light
|