/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/core/java/com/android/internal/widget/ |
D | DisableImageView.java | 55 float[] mat = brightnessMatrix.getArray(); in DisableImageView() local 56 mat[0] = scale; in DisableImageView() 57 mat[6] = scale; in DisableImageView() 58 mat[12] = scale; in DisableImageView() 59 mat[4] = brightnessI; in DisableImageView() 60 mat[9] = brightnessI; in DisableImageView() 61 mat[14] = brightnessI; in DisableImageView()
|
/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/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | FastBitmapDrawable.java | 321 float[] mat = tempBrightnessMatrix.getArray(); in getDisabledColorFilter() local 322 mat[0] = scale; in getDisabledColorFilter() 323 mat[6] = scale; in getDisabledColorFilter() 324 mat[12] = scale; in getDisabledColorFilter() 325 mat[4] = brightnessI; in getDisabledColorFilter() 326 mat[9] = brightnessI; in getDisabledColorFilter() 327 mat[14] = brightnessI; in getDisabledColorFilter() 328 mat[18] = disabledAlpha; in getDisabledColorFilter()
|
/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 | 177 void appendVD(VectorDrawableRoot* r, const SkMatrix& mat) { in appendVD() argument 178 mVectorDrawables.push_back(Pair<VectorDrawableRoot*, SkMatrix>(r, mat)); in appendVD()
|
D | SkiaDisplayList.cpp | 68 static bool intersects(const SkISize screenSize, const Matrix4& mat, const SkRect& bounds) { in intersects() argument 76 mat.mapPoint3d(point); in intersects()
|
D | SkiaRecordingCanvas.cpp | 178 SkMatrix mat; in drawVectorDrawable() local 179 this->getMatrix(&mat); in drawVectorDrawable() 180 mDisplayList->appendVD(tree, mat); in drawVectorDrawable()
|
/frameworks/compile/slang/tests/P_matrix_cpp/ |
D | matrix.rscript | 5 rs_matrix4x4 mat;
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | MotionEventTest.java | 213 Matrix mat = new Matrix(); in testEventRotation() local 214 mat.setValues(new float[]{1, 2, 3, -4, -5, -6, 0, 0, 1}); in testEventRotation() 215 rotInvalid.transform(mat); in testEventRotation()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/ |
D | LayerState.cpp | 34 [](const mat4& mat) { in LayerState() argument 37 base::Split(std::string(mat.asString().string()), "\n"s); in LayerState()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverListAdapter.java | 715 float[] mat = tempBrightnessMatrix.getArray(); 716 mat[0] = scale; 717 mat[6] = scale; 718 mat[12] = scale; 719 mat[4] = grayValue; 720 mat[9] = grayValue; 721 mat[14] = grayValue;
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaDisplayListTests.cpp | 348 SkMatrix mat; in RENDERTHREAD_SKIA_PIPELINE_TEST() local 349 mat.setRotate(45, 50, 50); in RENDERTHREAD_SKIA_PIPELINE_TEST() 350 skiaDL.appendVD(&dirtyVD, mat); in RENDERTHREAD_SKIA_PIPELINE_TEST()
|
/frameworks/base/core/api/ |
D | current.txt | 22310 field public static final String MIMETYPE_AUDIO_DOLBY_MAT = "audio/vnd.dolby.mat";
|