Searched refs:ambient (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
H A DEmbossMaskFilter.java24 * @param ambient 0...1 amount of ambient light
29 public EmbossMaskFilter(float[] direction, float ambient, float specular, float blurRadius) { argument
33 native_instance = nativeConstructor(direction, ambient, specular, blurRadius);
36 private static native long nativeConstructor(float[] direction, float ambient, float specular, float blurRadius); argument
/frameworks/base/libs/hwui/tests/microbench/
H A DShadowBench.cpp73 const SkPath& shape, VertexBuffer* ambient, VertexBuffer* spot) {
77 testData.lightRadius, *ambient, *spot);
87 VertexBuffer ambient; local
89 tessellateShadows(shadowData, true, path, &ambient, &spot);
90 benchmark::DoNotOptimize(&ambient);
104 std::unique_ptr<VertexBuffer> ambient(new VertexBuffer);
106 tessellateShadows(shadowData, false, path, ambient.get(), spot.get());
107 benchmark::DoNotOptimize(ambient.get());
72 tessellateShadows(ShadowTestData& testData, bool opaque, const SkPath& shape, VertexBuffer* ambient, VertexBuffer* spot) argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DEmbossMaskFilter_Delegate.java58 /*package*/ static long nativeConstructor(float[] direction, float ambient, argument
/frameworks/native/opengl/libagl/
H A Dlight.cpp68 c->lighting.lights[i].ambient.a = 0x10000;
77 c->lighting.front.ambient.r =
78 c->lighting.front.ambient.g =
79 c->lighting.front.ambient.b = gglFloatToFixed(0.2f);
80 c->lighting.front.ambient.a = 0x10000;
88 c->lighting.lightModel.ambient.r =
89 c->lighting.lightModel.ambient.g =
90 c->lighting.lightModel.ambient.b = gglFloatToFixed(0.2f);
91 c->lighting.lightModel.ambient.a = 0x10000;
252 vmul3(l.implicitAmbient.v, material.ambient
[all...]
H A Dcontext.h287 vec4_t ambient; member in struct:android::gl::light_t
307 vec4_t ambient; member in struct:android::gl::material_t
315 vec4_t ambient; member in struct:android::gl::light_model_t
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A DMaterial.java27 * RGB, Opacity diffuse specular, ambient
85 float ambient = .3f;
95 mColor[p + AMB] = (byte) (255 * ambient);
120 float ambient = .3f;
123 mMaterialProp[i].mAmbient = ambient;
153 float ambient = (material[i].length > 2) ? material[i][2] / 100.f : .2f;
158 mMaterialProp[i].mAmbient = ambient;
185 float ambient = .3f;
188 mMaterialProp[i].mAmbient = ambient;
272 float ambient
[all...]
H A Dvr.rs168 float ambient = mat.x * (1/255.f);
171 float lop = (ambient + diffuse * dot_prod) * light * opf;
271 float ambient = mat.x * (1/255.f); // ambient
274 float lop = (ambient + diffuse * dot_prod + specular * pow(spec, 10)) * light * opf;
/frameworks/base/core/jni/android/graphics/
H A DMaskFilter.cpp31 static jlong createEmboss(JNIEnv* env, jobject, jfloatArray dirArray, jfloat ambient, jfloat specular, jfloat radius) { argument
42 direction, ambient, specular);
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java219 // Set to true if the owner of this window is in ambient mode,
1126 public void setIsAmbientMode(boolean ambient) { argument
1127 mIsAmbientMode = ambient;

Completed in 384 milliseconds