Searched refs:specular (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
H A DEmbossMaskFilter.java25 * @param specular coefficient for specular highlights (e.g. 8)
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/tools/layoutlib/bridge/src/android/graphics/
H A DEmbossMaskFilter_Delegate.java59 float specular, float blurRadius) {
58 nativeConstructor(float[] direction, float ambient, float specular, float blurRadius) argument
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A DMaterial.java27 * RGB, Opacity diffuse specular, ambient
84 float specular = .0f;
94 mColor[p + SPEC] = (byte) (255 * specular);
119 float specular = .0f;
124 mMaterialProp[i].mSpecular = specular;
155 float specular = (material[i].length > 4) ? material[i][4] / 100.f : .2f;
159 mMaterialProp[i].mSpecular = specular;
184 float specular = .0f;
189 mMaterialProp[i].mSpecular = specular;
271 float specular
[all...]
H A Dvr.rs169 // float specular = mat.y * (1/255.f);
272 float specular = mat.y * (1/255.f); // specular not used right now
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/native/opengl/libagl/
H A Dlight.cpp75 init_white(c->lighting.lights[0].specular);
85 c->lighting.front.specular.a = 0x10000;
254 vmul3(l.implicitSpecular.v, material.specular.v, l.specular.v);
256 // this is just a flag to tell if we have a specular component
326 vmul3(l.implicitSpecular.v, material.specular.v, l.specular.v);
327 // this is just a flag to tell if we have a specular component
404 // specular
533 what = light.specular
[all...]
H A Dcontext.h289 vec4_t specular; member in struct:android::gl::light_t
309 vec4_t specular; member in struct:android::gl::material_t

Completed in 160 milliseconds