/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ShadersActivity.java | 27 import android.graphics.Matrix; 55 private Matrix mMtx1; 56 private Matrix mMtx2; 57 private Matrix mMtx3; 73 mMtx1 = new Matrix(); 80 mMtx2 = new Matrix(); 86 mMtx3 = new Matrix();
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageRedEye.java | 22 import android.graphics.Matrix; 74 Matrix originalNoRotateToScreen = getImageToScreenMatrix(false); 75 Matrix originalToScreen = getImageToScreenMatrix(true); 76 Matrix invert = new Matrix(); 109 protected void drawPoint(FilterPoint point, Canvas canvas, Matrix originalToScreen, 110 Matrix originalRotateToScreen, Paint paint) {
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
CanvasTest.java | 26 import android.graphics.Matrix; 159 final Matrix m1 = new Matrix(); 164 final Matrix m2 = new Matrix(); 169 final Matrix m3 = mCanvas.getMatrix(); 178 final Matrix m4 = mCanvas.getMatrix(); 187 // test save current matrix only 188 Matrix m1 = new Matrix(); [all...] |
MatrixTest.java | 18 import android.graphics.Matrix; 20 import android.graphics.Matrix.ScaleToFit; 24 private Matrix mMatrix; 30 mMatrix = new Matrix(); 35 new Matrix(); 36 new Matrix(mMatrix); 54 Matrix matrix = new Matrix(); local 55 matrix.set(mMatrix) 64 Matrix matrix = new Matrix(); local 203 Matrix matrix = new Matrix(); local 255 Matrix matrix = new Matrix(); local 300 Matrix matrix = new Matrix(); local 463 Matrix matrix = new Matrix(); local [all...] |
/external/eigen/test/eigen2/ |
eigen2_submatrices.cpp | 18 typedef Matrix<Scalar, _Rows, _Cols> MatrixType; 24 Matrix<Scalar, Dynamic, Dynamic> mi = m1.minor(0,0).eval(); 35 typedef Matrix<Scalar, 1, 1> MatrixType; 46 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType; 47 typedef Matrix<Scalar, 1, MatrixType::ColsAtCompileTime> RowVectorType; 56 identity = Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> 58 square = Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> 80 Matrix<Scalar,Dynamic,Dynamic> b1(1,1); b1(0,0) = m1(r1,c1); 110 Matrix<Scalar,Dynamic,Dynamic> b = m1.template block<BlockRows,BlockCols>(3,3); 141 CALL_SUBTEST_1( submatrices(Matrix<float, 1, 1>()) ) [all...] |
/packages/apps/Camera2/src/com/android/camera/crop/ |
CropMath.java | 20 import android.graphics.Matrix; 139 Matrix m = new Matrix(); 142 Matrix m0 = new Matrix(); 217 Matrix m = new Matrix(); 218 m.setRectToRect(photoBounds, displayBounds, Matrix.ScaleToFit.FILL); 250 Matrix m = new Matrix(); [all...] |
/packages/apps/Camera2/src/com/android/camera/ui/ |
ZoomView.java | 23 import android.graphics.Matrix; 58 // Calculate the rotation matrix to apply orientation on the original image 61 Matrix rotationMatrix = new Matrix(); 64 // Set the translation of the matrix so that after rotation, the top left 77 Matrix mapping = new Matrix(); 78 mapping.setRectToRect(endRect, fullResRect, Matrix.ScaleToFit.CENTER); 85 Matrix invertRotation = new Matrix(); [all...] |
RotateLayout.java | 20 import android.graphics.Matrix; 31 private Matrix mMatrix = new Matrix();
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropMath.java | 20 import android.graphics.Matrix; 141 Matrix m = new Matrix(); 144 Matrix m0 = new Matrix(); 219 Matrix m = new Matrix(); 220 m.setRectToRect(photoBounds, displayBounds, Matrix.ScaleToFit.FILL); 252 Matrix m = new Matrix(); [all...] |
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/ |
lmpar.h | 7 Matrix< Scalar, Dynamic, Dynamic > &r, 9 const Matrix< Scalar, Dynamic, 1 > &diag, 10 const Matrix< Scalar, Dynamic, 1 > &qtb, 13 Matrix< Scalar, Dynamic, 1 > &x) 34 Matrix< Scalar, Dynamic, 1 > wa1, wa2; 114 Matrix< Scalar, Dynamic, 1 > sdiag(n); 163 const ColPivHouseholderQR<Matrix< Scalar, Dynamic, Dynamic> > &qr, 164 const Matrix< Scalar, Dynamic, 1 > &diag, 165 const Matrix< Scalar, Dynamic, 1 > &qtb, 168 Matrix< Scalar, Dynamic, 1 > &x [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
AppWindowAnimator.java | 5 import android.graphics.Matrix; 161 "thumbnail", "POS " + tmpFloats[Matrix.MTRANS_X] 162 + ", " + tmpFloats[Matrix.MTRANS_Y], null); 163 thumbnail.setPosition(tmpFloats[Matrix.MTRANS_X], tmpFloats[Matrix.MTRANS_Y]); 167 + " matrix=[" + tmpFloats[Matrix.MSCALE_X] 168 + "," + tmpFloats[Matrix.MSKEW_Y] 169 + "][" + tmpFloats[Matrix.MSKEW_X] 170 + "," + tmpFloats[Matrix.MSCALE_Y] + "]", null) [all...] |
/cts/tests/tests/view/src/android/view/animation/cts/ |
TransformationTest.java | 19 import android.graphics.Matrix; 40 Matrix expectedMatrix = new Matrix(); 48 expectedMatrix = new Matrix(); 130 final Matrix expected = new Matrix();
|
/external/eigen/test/ |
diagonal.cpp | 17 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType; 18 typedef Matrix<Scalar, 1, MatrixType::ColsAtCompileTime> RowVectorType; 73 CALL_SUBTEST_1( diagonal(Matrix<float, 1, 1>()) ); 74 CALL_SUBTEST_1( diagonal(Matrix<float, 4, 9>()) ); 75 CALL_SUBTEST_1( diagonal(Matrix<float, 7, 3>()) ); 81 CALL_SUBTEST_1( diagonal(Matrix<float,Dynamic,4>(3, 4)) );
|
product_selfadjoint.cpp | 17 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType; 18 typedef Matrix<Scalar, 1, MatrixType::RowsAtCompileTime> RowVectorType; 20 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, Dynamic, RowMajor> RhsMatrixType; 68 CALL_SUBTEST_1( product_selfadjoint(Matrix<float, 1, 1>()) ); 69 CALL_SUBTEST_2( product_selfadjoint(Matrix<float, 2, 2>()) ); 78 CALL_SUBTEST_7( product_selfadjoint(Matrix<float,Dynamic,Dynamic,RowMajor>(s,s)) );
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ImageViewTest.java | 6 import android.graphics.Matrix; 42 imageView.setImageMatrix(new Matrix()); 46 Matrix matrix = new Matrix(); local 47 matrix.setTranslate(15, 20); 48 imageView.setImageMatrix(matrix); 55 Matrix matrix = new Matrix(); local [all...] |
/frameworks/base/opengl/java/android/opengl/ |
GLU.java | 77 Matrix.setLookAtM(scratch, 0, eyeX, eyeY, eyeZ, centerX, centerY, centerZ, 84 * Set up a 2D orthographic projection matrix 98 * Set up a perspective projection matrix 131 * @param model the current modelview matrix 134 * @param project the current projection matrix 136 * matrix data starts. 155 Matrix.multiplyMM(scratch, M_OFFSET, project, projectOffset, 163 Matrix.multiplyMV(scratch, V2_OFFSET, 197 * @param model the current modelview matrix 200 * @param project the current projection matrix [all...] |
/external/eigen/Eigen/src/Eigenvalues/ |
SelfAdjointEigenSolver_MKL.h | 44 SelfAdjointEigenSolver<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW> >& \ 45 SelfAdjointEigenSolver<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW> >::compute(const Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW>& matrix, int options) \ 47 eigen_assert(matrix.cols() == matrix.rows()); \ 52 lapack_int n = matrix.cols(), lda, matrix_order, info; \ 55 m_eivec = matrix; \ 59 m_eivalues.coeffRef(0,0) = internal::real(matrix.coeff(0,0)); \ 67 lda = matrix.outerStride(); [all...] |
/external/eigen/Eigen/src/Geometry/ |
EulerAngles.h | 18 * \returns the Euler-angles of the rotation matrix \c *this using the convention defined by the triplet (\a a0,\a a1,\a a2) 32 inline Matrix<typename MatrixBase<Derived>::Scalar,3,1> 38 Matrix<Scalar,3,1> res; 39 typedef Matrix<typename Derived::Scalar,2,1> Vector2;
|
/external/eigen/unsupported/Eigen/src/AutoDiff/ |
AutoDiffJacobian.h | 41 typedef Matrix<Scalar,InputsAtCompileTime,1> DerivativeType; 45 typedef Matrix<ActiveScalar, InputsAtCompileTime, 1> ActiveInput; 46 typedef Matrix<ActiveScalar, ValuesAtCompileTime, 1> ActiveValue;
|
/external/eigen/unsupported/test/ |
matrix_square_root.cpp | 33 // for complex matrices, any matrix is fine 58 CALL_SUBTEST_4(testMatrixSqrt(Matrix<double,Dynamic,Dynamic,RowMajor>(9, 9))); 59 CALL_SUBTEST_5(testMatrixSqrt(Matrix<float,1,1>())); 60 CALL_SUBTEST_5(testMatrixSqrt(Matrix<std::complex<float>,1,1>()));
|
/external/jmonkeyengine/engine/src/android/com/jme3/asset/ |
AndroidImageInfo.java | 5 import android.graphics.Matrix; 90 Matrix flipMat = new Matrix();
|
/cts/suite/cts/deviceTests/opengl/test/ |
Android.mk | 25 LOCAL_SRC_FILES += ../jni/graphics/Matrix.cpp
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
BitmapMesh.java | 44 private final Matrix mMatrix = new Matrix(); 45 private final Matrix mInverse = new Matrix();
|
Vertices.java | 40 private final Matrix mMatrix = new Matrix(); 41 private final Matrix mInverse = new Matrix();
|
/external/eigen/Eigen/src/QR/ |
ColPivHouseholderQR_MKL.h | 29 * Householder QR decomposition of a matrix with column pivoting based on 45 ColPivHouseholderQR<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW, Dynamic, Dynamic> >& \ 46 ColPivHouseholderQR<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW, Dynamic, Dynamic> >::compute( \ 47 const Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW, Dynamic, Dynamic>& matrix) \ 50 typedef Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW, Dynamic, Dynamic> MatrixType; \ 53 Index rows = matrix.rows();\ 54 Index cols = matrix.cols();\ 55 Index size = matrix.diagonalSize();\ 57 m_qr = matrix;\ [all...] |