/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/PBQP/ |
Math.h | 1 //===------ Math.h - PBQP Vector and Matrix classes -------------*- C++ -*-===// 111 /// \brief PBQP Matrix class 112 class Matrix { 115 /// \brief Construct a PBQP Matrix with the given dimensions. 116 Matrix(unsigned rows, unsigned cols) : 120 /// \brief Construct a PBQP Matrix with the given dimensions and initial 122 Matrix(unsigned rows, unsigned cols, PBQPNum initVal) : 127 /// \brief Copy construct a PBQP matrix. 128 Matrix(const Matrix &m) [all...] |
/external/webrtc/webrtc/modules/audio_processing/beamformer/ |
matrix_test_helpers.h | 16 #include "webrtc/modules/audio_processing/beamformer/matrix.h" 30 static void ValidateMatrixEquality(const Matrix<T>& expected, 31 const Matrix<T>& actual) { 44 static void ValidateMatrixEqualityFloat(const Matrix<float>& expected, 45 const Matrix<float>& actual) { 59 const Matrix<complex<float> >& expected, 60 const Matrix<complex<float> >& actual) { 79 const Matrix<complex<float> >& expected, 80 const Matrix<complex<float> >& actual,
|
/frameworks/base/libs/hwui/tests/unit/ |
MatrixTests.cpp | 19 #include "Matrix.h" 24 TEST(Matrix, mapRect_emptyScaleSkew) { 39 TEST(Matrix, mapRect_emptyRotate) {
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
eigen.h | 11 using Vector = Matrix<T, N, 1>; 23 using RowVector = Matrix<T, 1, N>; 35 // `Transform` class, instead of a raw `Matrix`. 41 // the matrix. 49 // dimension of the transformation, not the size of the matrix iself. 51 // to a matrix when they expect a 4, so I'm hoping this will avoid that.
|
/frameworks/support/transition/src/android/support/transition/ |
GhostViewUtils.java | 19 import android.graphics.Matrix; 36 static GhostViewImpl addGhost(View view, ViewGroup viewGroup, Matrix matrix) { 37 return CREATOR.addGhost(view, viewGroup, matrix);
|
ImageViewUtils.java | 20 import android.graphics.Matrix; 38 * {@link #animateTransform(ImageView, Matrix)}. 45 * Sets the matrix to animate the content of the image view. 47 static void animateTransform(ImageView view, Matrix matrix) { 48 IMPL.animateTransform(view, matrix); 52 * Reserves that the caller will stop calling {@link #animateTransform(ImageView, Matrix)} when
|
MatrixUtils.java | 19 import android.graphics.Matrix; 24 static final Matrix IDENTITY_MATRIX = new Matrix() { 27 throw new IllegalStateException("Matrix can not be modified"); 31 public void set(Matrix src) { 86 public boolean setConcat(Matrix a, Matrix b) { 134 public boolean preConcat(Matrix other) { 182 public boolean postConcat(Matrix other) {
|
ChangeTransform.java | 25 import android.graphics.Matrix; 49 private static final String PROPNAME_MATRIX = "android:changeTransform:matrix"; 65 * This property sets the animation matrix properties that are not translations. 81 * This property sets the translation animation matrix properties. 103 private Matrix mTempMatrix = new Matrix(); 199 Matrix matrix = view.getMatrix(); local 200 if (matrix == null || matrix.isIdentity()) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
GLRoot.java | 20 import android.graphics.Matrix; 47 public Matrix getCompensationMatrix();
|
/frameworks/base/core/java/android/transition/ |
ChangeTransform.java | 25 import android.graphics.Matrix; 48 private static final String PROPNAME_MATRIX = "android:changeTransform:matrix"; 64 * This property sets the animation matrix properties that are not translations. 80 * This property sets the translation animation matrix properties. 97 private Matrix mTempMatrix = new Matrix(); 194 Matrix matrix = view.getMatrix(); local 195 if (matrix == null || matrix.isIdentity()) [all...] |
/external/eigen/bench/ |
benchCholesky.cpp | 44 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> SquareMatrixType; 129 benchLLT(Matrix<Scalar,Dynamic,Dynamic>(dynsizes[i],dynsizes[i])); 131 benchLLT(Matrix<Scalar,2,2>()); 132 benchLLT(Matrix<Scalar,3,3>()); 133 benchLLT(Matrix<Scalar,4,4>()); 134 benchLLT(Matrix<Scalar,5,5>()); 135 benchLLT(Matrix<Scalar,6,6>()); 136 benchLLT(Matrix<Scalar,7,7>()); 137 benchLLT(Matrix<Scalar,8,8>()); 138 benchLLT(Matrix<Scalar,12,12>()) [all...] |
bench_sum.cpp | 8 typedef Matrix<SCALAR,Eigen::Dynamic,1> Vec;
|
/external/eigen/test/ |
unalignedassert.cpp | 26 typedef Matrix<float, 6,1> Vector6f; 27 typedef Matrix<float, 8,1> Vector8f; 28 typedef Matrix<float, 12,1> Vector12f; 30 typedef Matrix<double, 5,1> Vector5d; 31 typedef Matrix<double, 6,1> Vector6d; 32 typedef Matrix<double, 7,1> Vector7d; 33 typedef Matrix<double, 8,1> Vector8d; 34 typedef Matrix<double, 9,1> Vector9d; 35 typedef Matrix<double,10,1> Vector10d; 36 typedef Matrix<double,12,1> Vector12d [all...] |
integer_types.cpp | 59 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType; 71 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> SquareMatrixType; 128 // check matrix product. 139 CALL_SUBTEST_1( integer_type_tests(Matrix<unsigned int, 1, 1>()) ); 140 CALL_SUBTEST_1( integer_type_tests(Matrix<unsigned long, 3, 4>()) ); 142 CALL_SUBTEST_2( integer_type_tests(Matrix<long, 2, 2>()) ); 143 CALL_SUBTEST_2( signed_integer_type_tests(Matrix<long, 2, 2>()) ); 145 CALL_SUBTEST_3( integer_type_tests(Matrix<char, 2, Dynamic>(2, 10)) ); 146 CALL_SUBTEST_3( signed_integer_type_tests(Matrix<signed char, 2, Dynamic>(2, 10)) ); 148 CALL_SUBTEST_4( integer_type_tests(Matrix<unsigned char, 3, 3>()) ) [all...] |
sizeof.cpp | 23 CALL_SUBTEST(verifySizeOf(Matrix<float, 1, 1>()) ); 38 CALL_SUBTEST(verifySizeOf(Matrix<double, 4, 2>()) ); 39 CALL_SUBTEST(verifySizeOf(Matrix<bool, 7, 5>()) ); 43 CALL_SUBTEST(verifySizeOf(Matrix<float, 100, 100>()) );
|
/external/libtextclassifier/common/ |
embedding-network-params.h | 45 // Simple representation of a matrix. This small struct that doesn't own any 47 struct Matrix { 56 // Pointer to matrix elements, in row-major order 74 // Returns embedding matrix for the i-th embedding space. 78 Matrix GetEmbeddingMatrix(int i) const { 80 Matrix matrix; local 81 matrix.rows = embeddings_num_rows(i); 82 matrix.cols = embeddings_num_cols(i); 83 matrix.elements = embeddings_weights(i) 114 Matrix matrix; local 131 Matrix matrix; local 156 Matrix matrix; local 173 Matrix matrix; local [all...] |
/external/eigen/blas/ |
common.h | 94 typedef Matrix<Scalar,Dynamic,Dynamic,ColMajor> PlainMatrixType; 95 typedef Map<Matrix<Scalar,Dynamic,Dynamic,ColMajor>, 0, OuterStride<> > MatrixType; 96 typedef Map<const Matrix<Scalar,Dynamic,Dynamic,ColMajor>, 0, OuterStride<> > ConstMatrixType; 97 typedef Map<Matrix<Scalar,Dynamic,1>, 0, InnerStride<Dynamic> > StridedVectorType; 98 typedef Map<Matrix<Scalar,Dynamic,1> > CompactVectorType; 101 Map<Matrix<T,Dynamic,Dynamic,ColMajor>, 0, OuterStride<> > 102 matrix(T* data, int rows, int cols, int stride) function 104 return Map<Matrix<T,Dynamic,Dynamic,ColMajor>, 0, OuterStride<> >(data, rows, cols, OuterStride<>(stride)); 108 Map<const Matrix<T,Dynamic,Dynamic,ColMajor>, 0, OuterStride<> > 109 matrix(const T* data, int rows, int cols, int stride function [all...] |
/external/swiftshader/src/Renderer/ |
VertexProcessor.hpp | 18 #include "Matrix.hpp" 204 void setModelMatrix(const Matrix &M, int i = 0); 205 void setViewMatrix(const Matrix &V); 206 void setBaseMatrix(const Matrix &B); 207 void setProjectionMatrix(const Matrix &P); 248 void setTextureMatrix(int stage, const Matrix &T); 282 const Matrix &getModelTransform(int i); 283 const Matrix &getViewTransform(); 323 void setTransform(const Matrix &M, int i); 324 void setCameraTransform(const Matrix &M, int i) [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
BlackFrame.java | 28 import android.graphics.Matrix; 75 void setMatrix(Matrix matrix) { 77 mTmpMatrix.postConcat(matrix); 79 surface.setPosition(mTmpFloats[Matrix.MTRANS_X], 80 mTmpFloats[Matrix.MTRANS_Y]); 82 mTmpFloats[Matrix.MSCALE_X], mTmpFloats[Matrix.MSKEW_Y], 83 mTmpFloats[Matrix.MSKEW_X], mTmpFloats[Matrix.MSCALE_Y]) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdiplusmatrix.h | 4 * GDI+ Matrix class 36 class Matrix: public GdiplusBase 47 Matrix(): nativeMatrix(NULL), lastStatus(Ok) 51 Matrix(REAL m11, REAL m12, REAL m21, REAL m22, REAL dx, REAL dy): 58 Matrix(const RectF& rect, const PointF *dstplg): 64 Matrix(const Rect& rect, const Point *dstplg): 70 ~Matrix() 74 Matrix* Clone() const 80 Matrix *result = new Matrix(cloneMatrix, lastStatus) [all...] |
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/ |
InputStreamProvider.java | 9 import android.graphics.Matrix; 69 Matrix rotateMatrix = new Matrix(); 79 Matrix inverseRotateMatrix = new Matrix(); 190 Matrix m = new Matrix(); 192 m.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL); 194 Matrix m1 = new Matrix(); [all...] |
/cts/tests/openglperf2/test/ |
Android.mk | 19 LOCAL_SRC_FILES += ../jni/graphics/Matrix.cpp
|
/external/eigen/doc/snippets/ |
Tutorial_ReshapeMat2Vec.cpp | 9 Matrix<float,Dynamic,Dynamic,RowMajor> M2(M1);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowMatrix.java | 3 import android.graphics.Matrix; 10 @Implements(Matrix.class) 22 // identity: Matrix{[1.0, 0.0, 0.0][0.0, 1.0, 0.0][0.0, 0.0, 1.0]} 24 // drag down: Matrix{[1.0, 0.0, -1.3872986][0.0, 1.0, 0.37722778][0.0, 0.0, 1.0]} 27 public void __constructor__(Matrix src) { 32 public void set(Matrix src) {
|
/frameworks/base/graphics/java/android/graphics/ |
Shader.java | 52 * Current matrix - always set to null if local matrix is identity. 54 private Matrix mLocalMatrix; 79 * Return true if the shader has a non-identity local matrix. 80 * @param localM Set to the local matrix of the shader, if the shader's matrix is non-null. 81 * @return true if the shader has a non-identity local matrix 83 public boolean getLocalMatrix(@NonNull Matrix localM) { 92 * Set the shader's local matrix. Passing null will reset the shader's 93 * matrix to identity. If the matrix has scale value as 0, the drawin [all...] |