Home
last modified time | relevance | path

Searched refs:mMat (Results 1 – 9 of 9) sorted by relevance

/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DMatrix4f.java33 mMat = new float[16]; in Matrix4f()
45 mMat = new float[16]; in Matrix4f()
46 System.arraycopy(dataArray, 0, mMat, 0, mMat.length); in Matrix4f()
56 return mMat; in getArray()
68 return mMat[x*4 + y]; in get()
78 mMat[x*4 + y] = v; in set()
85 mMat[0] = 1; in loadIdentity()
86 mMat[1] = 0; in loadIdentity()
87 mMat[2] = 0; in loadIdentity()
88 mMat[3] = 0; in loadIdentity()
[all …]
DMatrix3f.java33 mMat = new float[9]; in Matrix3f()
45 mMat = new float[9]; in Matrix3f()
46 System.arraycopy(dataArray, 0, mMat, 0, mMat.length); in Matrix3f()
56 return mMat; in getArray()
68 return mMat[x*3 + y]; in get()
78 mMat[x*3 + y] = v; in set()
85 mMat[0] = 1; in loadIdentity()
86 mMat[1] = 0; in loadIdentity()
87 mMat[2] = 0; in loadIdentity()
89 mMat[3] = 0; in loadIdentity()
[all …]
DMatrix2f.java33 mMat = new float[4]; in Matrix2f()
45 mMat = new float[4]; in Matrix2f()
46 System.arraycopy(dataArray, 0, mMat, 0, mMat.length); in Matrix2f()
56 return mMat; in getArray()
68 return mMat[x*2 + y]; in get()
78 mMat[x*2 + y] = v; in set()
85 mMat[0] = 1; in loadIdentity()
86 mMat[1] = 0; in loadIdentity()
88 mMat[2] = 0; in loadIdentity()
89 mMat[3] = 1; in loadIdentity()
[all …]
DFieldPacker.java565 for (int i=0; i < v.mMat.length; i++) { in addMatrix()
566 addF32(v.mMat[i]); in addMatrix()
572 for (int i = v.mMat.length - 1; i >= 0; i--) { in subMatrix4f()
573 v.mMat[i] = subF32(); in subMatrix4f()
579 for (int i=0; i < v.mMat.length; i++) { in addMatrix()
580 addF32(v.mMat[i]); in addMatrix()
586 for (int i = v.mMat.length - 1; i >= 0; i--) { in subMatrix3f()
587 v.mMat[i] = subF32(); in subMatrix3f()
593 for (int i=0; i < v.mMat.length; i++) { in addMatrix()
594 addF32(v.mMat[i]); in addMatrix()
[all …]
/frameworks/base/rs/java/android/renderscript/
DMatrix4f.java32 mMat = new float[16]; in Matrix4f()
44 mMat = new float[16]; in Matrix4f()
45 System.arraycopy(dataArray, 0, mMat, 0, mMat.length); in Matrix4f()
55 return mMat; in getArray()
67 return mMat[x*4 + y]; in get()
77 mMat[x*4 + y] = v; in set()
84 mMat[0] = 1; in loadIdentity()
85 mMat[1] = 0; in loadIdentity()
86 mMat[2] = 0; in loadIdentity()
87 mMat[3] = 0; in loadIdentity()
[all …]
DMatrix3f.java30 mMat = new float[9]; in Matrix3f()
42 mMat = new float[9]; in Matrix3f()
43 System.arraycopy(dataArray, 0, mMat, 0, mMat.length); in Matrix3f()
53 return mMat; in getArray()
65 return mMat[x*3 + y]; in get()
75 mMat[x*3 + y] = v; in set()
82 mMat[0] = 1; in loadIdentity()
83 mMat[1] = 0; in loadIdentity()
84 mMat[2] = 0; in loadIdentity()
86 mMat[3] = 0; in loadIdentity()
[all …]
DMatrix2f.java30 mMat = new float[4]; in Matrix2f()
42 mMat = new float[4]; in Matrix2f()
43 System.arraycopy(dataArray, 0, mMat, 0, mMat.length); in Matrix2f()
53 return mMat; in getArray()
65 return mMat[x*2 + y]; in get()
75 mMat[x*2 + y] = v; in set()
82 mMat[0] = 1; in loadIdentity()
83 mMat[1] = 0; in loadIdentity()
85 mMat[2] = 0; in loadIdentity()
86 mMat[3] = 1; in loadIdentity()
[all …]
DFieldPacker.java564 for (int i=0; i < v.mMat.length; i++) { in addMatrix()
565 addF32(v.mMat[i]); in addMatrix()
571 for (int i = v.mMat.length - 1; i >= 0; i--) { in subMatrix4f()
572 v.mMat[i] = subF32(); in subMatrix4f()
578 for (int i=0; i < v.mMat.length; i++) { in addMatrix()
579 addF32(v.mMat[i]); in addMatrix()
585 for (int i = v.mMat.length - 1; i >= 0; i--) { in subMatrix3f()
586 v.mMat[i] = subF32(); in subMatrix3f()
592 for (int i=0; i < v.mMat.length; i++) { in addMatrix()
593 addF32(v.mMat[i]); in addMatrix()
[all …]
DProgramVertexFixedFunction.java246 mIOBuffer.addF32(m.mMat[i]); in addToBuffer()