Searched refs:specular (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/graphics/java/android/graphics/ |
D | EmbossMaskFilter.java | 32 public EmbossMaskFilter(float[] direction, float ambient, float specular, float blurRadius) { in EmbossMaskFilter() argument 36 native_instance = nativeConstructor(direction, ambient, specular, blurRadius); in EmbossMaskFilter() 39 …private static native long nativeConstructor(float[] direction, float ambient, float specular, flo… in nativeConstructor() argument
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Material.java | 84 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()
|
D | vr.rscript | 169 // 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/libs/hwui/jni/ |
D | MaskFilter.cpp | 34 …mboss(JNIEnv* env, jobject, jfloatArray dirArray, jfloat ambient, jfloat specular, jfloat radius) { in createEmboss() argument 45 direction, ambient, specular).release(); in createEmboss()
|