/packages/apps/Camera2/src/com/android/camera/ui/focus/ |
CameraCoordinateTransformer.java | 19 import android.graphics.Matrix; 30 private final Matrix mCameraToPreviewTransform; 31 private final Matrix mPreviewToCameraTransform; 77 private Matrix cameraToPreviewTransform(boolean mirrorX, int displayOrientation, 79 Matrix transform = new Matrix(); 89 Matrix fill = new Matrix(); 92 Matrix.ScaleToFit.FILL); 100 private Matrix inverse(Matrix source) [all...] |
/external/eigen/failtest/ |
bdcsvd_int.cpp | 13 BDCSVD<Matrix<SCALAR,Dynamic,Dynamic> > qr(Matrix<SCALAR,Dynamic,Dynamic>::Random(10,10));
|
colpivqr_int.cpp | 13 ColPivHouseholderQR<Matrix<SCALAR,Dynamic,Dynamic> > qr(Matrix<SCALAR,Dynamic,Dynamic>::Random(10,10));
|
eigensolver_cplx.cpp | 13 EigenSolver<Matrix<SCALAR,Dynamic,Dynamic> > eig(Matrix<SCALAR,Dynamic,Dynamic>::Random(10,10));
|
eigensolver_int.cpp | 13 EigenSolver<Matrix<SCALAR,Dynamic,Dynamic> > eig(Matrix<SCALAR,Dynamic,Dynamic>::Random(10,10));
|
fullpivlu_int.cpp | 13 FullPivLU<Matrix<SCALAR,Dynamic,Dynamic> > lu(Matrix<SCALAR,Dynamic,Dynamic>::Random(10,10));
|
fullpivqr_int.cpp | 13 FullPivHouseholderQR<Matrix<SCALAR,Dynamic,Dynamic> > qr(Matrix<SCALAR,Dynamic,Dynamic>::Random(10,10));
|
jacobisvd_int.cpp | 13 JacobiSVD<Matrix<SCALAR,Dynamic,Dynamic> > qr(Matrix<SCALAR,Dynamic,Dynamic>::Random(10,10));
|
ldlt_int.cpp | 13 LDLT<Matrix<SCALAR,Dynamic,Dynamic> > ldlt(Matrix<SCALAR,Dynamic,Dynamic>::Random(10,10));
|
llt_int.cpp | 13 LLT<Matrix<SCALAR,Dynamic,Dynamic> > llt(Matrix<SCALAR,Dynamic,Dynamic>::Random(10,10));
|
partialpivlu_int.cpp | 13 PartialPivLU<Matrix<SCALAR,Dynamic,Dynamic> > lu(Matrix<SCALAR,Dynamic,Dynamic>::Random(10,10));
|
qr_int.cpp | 13 HouseholderQR<Matrix<SCALAR,Dynamic,Dynamic> > qr(Matrix<SCALAR,Dynamic,Dynamic>::Random(10,10));
|
/frameworks/support/core/ktx/src/main/java/androidx/core/graphics/ |
Matrix.kt | 21 import android.graphics.Matrix 24 * Multiplies this [Matrix] by another matrix and returns the result as 25 * a new matrix. 27 inline operator fun Matrix.times(m: Matrix) = Matrix(this).apply { preConcat(m) } 30 * Returns the 9 values of this [Matrix] as a new array of floats. 32 inline fun Matrix.values() = FloatArray(9).apply { getValues(this) } 35 * Creates a translation matrix with the translation amounts [tx] and [ty [all...] |
/external/eigen/doc/snippets/ |
FullPivLU_solve.cpp | 0 Matrix<float,2,3> m = Matrix<float,2,3>::Random(); 3 cout << "Here is the matrix m:" << endl << m << endl; 4 cout << "Here is the matrix y:" << endl << y << endl; 5 Matrix<float,3,2> x = m.fullPivLu().solve(y);
|
Tutorial_Map_rowmajor.cpp | 3 cout << "Column-major:\n" << Map<Matrix<int,2,4> >(array) << endl; 4 cout << "Row-major:\n" << Map<Matrix<int,2,4,RowMajor> >(array) << endl; 6 Map<Matrix<int,2,4>, Unaligned, Stride<1,4> >(array) << endl;
|
/external/swiftshader/src/Renderer/ |
Plane.hpp | 22 struct Matrix; 35 friend Plane operator*(const Plane &p, const Matrix &A); // Transform plane by matrix (post-multiply) 36 friend Plane operator*(const Matrix &A, const Plane &p); // Transform plane by matrix (pre-multiply)
|
/cts/tests/openglperf2/jni/reference/scene/ |
Scene.h | 17 #include <graphics/Matrix.h> 37 virtual Matrix* setUpModelMatrix() = 0; 38 virtual Matrix* setUpViewMatrix() = 0; 39 virtual Matrix* setUpProjectionMatrix(float width, float height) = 0; 47 Matrix* mModelMatrix; 48 Matrix* mViewMatrix; 49 Matrix* mProjectionMatrix;
|
/cts/tests/openglperf2/test/ |
MatrixTest.cpp | 20 #include "Matrix.h" 35 Matrix m1; 36 Matrix m2; 42 Matrix* clone = new Matrix(m1); 49 // Create an identity matrix. 50 Matrix m; 57 checkValues(m.mData, expected, Matrix::MATRIX_SIZE); 61 // Create a matrix. 62 Matrix m1 [all...] |
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/graphics/ |
MatrixTest.kt | 19 import android.graphics.Matrix 26 assertEquals(1.0f, r[Matrix.MSCALE_X]) 27 assertEquals(0.0f, r[Matrix.MSKEW_X]) 28 assertEquals(2.0f, r[Matrix.MTRANS_X]) 29 assertEquals(0.0f, r[Matrix.MSKEW_Y]) 30 assertEquals(1.0f, r[Matrix.MSCALE_Y]) 31 assertEquals(3.0f, r[Matrix.MTRANS_Y]) 36 assertEquals(2.0f, r[Matrix.MSCALE_X]) 37 assertEquals(0.0f, r[Matrix.MSKEW_X]) 38 assertEquals(0.0f, r[Matrix.MTRANS_X] [all...] |
/external/eigen/Eigen/src/Core/ |
Matrix.h | 18 struct traits<Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > 55 /** \class Matrix 58 * \brief The matrix class, also used for vectors and row-vectors 60 * The %Matrix class is the work-horse for all \em dense (\ref dense "note") matrices and vectors within Eigen. 63 * The %Matrix class encompasses \em both fixed-size and dynamic-size objects (\ref fixedsize "note"). 81 * \li \c Matrix2d is a 2x2 square matrix of doubles (\c Matrix<double, 2, 2>) 82 * \li \c Vector4f is a vector of 4 floats (\c Matrix<float, 4, 1>) 83 * \li \c RowVector3i is a row-vector of 3 ints (\c Matrix<int, 1, 3>) 85 * \li \c MatrixXf is a dynamic-size matrix of floats (\c Matrix<float, Dynamic, Dynamic> [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
CameraTest.java | 24 import android.graphics.Matrix; 56 Matrix m = new Matrix(); 67 Matrix m1 = new Matrix(); 70 Matrix m2 = new Matrix(); 83 Matrix m1 = new Matrix(); 86 Matrix m2 = new Matrix() [all...] |
/external/webrtc/webrtc/modules/audio_processing/beamformer/ |
matrix.h | 41 // Matrix is a class for doing standard matrix operations on 2 dimensional 42 // matrices of any size. Results of matrix operations are stored in the 49 // 'In-place' operations that inherently change the size of the matrix (eg. 57 // Memory for storage is allocated when a matrix is resized only if the new 62 // matrix. TODO(claguna): albeit tricky, allow for data to be referenced 65 class Matrix { 67 Matrix() : num_rows_(0), num_columns_(0) {} 70 Matrix(size_t num_rows, size_t num_columns) 77 // Copies |data| into the new Matrix [all...] |
/external/deqp/framework/common/ |
tcuMatrix.hpp | 23 * \brief Templatized matrix class. 33 // Templated matrix class. 35 class Matrix 48 Matrix (void); 49 explicit Matrix (const T& src); 50 explicit Matrix (const T src[Rows*Cols]); 51 Matrix (const Vector<T, Rows>& src); 52 Matrix (const Matrix<T, Rows, Cols>& src); 53 ~Matrix (void) 128 namespace matrix namespace in namespace:tcu [all...] |
/cts/tests/openglperf2/jni/graphics/ |
TexturedMeshNode.cpp | 21 void TexturedMeshNode::before(Program& program, Matrix& model, Matrix& view, Matrix& projection) { 39 void TexturedMeshNode::after(Program& program, Matrix& model, Matrix& view, Matrix& projection) {
|
/cts/tests/openglperf2/jni/reference/scene/flocking/ |
FlockingScene.h | 33 Matrix* setUpModelMatrix(); 34 Matrix* setUpViewMatrix(); 35 Matrix* setUpProjectionMatrix(float width, float height);
|