Home
last modified time | relevance | path

Searched refs:mat (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/services/sensorservice/
Dmat.h28 class mat; variable
33 mat<TYPE, C, R>& doAssign( in doAssign()
34 mat<TYPE, C, R>& lhs, in doAssign()
43 mat<TYPE, C, R> PURE doMul( in doMul()
44 const mat<TYPE, D, R>& lhs, in doMul()
45 const mat<TYPE, C, D>& rhs) in doMul()
47 mat<TYPE, C, R> res; in doMul()
62 const mat<TYPE, D, R>& lhs, in doMul()
77 mat<TYPE, C, R> PURE doMul( in doMul()
79 const mat<TYPE, C, 1>& rhs) in doMul()
[all …]
DFusion.h28 typedef mat<float, 3, 4> mat34_t;
56 mat<mat33_t, 2, 2> P;
61 mat<mat33_t, 2, 2> GQGt;
82 mat<mat33_t, 2, 2> Phi;
DFusion.cpp110 static mat<TYPE, R, R> scaleCovariance( in scaleCovariance()
111 const mat<TYPE, C, R>& A, in scaleCovariance()
112 const mat<TYPE, C, C>& P) { in scaleCovariance()
114 mat<TYPE, R, R> APAt; in scaleCovariance()
132 static mat<TYPE, 3, 3> crossMatrix(const vec<TYPE, 3>& p, OTHER_TYPE diag) { in crossMatrix()
133 mat<TYPE, 3, 3> r; in crossMatrix()
149 mat<TYPE, SIZE, SIZE> mSumXX;
159 mat<TYPE, SIZE, SIZE> operator()() const { in operator ()()
Dquat.h30 mat<TYPE, 3, 3> quatToMatrix(const vec<TYPE, 4>& q) { in quatToMatrix()
31 mat<TYPE, 3, 3> R; in quatToMatrix()
58 vec<TYPE, 4> matrixToQuat(const mat<TYPE, 3, 3>& R) { in matrixToQuat()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskViewThumbnail.java203 float[] mat = TMP_BRIGHTNESS_COLOR_MATRIX.getArray(); in updateThumbnailPaintFilter() local
204 mat[0] = scale; in updateThumbnailPaintFilter()
205 mat[6] = scale; in updateThumbnailPaintFilter()
206 mat[12] = scale; in updateThumbnailPaintFilter()
207 mat[4] = mDimAlpha * 255f; in updateThumbnailPaintFilter()
208 mat[9] = mDimAlpha * 255f; in updateThumbnailPaintFilter()
209 mat[14] = mDimAlpha * 255f; in updateThumbnailPaintFilter()
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
Dvr.rs165 uchar4 mat = rsGetElementAt_uchar4(color_map, intensity * 2 + 1);
168 float ambient = mat.x * (1/255.f);
170 float diffuse = mat.z * (1/255.f);
260 uchar4 mat = rsGetElementAt_uchar4(color_map, intensity * 2 + 1);
271 float ambient = mat.x * (1/255.f); // ambient
272 float specular = mat.y * (1/255.f); // specular not used right now
273 float diffuse = mat.z * (1/255.f);// diffuse
/frameworks/compile/slang/tests/P_matrix_cpp/
Dmatrix.rs5 rs_matrix4x4 mat;