Home
last modified time | relevance | path

Searched refs:mat (Results 1 – 12 of 12) 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/native/libs/vr/libdvrcommon/include/private/dvr/
Dlog_helpers.h34 const Eigen::AffineMatrix<T, 4>& mat) {
38 out << std::setw(10) << mat(0, 0) << " " << std::setw(10) << mat(0, 1) << " "
39 << std::setw(10) << mat(0, 2) << " " << std::setw(10) << mat(0, 3);
41 out << std::setw(10) << mat(1, 0) << " " << std::setw(10) << mat(1, 1) << " "
42 << std::setw(10) << mat(1, 2) << " " << std::setw(10) << mat(1, 3);
44 out << std::setw(10) << mat(2, 0) << " " << std::setw(10) << mat(2, 1) << " "
45 << std::setw(10) << mat(2, 2) << " " << std::setw(10) << mat(2, 3);
47 out << std::setw(10) << mat(3, 0) << " " << std::setw(10) << mat(3, 1) << " "
48 << std::setw(10) << mat(3, 2) << " " << std::setw(10) << mat(3, 3);
/frameworks/base/services/core/java/com/android/server/policy/
DIconUtilities.java136 float[] mat = brightnessMatrix.getArray(); in getDisabledColorFilter() local
137 mat[0] = scale; in getDisabledColorFilter()
138 mat[6] = scale; in getDisabledColorFilter()
139 mat[12] = scale; in getDisabledColorFilter()
140 mat[4] = brightnessI; in getDisabledColorFilter()
141 mat[9] = brightnessI; in getDisabledColorFilter()
142 mat[14] = brightnessI; in getDisabledColorFilter()
/frameworks/native/libs/math/include/math/
DTMatHelpers.h301 TQuaternion<typename MATRIX::value_type> extractQuat(const MATRIX& mat) { in extractQuat() argument
307 const T trace = mat[0][0] + mat[1][1] + mat[2][2]; in extractQuat()
315 quat.x = (mat[1][2] - mat[2][1]) * s; in extractQuat()
316 quat.y = (mat[2][0] - mat[0][2]) * s; in extractQuat()
317 quat.z = (mat[0][1] - mat[1][0]) * s; in extractQuat()
323 if (mat[1][1] > mat[0][0]) { i = 1; } in extractQuat()
324 if (mat[2][2] > mat[i][i]) { i = 2; } in extractQuat()
330 T s = std::sqrt((mat[i][i] - (mat[j][j] + mat[k][k])) + 1); in extractQuat()
335 quat.w = (mat[j][k] - mat[k][j]) * s; in extractQuat()
336 quat[j] = (mat[i][j] + mat[j][i]) * s; in extractQuat()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskViewThumbnail.java213 float[] mat = TMP_BRIGHTNESS_COLOR_MATRIX.getArray(); in updateThumbnailPaintFilter() local
214 mat[0] = scale; in updateThumbnailPaintFilter()
215 mat[6] = scale; in updateThumbnailPaintFilter()
216 mat[12] = scale; in updateThumbnailPaintFilter()
217 mat[4] = mDimAlpha * 255f; in updateThumbnailPaintFilter()
218 mat[9] = mDimAlpha * 255f; in updateThumbnailPaintFilter()
219 mat[14] = mDimAlpha * 255f; in updateThumbnailPaintFilter()
/frameworks/rs/tests/java_api/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;
/frameworks/support/work/integration-tests/testapp/src/main/assets/
Dadvs.txt1378 the door-mat. In that way I didn't know much of what was going on
10581 it," returned Holmes, going back to the mat to knock the snow from
Dcase.txt7697 upon the mat in the hall. The body was stiff and rigid, the eyes