Home
last modified time | relevance | path

Searched refs:tri (Results 1 – 3 of 3) sorted by relevance

/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DViewMatrix.java224 private void calcLook(TriData tri, float[] voxelDim, int w, int h) { in calcLook() argument
228 for (int i = 0; i < tri.mVert.length; i += 3) { in calcLook()
229 maxx = Math.max(tri.mVert[i], maxx); in calcLook()
230 minx = Math.min(tri.mVert[i], minx); in calcLook()
231 maxy = Math.max(tri.mVert[i + 1], maxy); in calcLook()
232 miny = Math.min(tri.mVert[i + 1], miny); in calcLook()
233 maxz = Math.max(tri.mVert[i + 2], maxz); in calcLook()
234 minz = Math.min(tri.mVert[i + 2], minz); in calcLook()
261 public void look(char dir, TriData tri, float[] voxelDim, int w, int h) { in look() argument
262 calcLook(tri, w, h); in look()
[all …]
DTransform.java118 public void lookAt(TriData tri, int w, int h) { in lookAt() argument
119 mViewMatrix.lookAt(tri, mVoxelDim, w, h); in lookAt()
123 public void look(char dir, TriData tri, int w, int h) { in look() argument
124 mViewMatrix.look(dir, tri, mVoxelDim, w, h); in look()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DImageGradientColorizer.java53 int tri = Color.red(backgroundColor); in colorize() local
57 float tr = tri / 255f; in colorize()
65 lr, lg, lb, 0, tri - cLum, in colorize()