/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/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/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/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | TaskViewThumbnail.java | 213 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/ |
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 | 161 void appendVD(VectorDrawableRoot* r, const SkMatrix& mat) { in appendVD() argument 162 mVectorDrawables.push_back(Pair<VectorDrawableRoot*, SkMatrix>(r, mat)); in appendVD()
|
D | SkiaRecordingCanvas.cpp | 155 SkMatrix mat; in drawVectorDrawable() local 156 this->getMatrix(&mat); in drawVectorDrawable() 157 mDisplayList->appendVD(tree, mat); in drawVectorDrawable()
|
D | SkiaDisplayList.cpp | 55 static bool intersects(const SkISize screenSize, const Matrix4& mat, const SkRect& bounds) { in intersects() argument 63 mat.mapPoint3d(point); in intersects()
|
/frameworks/compile/slang/tests/P_matrix_cpp/ |
D | matrix.rscript | 5 rs_matrix4x4 mat;
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaDisplayListTests.cpp | 350 SkMatrix mat; in RENDERTHREAD_SKIA_PIPELINE_TEST() local 351 mat.setRotate(45, 50, 50); in RENDERTHREAD_SKIA_PIPELINE_TEST() 352 skiaDL.appendVD(&dirtyVD, mat); in RENDERTHREAD_SKIA_PIPELINE_TEST()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverActivity.java | 449 float[] mat = tempBrightnessMatrix.getArray(); 450 mat[0] = scale; 451 mat[6] = scale; 452 mat[12] = scale; 453 mat[4] = grayValue; 454 mat[9] = grayValue; 455 mat[14] = grayValue;
|
/frameworks/native/services/surfaceflinger/tests/ |
D | Transaction_test.cpp | 3028 static void applyMatrix(half3& color, const mat3& mat) { in applyMatrix() argument 3033 ret[i] = ret[i] + color[j] * mat[j][i]; in applyMatrix()
|