/external/eigen/unsupported/test/ |
matrix_exponential.cpp | 29 Matrix<T,2,2> A, B, C; 51 Matrix<std::complex<T>,2,2> A, B, C; 78 Matrix<T,Dynamic,Dynamic> A(size,size), B(size,size), C(size,size); 133 CALL_SUBTEST_7(randomTest(Matrix<double,3,3,RowMajor>(), 1e-13)); 140 CALL_SUBTEST_9(randomTest(Matrix<long double,Dynamic,Dynamic>(7,7), 1e-13));
|
/external/llvm/lib/CodeGen/ |
RegAllocBasic.cpp | 174 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units); 199 Matrix->unassign(Spill); 226 AllocationOrder Order(VirtReg.reg, *VRM, RegClassInfo, Matrix); 229 switch (Matrix->checkInterference(VirtReg, PhysReg)) { 251 assert(!Matrix->checkInterference(VirtReg, *PhysRegI) &&
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/ |
TerminalView.java | 23 import android.graphics.Matrix; 56 private Matrix scaleMatrix; 57 private static final Matrix.ScaleToFit scaleType = Matrix.ScaleToFit.FILL; 106 scaleMatrix = new Matrix(); 133 // Create a scale matrix to scale our 1x1 representation of the cursor
|
/external/tensorflow/tensorflow/contrib/nearest_neighbor/kernels/ |
hyperplane_lsh_probes.h | 38 using Matrix = Eigen::Matrix<CoordinateType, Eigen::Dynamic, Eigen::Dynamic, 40 using ConstMatrixMap = Eigen::Map<const Matrix>; 41 using MatrixMap = Eigen::Map<Matrix>; 43 Eigen::Matrix<CoordinateType, Eigen::Dynamic, 1, Eigen::ColMajor>; 53 // The first input hash_vector is the matrix-vector product between the 54 // hyperplane matrix and the vector for which we want to generate a probing
|
/frameworks/base/libs/hwui/tests/unit/ |
GlopBuilderTests.cpp | 36 } else if (expectedFill.filterMode == ProgramDescription::ColorFilterMode::Matrix) { 37 Glop::Fill::Filter::Matrix& expectedMatrix = expectedFill.filter.matrix; 38 Glop::Fill::Filter::Matrix& builtMatrix = expectedFill.filter.matrix; 39 EXPECT_TRUE(std::memcmp(expectedMatrix.matrix, builtMatrix.matrix, 40 sizeof(Glop::Fill::Filter::Matrix::matrix))); 42 sizeof(Glop::Fill::Filter::Matrix::vector))) [all...] |
/frameworks/support/heifwriter/src/main/java/androidx/heifwriter/ |
Texture2dProgram.java | 22 import android.opengl.Matrix; 38 /** Identity matrix for general use. Don't modify or life will get weird. */ 42 * Following matrix is for texturing from bitmap. We set up the frame rects 50 Matrix.setIdentityM(IDENTITY_MATRIX, 0); 53 Matrix.setIdentityM(V_FLIP_MATRIX, 0); 54 Matrix.translateM(V_FLIP_MATRIX, 0, 0.0f, 1.0f, 0.0f); 55 Matrix.scaleM(V_FLIP_MATRIX, 0, 1.0f, -1.0f, 1.0f); 195 * @param mvpMatrix The 4x4 projection matrix. 202 * @param texMatrix A 4x4 transformation matrix for texture coords. (Primarily intended 220 // Copy the model / view / projection matrix over [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
vktShaderRenderMatrixTests.cpp | 23 * \brief Shader matrix arithmetic tests. 34 * + matrix source 619 tcu::Matrix<T, Rows, Cols> matrixCompMult (const tcu::Matrix<T, Rows, Cols>& a, const tcu::Matrix<T, Rows, Cols>& b) 621 tcu::Matrix<T, Rows, Cols> retVal; 633 tcu::Matrix<T, Cols, Rows> outerProduct (const tcu::Vector<T, Cols>& a, const tcu::Vector<T, Rows>& b) 635 tcu::Matrix<T, Rows, Cols> retVal; 647 float determinant (const tcu::Matrix<float, Size, Size>& mat); 650 float determinant<2> (const tcu::Matrix<float, 2, 2>& mat 1494 Mat2 matrix = Mat2(dataPtr); local 1501 Mat2x3 matrix = Mat2x3(dataPtr); local 1508 Mat2x4 matrix = Mat2x4(dataPtr); local 1515 Mat3x2 matrix = Mat3x2(dataPtr); local 1523 Mat3 matrix = Mat3(dataPtr); local 1531 Mat3x4 matrix = Mat3x4(dataPtr); local 1539 Mat4x2 matrix = Mat4x2(dataPtr); local 1548 Mat4x3 matrix = Mat4x3(dataPtr); local 1557 Mat4 matrix = Mat4(dataPtr); local [all...] |
/external/deqp/modules/gles3/functional/ |
es3fShaderMatrixTests.cpp | 21 * \brief Shader matrix arithmetic tests. 32 * + matrix source 624 tcu::Matrix<T, Rows, Cols> matrixCompMult (const tcu::Matrix<T, Rows, Cols>& a, const tcu::Matrix<T, Rows, Cols>& b) 626 tcu::Matrix<T, Rows, Cols> retVal; 638 tcu::Matrix<T, Cols, Rows> outerProduct (const tcu::Vector<T, Cols>& a, const tcu::Vector<T, Rows>& b) 640 tcu::Matrix<T, Rows, Cols> retVal; 652 float determinant (const tcu::Matrix<float, Size, Size>& mat); 655 float determinant<2> (const tcu::Matrix<float, 2, 2>& mat [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
GLES20Canvas.java | 23 import android.opengl.Matrix; 150 // Projection matrix 270 Matrix.setIdentityM(mTempTextureMatrix, 0); 271 Matrix.setIdentityM(mMatrices, mCurrentMatrixIndex); 351 Matrix.setIdentityM(mMatrices, mCurrentMatrixIndex); 352 Matrix.orthoM(mProjectionMatrix, 0, 0, width, 0, height, -1, 1); 356 Matrix.translateM(mMatrices, mCurrentMatrixIndex, 0, height, 0); 357 Matrix.scaleM(mMatrices, mCurrentMatrixIndex, 1, -1, 1); 394 Matrix.translateM(mMatrices, mCurrentMatrixIndex, x, y, z); 398 // (1) we knows z = 0, (2) we inline the Matrix.translateM call 422 float[] matrix = mMatrices; local [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
ScreenRotationAnimation.java | 30 import android.graphics.Matrix; 134 final Matrix mFrameInitialMatrix = new Matrix(); 135 final Matrix mSnapshotInitialMatrix = new Matrix(); 136 final Matrix mSnapshotFinalMatrix = new Matrix(); 137 final Matrix mExitFrameFinalMatrix = new Matrix(); 138 final Matrix mTmpMatrix = new Matrix() [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
GLES20Canvas.java | 23 import android.opengl.Matrix; 150 // Projection matrix 270 Matrix.setIdentityM(mTempTextureMatrix, 0); 271 Matrix.setIdentityM(mMatrices, mCurrentMatrixIndex); 351 Matrix.setIdentityM(mMatrices, mCurrentMatrixIndex); 352 Matrix.orthoM(mProjectionMatrix, 0, 0, width, 0, height, -1, 1); 356 Matrix.translateM(mMatrices, mCurrentMatrixIndex, 0, height, 0); 357 Matrix.scaleM(mMatrices, mCurrentMatrixIndex, 1, -1, 1); 394 Matrix.translateM(mMatrices, mCurrentMatrixIndex, x, y, z); 398 // (1) we knows z = 0, (2) we inline the Matrix.translateM call 422 float[] matrix = mMatrices; local [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/Renderable/ |
RectangleRenderable.java | 23 import android.opengl.Matrix; 47 // Reset the model matrix to the identity and move it infront of the camera preview 48 Matrix.setIdentityM(getModelMatrix(), 0); 49 Matrix.translateM(getModelMatrix(), 0, 109 // Pass in the modelview matrix. 112 // Pass in the combined matrix.
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
LinearGradientTest.java | 27 import android.graphics.Matrix; 90 Matrix m = new Matrix();
|
PathMeasureTest.java | 23 import android.graphics.Matrix; 138 Matrix matrix = new Matrix(); local 139 assertFalse(mPathMeasure.getMatrix(1f, matrix, PathMeasure.POSITION_MATRIX_FLAG)); 140 matrix.setScale(1f, 2f); 143 assertTrue(mPathMeasure.getMatrix(0f, matrix, PathMeasure.TANGENT_MATRIX_FLAG));
|
/development/samples/devbytes/animation/Anticipation/src/com/example/android/anticipation/ |
AnticiButton.java | 23 import android.graphics.Matrix; 221 Matrix matrix = new Matrix(); local 222 matrix.setSkew(-mSkewX, 0); 224 matrix.mapRect(mTempRect);
|
/external/clang/test/Sema/ |
array-init.c | 254 typedef struct _Matrix Matrix; 256 const Matrix mat1 = { 263 const Matrix mat2 = {
|
/external/eigen/Eigen/src/Geometry/ |
Umeyama.h | 42 typedef Matrix<typename traits<MatrixType>::Scalar, 70 * The algorithm is based on the analysis of the covariance matrix 76 * matrix computation which has an asymptotic lower bound of \f$O(dm)\f$ when 91 * Eigen::Matrix. 107 typedef Matrix<Scalar, Dimension, 1> VectorType; 108 typedef Matrix<Scalar, Dimension, Dimension> MatrixType; 133 // Initialize the resulting transformation with an identity matrix...
|
/external/eigen/bench/ |
product_threshold.cpp | 47 typedef Matrix<Scalar,M,K> Lhs; Lhs a; a.setRandom(); 48 typedef Matrix<Scalar,K,N> Rhs; Rhs b; b.setRandom(); 49 typedef Matrix<Scalar,M,N> Res; Res c; c.setRandom();
|
/external/eigen/test/ |
bdcsvd.cpp | 43 typedef Matrix<RealScalar, Size, 1> RealVecType; 78 CALL_SUBTEST_5(( bdcsvd<Matrix<float,3,5> >() )); 86 CALL_SUBTEST_6(( bdcsvd(Matrix<double,Dynamic,2>(r,2)) )); 94 // Test on inf/nan matrix
|
eigensolver_generalized_real.cpp | 27 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType; 62 Matrix<ComplexScalar,Dynamic,Dynamic> tmp = (eig.betas()(k)*a).template cast<ComplexScalar>() - eig.alphas()(k)*b; 93 CALL_SUBTEST_3( generalized_eigensolver_real(Matrix<double,1,1>()) );
|
inplace_decomposition.cpp | 20 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> RhsType; 21 typedef Matrix<Scalar, MatrixType::ColsAtCompileTime, 1> ResType; 84 EIGEN_UNUSED typedef Matrix<double,4,3> Matrix43d;
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowMatrix.java | 3 import android.graphics.Matrix; 21 @Implements(Matrix.class) 28 public static final String MATRIX = "matrix"; 39 public void __constructor__(Matrix src) { 44 * A list of all 'pre' operations performed on this Matrix. The last operation performed will 46 * @return A list of all 'pre' operations performed on this Matrix. 53 * A list of all 'post' operations performed on this Matrix. The last operation performed will 55 * @return A list of all 'post' operations performed on this Matrix. 62 * A map of all 'set' operations performed on this Matrix [all...] |
/external/skia/experimental/skottie/ |
SkottieProperties.h | 26 class Matrix; 104 explicit CompositeTransform(sk_sp<sksg::Matrix>); 116 sk_sp<sksg::Matrix> fMatrixNode;
|
/external/skqp/experimental/skottie/ |
SkottieProperties.h | 26 class Matrix; 104 explicit CompositeTransform(sk_sp<sksg::Matrix>); 116 sk_sp<sksg::Matrix> fMatrixNode;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
TextureViewActivity.java | 21 import android.graphics.Matrix; 44 private Matrix mMatrix = new Matrix();
|