/external/eigen/test/ |
zerosized.cpp | 59 Matrix<Scalar,Dynamic,Dynamic> prod = m.template block<MatrixType::RowsAtCompileTime,0>(0,0,rows,0) * m.template block<0,MatrixType::ColsAtCompileTime>(0,0,0,cols); 88 zeroSizedMatrix<Matrix<float, 2, Dynamic> >(); 90 zeroSizedMatrix<Matrix<float, 0, 0> >(); 91 zeroSizedMatrix<Matrix<float, Dynamic, 0, 0, 0, 0> >(); 92 zeroSizedMatrix<Matrix<float, 0, Dynamic, 0, 0, 0> >(); 93 zeroSizedMatrix<Matrix<float, Dynamic, Dynamic, 0, 0, 0> >(); 94 zeroSizedMatrix<Matrix<float, 0, 4> >(); 95 zeroSizedMatrix<Matrix<float, 4, 0> >(); 100 zeroSizedVector<Matrix<float, 0, 1> >(); 101 zeroSizedVector<Matrix<float, 1, 0> >() [all...] |
vectorization_logic.cpp | 108 typedef Matrix<Scalar,PacketSize,1> Vector1; 109 typedef Matrix<Scalar,Dynamic,1> VectorX; 110 typedef Matrix<Scalar,Dynamic,Dynamic> MatrixXX; 111 typedef Matrix<Scalar,PacketSize,PacketSize> Matrix11; 112 typedef Matrix<Scalar,2*PacketSize,2*PacketSize> Matrix22; 113 typedef Matrix<Scalar,(Matrix11::Flags&RowMajorBit)?16:4*PacketSize,(Matrix11::Flags&RowMajorBit)?4*PacketSize:16> Matrix44; 114 typedef Matrix<Scalar,(Matrix11::Flags&RowMajorBit)?16:4*PacketSize,(Matrix11::Flags&RowMajorBit)?4*PacketSize:16,DontAlign|EIGEN_DEFAULT_MATRIX_STORAGE_ORDER_OPTION> Matrix44u; 115 typedef Matrix<Scalar,4*PacketSize,4*PacketSize,ColMajor> Matrix44c; 116 typedef Matrix<Scalar,4*PacketSize,4*PacketSize,RowMajor> Matrix44r; 118 typedef Matrix<Scalar [all...] |
/frameworks/support/transition/api14/android/support/transition/ |
ViewUtilsApi14.java | 19 import android.graphics.Matrix; 77 public void transformMatrixToGlobal(@NonNull View view, @NonNull Matrix matrix) { 81 transformMatrixToGlobal(vp, matrix); 82 matrix.preTranslate(-vp.getScrollX(), -vp.getScrollY()); 84 matrix.preTranslate(view.getLeft(), view.getTop()); 85 final Matrix vm = view.getMatrix(); 87 matrix.preConcat(vm); 92 public void transformMatrixToLocal(@NonNull View view, @NonNull Matrix matrix) { [all...] |
/frameworks/support/transition/api21/android/support/transition/ |
ViewUtilsApi21.java | 19 import android.graphics.Matrix; 41 public void transformMatrixToGlobal(@NonNull View view, @NonNull Matrix matrix) { 45 sTransformMatrixToGlobalMethod.invoke(view, matrix); 55 public void transformMatrixToLocal(@NonNull View view, @NonNull Matrix matrix) { 59 sTransformMatrixToLocalMethod.invoke(view, matrix); 69 public void setAnimationMatrix(@NonNull View view, Matrix matrix) { 73 sSetAnimationMatrixMethod.invoke(view, matrix); [all...] |
ImageViewUtilsApi21.java | 20 import android.graphics.Matrix; 42 public void animateTransform(ImageView view, Matrix matrix) { 46 sAnimateTransformMethod.invoke(view, matrix); 64 Matrix.class);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ScaleToFit.java | 36 private final Matrix mMatrix = new Matrix(); 39 private static final Matrix.ScaleToFit[] sFits = 40 new Matrix.ScaleToFit[] { 41 Matrix.ScaleToFit.FILL, 42 Matrix.ScaleToFit.START, 43 Matrix.ScaleToFit.CENTER, 44 Matrix.ScaleToFit.END 81 private void drawFit(Canvas canvas, int index, Matrix.ScaleToFit stf) {
|
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
RectUtils.java | 19 import android.graphics.Matrix; 39 final Matrix matrix = new Matrix(); local 42 matrix.setRotate(-orientation); 45 matrix.mapRect(fullRectF); 46 matrix.mapRect(partialRectF); 48 matrix.reset(); 49 matrix.setTranslate(-fullRectF.left, -fullRectF.top); 50 matrix.mapRect(fullRectF) 61 final Matrix matrix = new Matrix(); local [all...] |
/cts/tests/tests/transition/src/android/transition/cts/ |
ChangeImageTransformTest.java | 28 import android.graphics.Matrix; 50 Matrix mStartMatrix; 51 Matrix mEndMatrix; 102 private Matrix centerMatrix() { 111 Matrix matrix = new Matrix(); local 112 matrix.postTranslate(tx, ty); 113 return matrix; 116 private Matrix fitXYMatrix() 125 Matrix matrix = new Matrix(); local 146 Matrix matrix = new Matrix(); local 168 Matrix matrix = new Matrix(); local 185 Matrix matrix = new Matrix(); local 206 Matrix matrix = new Matrix(); local 292 Matrix matrix = mImageView.getImageMatrix(); local [all...] |
/frameworks/support/transition/tests/src/android/support/transition/ |
ChangeImageTransformTest.java | 29 import android.graphics.Matrix; 47 private Matrix mStartMatrix; 48 private Matrix mEndMatrix; 90 private Matrix centerMatrix() { 99 Matrix matrix = new Matrix(); local 100 matrix.postTranslate(tx, ty); 101 return matrix; 104 private Matrix fitXYMatrix() 113 Matrix matrix = new Matrix(); local 134 Matrix matrix = new Matrix(); local 156 Matrix matrix = new Matrix(); local 173 Matrix matrix = new Matrix(); local 194 Matrix matrix = new Matrix(); local 293 Matrix matrix = mImageView.getImageMatrix(); local [all...] |
/external/llvm/include/llvm/CodeGen/PBQP/ |
Math.h | 1 //===------ Math.h - PBQP Vector and Matrix classes -------------*- C++ -*-===// 162 /// \brief PBQP Matrix class 163 class Matrix { 165 friend hash_code hash_value(const Matrix &); 168 /// \brief Construct a PBQP Matrix with the given dimensions. 169 Matrix(unsigned Rows, unsigned Cols) : 173 /// \brief Construct a PBQP Matrix with the given dimensions and initial 175 Matrix(unsigned Rows, unsigned Cols, PBQPNum InitVal) 180 /// \brief Copy construct a PBQP matrix. 181 Matrix(const Matrix &M [all...] |
/external/swiftshader/src/OpenGL/common/ |
MatrixStack.hpp | 18 #include "Renderer/Matrix.hpp" 30 void load(const Matrix &M); 49 const Matrix ¤t(); 55 Matrix *stack;
|
/frameworks/base/graphics/java/android/graphics/ |
Camera.java | 21 * generate a matrix that can be applied, for instance, on a 25 private Matrix mMatrix; 136 * Computes the matrix corresponding to the current transformation 137 * and copies it to the supplied matrix object. 139 * @param matrix The matrix to copy the current transforms into 141 public void getMatrix(Matrix matrix) { 142 nativeGetMatrix(matrix.native_instance); 146 * Computes the matrix corresponding to the current transformatio [all...] |
/packages/apps/Camera2/src/com/android/camera/captureintent/ |
PictureDecoder.java | 21 import android.graphics.Matrix; 43 Matrix m = new Matrix();
|
/cts/tests/openglperf2/jni/reference/scene/flocking/ |
WaterMeshNode.cpp | 23 void WaterMeshNode::before(Program& program, Matrix& model, Matrix& view, Matrix& projection) { 47 // This multiplies the view matrix by the model matrix, and stores the result in the MVP 48 // matrix (which currently contains model * view). 51 // Pass in the modelview matrix. 54 // This multiplies the modelview matrix by the projection matrix, and stores the result in 55 // the MVP matrix (which now contains model * view * projection) [all...] |
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/ |
MyGLRenderer.java | 23 import android.opengl.Matrix; 41 // mMVPMatrix is an abbreviation for "Model View Projection Matrix" 66 // Set the camera position (View matrix) 67 Matrix.setLookAtM(mViewMatrix, 0, 0, 0, -3, 0f, 0f, 0f, 0f, 1.0f, 0.0f); 70 Matrix.multiplyMM(mMVPMatrix, 0, mProjectionMatrix, 0, mViewMatrix, 0); 82 Matrix.setRotateM(mRotationMatrix, 0, mAngle, 0, 0, 1.0f); 84 // Combine the rotation matrix with the projection and camera view 86 // for the matrix multiplication product to be correct. 87 Matrix.multiplyMM(scratch, 0, mMVPMatrix, 0, mRotationMatrix, 0); 101 // this projection matrix is applied to object coordinate [all...] |
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/ |
chkder.h | 10 const Matrix< Scalar, Dynamic, 1 > &x, 11 const Matrix< Scalar, Dynamic, 1 > &fvec, 12 const Matrix< Scalar, Dynamic, Dynamic > &fjac, 13 Matrix< Scalar, Dynamic, 1 > &xp, 14 const Matrix< Scalar, Dynamic, 1 > &fvecp, 16 Matrix< Scalar, Dynamic, 1 > &err
|
/platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/helper/ |
SimpleGLRenderer.java | 24 import android.opengl.Matrix; 43 // mMVPMatrix is an abbreviation for "Model View Projection Matrix" 68 // Set the camera position (View matrix) 69 Matrix.setLookAtM(mViewMatrix, 0, 0, 0, -3, 0f, 0f, 0f, 0f, 1.0f, 0.0f); 72 Matrix.multiplyMM(mMVPMatrix, 0, mProjectionMatrix, 0, mViewMatrix, 0); 84 Matrix.setRotateM(mRotationMatrix, 0, mAngle, 0, 0, 1.0f); 86 // Combine the rotation matrix with the projection and camera view 88 // for the matrix multiplication product to be correct. 89 Matrix.multiplyMM(scratch, 0, mMVPMatrix, 0, mRotationMatrix, 0); 103 // this projection matrix is applied to object coordinate [all...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/CodeGen/PBQP/ |
Math.h | 1 //===------ Math.h - PBQP Vector and Matrix classes -------------*- C++ -*-===// 119 /// \brief PBQP Matrix class 120 class Matrix { 122 friend hash_code hash_value(const Matrix &); 125 /// \brief Construct a PBQP Matrix with the given dimensions. 126 Matrix(unsigned Rows, unsigned Cols) : 130 /// \brief Construct a PBQP Matrix with the given dimensions and initial 132 Matrix(unsigned Rows, unsigned Cols, PBQPNum InitVal) 138 /// \brief Copy construct a PBQP matrix. 139 Matrix(const Matrix &M [all...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/CodeGen/PBQP/ |
Math.h | 1 //===------ Math.h - PBQP Vector and Matrix classes -------------*- C++ -*-===// 119 /// \brief PBQP Matrix class 120 class Matrix { 122 friend hash_code hash_value(const Matrix &); 125 /// \brief Construct a PBQP Matrix with the given dimensions. 126 Matrix(unsigned Rows, unsigned Cols) : 130 /// \brief Construct a PBQP Matrix with the given dimensions and initial 132 Matrix(unsigned Rows, unsigned Cols, PBQPNum InitVal) 138 /// \brief Copy construct a PBQP matrix. 139 Matrix(const Matrix &M [all...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/CodeGen/PBQP/ |
Math.h | 1 //===------ Math.h - PBQP Vector and Matrix classes -------------*- C++ -*-===// 119 /// \brief PBQP Matrix class 120 class Matrix { 122 friend hash_code hash_value(const Matrix &); 125 /// \brief Construct a PBQP Matrix with the given dimensions. 126 Matrix(unsigned Rows, unsigned Cols) : 130 /// \brief Construct a PBQP Matrix with the given dimensions and initial 132 Matrix(unsigned Rows, unsigned Cols, PBQPNum InitVal) 138 /// \brief Copy construct a PBQP matrix. 139 Matrix(const Matrix &M [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/CodeGen/PBQP/ |
Math.h | 1 //===------ Math.h - PBQP Vector and Matrix classes -------------*- C++ -*-===// 119 /// \brief PBQP Matrix class 120 class Matrix { 122 friend hash_code hash_value(const Matrix &); 125 /// \brief Construct a PBQP Matrix with the given dimensions. 126 Matrix(unsigned Rows, unsigned Cols) : 130 /// \brief Construct a PBQP Matrix with the given dimensions and initial 132 Matrix(unsigned Rows, unsigned Cols, PBQPNum InitVal) 138 /// \brief Copy construct a PBQP matrix. 139 Matrix(const Matrix &M [all...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/CodeGen/PBQP/ |
Math.h | 1 //===------ Math.h - PBQP Vector and Matrix classes -------------*- C++ -*-===// 119 /// \brief PBQP Matrix class 120 class Matrix { 122 friend hash_code hash_value(const Matrix &); 125 /// \brief Construct a PBQP Matrix with the given dimensions. 126 Matrix(unsigned Rows, unsigned Cols) : 130 /// \brief Construct a PBQP Matrix with the given dimensions and initial 132 Matrix(unsigned Rows, unsigned Cols, PBQPNum InitVal) 138 /// \brief Copy construct a PBQP matrix. 139 Matrix(const Matrix &M [all...] |
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/CodeGen/PBQP/ |
Math.h | 1 //===------ Math.h - PBQP Vector and Matrix classes -------------*- C++ -*-===// 119 /// \brief PBQP Matrix class 120 class Matrix { 122 friend hash_code hash_value(const Matrix &); 125 /// \brief Construct a PBQP Matrix with the given dimensions. 126 Matrix(unsigned Rows, unsigned Cols) : 130 /// \brief Construct a PBQP Matrix with the given dimensions and initial 132 Matrix(unsigned Rows, unsigned Cols, PBQPNum InitVal) 138 /// \brief Copy construct a PBQP matrix. 139 Matrix(const Matrix &M [all...] |
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/CodeGen/PBQP/ |
Math.h | 1 //===------ Math.h - PBQP Vector and Matrix classes -------------*- C++ -*-===// 119 /// \brief PBQP Matrix class 120 class Matrix { 122 friend hash_code hash_value(const Matrix &); 125 /// \brief Construct a PBQP Matrix with the given dimensions. 126 Matrix(unsigned Rows, unsigned Cols) : 130 /// \brief Construct a PBQP Matrix with the given dimensions and initial 132 Matrix(unsigned Rows, unsigned Cols, PBQPNum InitVal) 138 /// \brief Copy construct a PBQP matrix. 139 Matrix(const Matrix &M [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/CodeGen/PBQP/ |
Math.h | 1 //===------ Math.h - PBQP Vector and Matrix classes -------------*- C++ -*-===// 119 /// \brief PBQP Matrix class 120 class Matrix { 122 friend hash_code hash_value(const Matrix &); 125 /// \brief Construct a PBQP Matrix with the given dimensions. 126 Matrix(unsigned Rows, unsigned Cols) : 130 /// \brief Construct a PBQP Matrix with the given dimensions and initial 132 Matrix(unsigned Rows, unsigned Cols, PBQPNum InitVal) 138 /// \brief Copy construct a PBQP matrix. 139 Matrix(const Matrix &M [all...] |