Home
last modified time | relevance | path

Searched refs:specular (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DEmbossMaskFilter.java29 public EmbossMaskFilter(float[] direction, float ambient, float specular, float blurRadius) { in EmbossMaskFilter() argument
33 native_instance = nativeConstructor(direction, ambient, specular, blurRadius); in EmbossMaskFilter()
36 …private static native long nativeConstructor(float[] direction, float ambient, float specular, flo… in nativeConstructor() argument
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
DMaterial.java84 float specular = .0f; in simpleSetup() local
94 mColor[p + SPEC] = (byte) (255 * specular); in simpleSetup()
119 float specular = .0f; in setup() local
124 mMaterialProp[i].mSpecular = specular; in setup()
155 float specular = (material[i].length > 4) ? material[i][4] / 100.f : .2f; in setup() local
159 mMaterialProp[i].mSpecular = specular; in setup()
184 float specular = .0f; in setup() local
189 mMaterialProp[i].mSpecular = specular; in setup()
271 float specular = m[k].mSpecular * t1 + m[k + 1].mSpecular * t2; in buildMaterialProp() local
280 mColor[p + SPEC] = (byte) (255 * specular); in buildMaterialProp()
Dvr.rs272 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/
DMaskFilter.cpp31 …mboss(JNIEnv* env, jobject, jfloatArray dirArray, jfloat ambient, jfloat specular, jfloat radius) { in createEmboss() argument
42 direction, ambient, specular); in createEmboss()
/frameworks/native/opengl/libagl/
Dlight.cpp75 init_white(c->lighting.lights[0].specular); in ogles_init_light()
85 c->lighting.front.specular.a = 0x10000; in ogles_init_light()
254 vmul3(l.implicitSpecular.v, material.specular.v, l.specular.v); in validate_light()
326 vmul3(l.implicitSpecular.v, material.specular.v, l.specular.v); in lightVertexMaterial()
533 what = light.specular.v; in lightxv()
771 case GL_SPECULAR: what = c->lighting.front.specular.v; break; in glMaterialfv()
811 case GL_SPECULAR: what = c->lighting.front.specular.v; break; in glMaterialxv()
Dcontext.h289 vec4_t specular; member
309 vec4_t specular; member
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DEmbossMaskFilter_Delegate.java59 float specular, float blurRadius) { in nativeConstructor() argument
/frameworks/base/docs/html/ndk/downloads/
Drevision_history.jd1243 <li>Solved a problem with Tegra 2 and 3 chips by changing specular
1244 variables to use medium precision. Values for specular power can now be less