/frameworks/base/graphics/java/android/graphics/ |
H A D | EmbossMaskFilter.java | 24 * @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 D | ShadowBench.cpp | 73 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 D | EmbossMaskFilter_Delegate.java | 58 /*package*/ static long nativeConstructor(float[] direction, float ambient, argument
|
/frameworks/native/opengl/libagl/ |
H A D | light.cpp | 68 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 D | context.h | 287 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 D | Material.java | 27 * 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 D | vr.rs | 168 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 D | MaskFilter.cpp | 31 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 D | ViewRootImpl.java | 219 // Set to true if the owner of this window is in ambient mode, 1126 public void setIsAmbientMode(boolean ambient) { argument 1127 mIsAmbientMode = ambient;
|