/frameworks/native/services/sensorservice/ |
D | mat.h | 28 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 …]
|
D | Fusion.h | 28 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;
|
D | Fusion.cpp | 110 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 ()()
|
D | quat.h | 30 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/ |
D | log_helpers.h | 34 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/ |
D | IconUtilities.java | 136 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/ |
D | TMatHelpers.h | 301 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/native/services/surfaceflinger/tests/utils/ |
D | ColorUtils.h | 74 static void applyMatrix(half3& color, const mat3& mat) { in applyMatrix() argument 79 ret[i] = ret[i] + color[j] * mat[j][i]; in applyMatrix()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | vr.rscript | 165 uchar4 mat = rsGetElementAt_uchar4(color_map, intensity * 2 + 1); 168 float ambient = mat.x * (1/255.f); 169 // float specular = mat.y * (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/base/libs/hwui/pipeline/skia/ |
D | SkiaDisplayList.h | 164 void appendVD(VectorDrawableRoot* r, const SkMatrix& mat) { in appendVD() argument 165 mVectorDrawables.push_back(Pair<VectorDrawableRoot*, SkMatrix>(r, mat)); in appendVD()
|
D | SkiaDisplayList.cpp | 62 static bool intersects(const SkISize screenSize, const Matrix4& mat, const SkRect& bounds) { in intersects() argument 70 mat.mapPoint3d(point); in intersects()
|
D | SkiaRecordingCanvas.cpp | 167 SkMatrix mat; in drawVectorDrawable() local 168 this->getMatrix(&mat); in drawVectorDrawable() 169 mDisplayList->appendVD(tree, mat); in drawVectorDrawable()
|
/frameworks/compile/slang/tests/P_matrix_cpp/ |
D | matrix.rscript | 5 rs_matrix4x4 mat;
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverListAdapter.java | 573 float[] mat = tempBrightnessMatrix.getArray(); 574 mat[0] = scale; 575 mat[6] = scale; 576 mat[12] = scale; 577 mat[4] = grayValue; 578 mat[9] = grayValue; 579 mat[14] = grayValue;
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaDisplayListTests.cpp | 349 SkMatrix mat; in RENDERTHREAD_SKIA_PIPELINE_TEST() local 350 mat.setRotate(45, 50, 50); in RENDERTHREAD_SKIA_PIPELINE_TEST() 351 skiaDL.appendVD(&dirtyVD, mat); in RENDERTHREAD_SKIA_PIPELINE_TEST()
|