/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/ |
SkewableTextView.java | 21 import android.graphics.Matrix; 75 Matrix matrix = new Matrix(); local 76 matrix.setSkew(-mSkewX, 0); 78 matrix.mapRect(mTempRect);
|
/external/chromium_org/chrome/browser/ui/cocoa/omnibox/ |
omnibox_popup_view_mac.h | 44 virtual void OnMatrixRowSelected(OmniboxPopupMatrix* matrix, 46 virtual void OnMatrixRowClicked(OmniboxPopupMatrix* matrix, 48 virtual void OnMatrixRowMiddleClicked(OmniboxPopupMatrix* matrix, 51 OmniboxPopupMatrix* matrix() { return matrix_; } function in class:OmniboxPopupViewMac 63 // field's screen position and the given target for the matrix 80 // Child window containing a matrix which implements the popup.
|
/external/chromium_org/third_party/skia/gm/ |
gm.h | 78 // Most GMs will return the identity matrix, but some PDFs tests 81 SkMatrix matrix = fStarterMatrix; local 82 matrix.preConcat(this->onGetInitialTransform()); 83 return matrix; 99 void setStarterMatrix(const SkMatrix& matrix) { 100 fStarterMatrix = matrix;
|
/external/eigen/test/ |
determinant.cpp | 50 // check empty matrix 58 CALL_SUBTEST_1( determinant(Matrix<float, 1, 1>()) ); 59 CALL_SUBTEST_2( determinant(Matrix<double, 2, 2>()) ); 60 CALL_SUBTEST_3( determinant(Matrix<double, 3, 3>()) ); 61 CALL_SUBTEST_4( determinant(Matrix<double, 4, 4>()) ); 62 CALL_SUBTEST_5( determinant(Matrix<std::complex<double>, 10, 10>()) );
|
/external/skia/gm/ |
gm.h | 78 // Most GMs will return the identity matrix, but some PDFs tests 81 SkMatrix matrix = fStarterMatrix; local 82 matrix.preConcat(this->onGetInitialTransform()); 83 return matrix; 99 void setStarterMatrix(const SkMatrix& matrix) { 100 fStarterMatrix = matrix;
|
/external/chromium-trace/trace-viewer/third_party/gl-matrix/src/gl-matrix/ |
mat3.js | 24 * @class 3x3 Matrix 32 * @returns {mat3} a new 3x3 matrix 51 * @param {mat3} out the receiving 3x3 matrix 52 * @param {mat4} a the source 4x4 matrix 69 * Creates a new mat3 initialized with values from an existing matrix 71 * @param {mat3} a matrix to clone 72 * @returns {mat3} a new 3x3 matrix 91 * @param {mat3} out the receiving matrix 92 * @param {mat3} a the source matrix 109 * Set a mat3 to the identity matrix [all...] |
/frameworks/base/core/tests/inputmethodtests/src/android/os/ |
CursorAnchorInfoTest.java | 19 import android.graphics.Matrix; 90 Matrix TRANSFORM_MATRIX = new Matrix(Matrix.IDENTITY_MATRIX); 194 assertEquals(Matrix.IDENTITY_MATRIX, uninitializedInfo.getMatrix()); 204 final Matrix MATRIX1 = new Matrix(); 206 final Matrix MATRIX2 = new Matrix(); 208 final Matrix NAN_MATRIX = new Matrix() 368 final Matrix matrix = new Matrix(); local [all...] |
/external/eigen/Eigen/src/SparseCholesky/ |
SimplicialCholesky.h | 28 * such that the factorized matrix is P A P^-1. 30 * \tparam _MatrixType the type of the sparse matrix A, it must be a SparseMatrix<> 46 typedef Matrix<Scalar,Dynamic,1> VectorType; 55 SimplicialCholeskyBase(const MatrixType& matrix) 58 derived().compute(matrix); 74 * \c NumericalIssue if the matrix.appears to be negative. 92 && "SimplicialCholeskyBase::solve(): invalid number of rows of the right hand side matrix b"); 106 && "SimplicialCholesky::solve(): invalid number of rows of the right hand side matrix b"); 183 /** Computes the sparse Cholesky decomposition of \a matrix */ 185 void compute(const MatrixType& matrix) [all...] |
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
MatrixFunction.h | 20 * \brief Class for computing matrix functions. 21 * \tparam MatrixType type of the argument of the matrix function, 22 * expected to be an instantiation of the Matrix class template. 23 * \tparam AtomicType type for computing matrix function of atomic blocks. 26 * This class implements the Schur-Parlett algorithm for computing matrix functions. The spectrum of the 27 * matrix is divided in clustered of eigenvalues that lies close together. This class delegates the 28 * computation of the matrix function on every block corresponding to these clusters to an object of type 29 * \p AtomicType and uses these results to compute the matrix function of the whole matrix. The class 30 * \p AtomicType should have a \p compute() member function for computing the matrix function of a block [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/math/ |
m_matrix.c | 28 * Matrix operations. 33 * -# Transformation of a point p by a matrix M is: p' = M * p 50 #define MAT_FLAG_IDENTITY 0 /**< is an identity matrix flag. 52 * matrix is identified by the absense 55 #define MAT_FLAG_GENERAL 0x1 /**< is a general matrix flag */ 56 #define MAT_FLAG_ROTATION 0x2 /**< is a rotation matrix flag */ 57 #define MAT_FLAG_TRANSLATION 0x4 /**< is a translation matrix flag */ 58 #define MAT_FLAG_UNIFORM_SCALE 0x8 /**< is an uniform scaling matrix flag */ 59 #define MAT_FLAG_GENERAL_SCALE 0x10 /**< is a general scaling matrix flag */ 60 #define MAT_FLAG_GENERAL_3D 0x20 /**< general 3D matrix flag * [all...] |
/external/mesa3d/src/mesa/math/ |
m_matrix.c | 28 * Matrix operations. 33 * -# Transformation of a point p by a matrix M is: p' = M * p 50 #define MAT_FLAG_IDENTITY 0 /**< is an identity matrix flag. 52 * matrix is identified by the absense 55 #define MAT_FLAG_GENERAL 0x1 /**< is a general matrix flag */ 56 #define MAT_FLAG_ROTATION 0x2 /**< is a rotation matrix flag */ 57 #define MAT_FLAG_TRANSLATION 0x4 /**< is a translation matrix flag */ 58 #define MAT_FLAG_UNIFORM_SCALE 0x8 /**< is an uniform scaling matrix flag */ 59 #define MAT_FLAG_GENERAL_SCALE 0x10 /**< is a general scaling matrix flag */ 60 #define MAT_FLAG_GENERAL_3D 0x20 /**< general 3D matrix flag * [all...] |
/cts/suite/cts/deviceTests/opengl/jni/reference/scene/flocking/ |
FlockingScene.cpp | 26 #include <graphics/Matrix.h> 71 Matrix* FlockingScene::setUpModelMatrix() { 72 return new Matrix(); 75 Matrix* FlockingScene::setUpViewMatrix() { 91 // Set the view matrix. 92 return Matrix::newLookAt(eyeX, eyeY, eyeZ, centerX, centerY, centerZ, upX, upY, upZ); 95 Matrix* FlockingScene::setUpProjectionMatrix(float width, float height) { 96 // Create a new perspective projection matrix. The height will stay the same 109 return Matrix::newFrustum(left, right, bottom, top, near, far); 146 Matrix* transformMatrix = Matrix::newScale(MAIN_SCALE * mDisplayRatio, MAIN_SCALE, 0.0f) [all...] |
/external/ceres-solver/internal/ceres/ |
compressed_row_sparse_matrix.h | 51 // Build a matrix with the same content as the TripletSparseMatrix 60 // creates a "blank" matrix with the appropriate amount of memory 66 // size of the matrix to begin with and wants to update the layout 74 // Build a square sparse diagonal matrix with num_rows rows and 87 virtual void ToDenseMatrix(Matrix* dense_matrix) const; 99 // Append the contents of m to the bottom of this matrix. m must 100 // have the same number of columns as this matrix. 103 void ToCRSMatrix(CRSMatrix* matrix) const; 105 // Low level access methods that expose the structure of the matrix. 139 // result matrix where it should be accumulated [all...] |
partitioned_matrix_view.h | 33 // have access to the two parts of the matrix as linear operators 52 // Given generalized bi-partite matrix A = [E F], with the same block 59 // block structure of the matrix does not satisfy the requirements of 78 // Create and return the block diagonal of the matrix E'E. 81 // Create and return the block diagonal of the matrix F'F. Caller 85 // Compute the block diagonal of the matrix E'E and store it in 86 // block_diagonal. The matrix block_diagonal is expected to have a 93 // Compute the block diagonal of the matrix F'F and store it in 94 // block_diagonal. The matrix block_diagonal is expected to have a 109 const BlockSparseMatrix& matrix); [all...] |
/external/eigen/unsupported/bench/ |
bench_svd.cpp | 73 cout << " Computes rotaion matrix" <<endl; 109 std::cout<<"On a (Dynamic, Dynamic) (6, 6) Matrix" <<std::endl; 110 bench_svd<Matrix<double,Dynamic,Dynamic> >(Matrix<double,Dynamic,Dynamic>(6, 6)); 112 std::cout<<"On a (Dynamic, Dynamic) (32, 32) Matrix" <<std::endl; 113 bench_svd<Matrix<double,Dynamic,Dynamic> >(Matrix<double,Dynamic,Dynamic>(32, 32)); 115 //std::cout<<"On a (Dynamic, Dynamic) (128, 128) Matrix" <<std::endl; 116 //bench_svd<Matrix<double,Dynamic,Dynamic> >(Matrix<double,Dynamic,Dynamic>(128, 128)) [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
fpdf_edit_content.cpp | 12 CFX_ByteTextBuf& operator << (CFX_ByteTextBuf& ar, CFX_AffineMatrix& matrix)
14 ar << matrix.a << " " << matrix.b << " " << matrix.c << " " << matrix.d << " " << matrix.e << " " << matrix.f;
103 void CPDF_PageContentGenerate::ProcessForm(CFX_ByteTextBuf& buf, FX_LPCBYTE data, FX_DWORD size, CFX_Matrix& matrix)
113 matrix.TransformRect(bbox);
116 buf << "q " << matrix << " cm "; local [all...] |
/frameworks/base/core/java/android/view/animation/ |
Transformation.java | 19 import android.graphics.Matrix; 31 * Indicates a transformation that has no effect (alpha = 1 and identity matrix.) 35 * Indicates a transformation that applies an alpha only (uses an identity matrix.) 39 * Indicates a transformation that applies a matrix only (alpha = 1.) 43 * Indicates a transformation that applies an alpha and a matrix. 47 protected Matrix mMatrix; 55 * Creates a new transformation with alpha = 1 and the identity matrix. 68 mMatrix = new Matrix(); 131 * the transformation matrix. 143 * @return The 3x3 Matrix representing the trnasformation to apply to th [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
WindowLocationUtil.java | 19 import android.graphics.Matrix; 47 Matrix matrix = view.getMatrix(); local 48 if (matrix != null && !matrix.isIdentity()) { 49 matrix.mapPoints(points); 74 matrix = view.getMatrix(); 75 if (matrix != null && !matrix.isIdentity()) { 76 matrix.mapPoints(points) 116 Matrix matrix = view.getImageMatrix(); local [all...] |
/external/eigen/doc/ |
QuickReference.dox | 16 <tr><td>\link Core_Module Core \endlink</td><td>\code#include <Eigen/Core>\endcode</td><td>Matrix and Array classes, basic linear algebra (including triangular and selfadjoint products), array manipulation</td></tr> 24 <tr class="alt"><td>\link Sparse_modules Sparse \endlink</td><td>\code#include <Eigen/Sparse>\endcode</td><td>%Sparse matrix storage and related basic linear algebra (SparseMatrix, DynamicSparseMatrix, SparseVector)</td></tr> 30 \section QuickRef_Types Array, matrix and vector types 33 \b Recall: Eigen provides two kinds of dense objects: mathematical matrices and vectors which are both represented by the template class Matrix, and general 1D and 2D arrays represented by the template class Array: 35 typedef Matrix<Scalar, RowsAtCompileTime, ColsAtCompileTime, Options> MyMatrixType; 40 \li \c RowsAtCompileTime and \c ColsAtCompileTime are the number of rows and columns of the matrix as known at compile-time or \c Dynamic. 41 \li \c Options can be \c ColMajor or \c RowMajor, default is \c ColMajor. (see class Matrix for more options) 43 All combinations are allowed: you can have a matrix with a fixed number of rows and a dynamic number of columns, etc. The following are all valid: 45 Matrix<double, 6, Dynamic> // Dynamic number of columns (heap allocation) 46 Matrix<double, Dynamic, 2> // Dynamic number of rows (heap allocation [all...] |
/external/ceres-solver/include/ceres/ |
normal_prior.h | 47 // where, the matrix A and the vector b are fixed and x is the 53 // where, mu is a vector and S is a covariance matrix, then, A = 54 // S^{-1/2}, i.e the matrix A is the square root of the inverse of the 55 // covariance, also known as the stiffness matrix. There are however 57 // which would be the case if the covariance matrix S is rank 63 // number of columns in the matrix A, crash otherwise. 64 NormalPrior(const Matrix& A, const Vector& b); 70 Matrix A_;
|
/external/chromium-trace/trace-viewer/third_party/gl-matrix/ |
README.md | 6 These types of applications demand high performance vector and matrix math, 10 glMatrix is designed to perform vector and matrix operations stupidly fast! By
|
/external/chromium-trace/trace-viewer/third_party/gl-matrix/tasks/ |
release.rake | 1 desc "tag and release gl-matrix v#{GLMatrix::VERSION}" 14 # if anything fails, gl-matrix will be untagged and not pushed.
|
/external/chromium_org/cc/animation/ |
transform_operations.h | 22 // Transform operations are a decomposed transformation matrix. It can be 37 // Returns a transformation matrix representing these transform operations. 41 // [0, 1], returns a transformation matrix representing the intermediate 46 // http://www.w3.org/TR/2011/WD-css3-2d-transforms-20111215/#matrix-decomposition. 79 // false if we must resort to matrix interpolation, and matrix interpolation 80 // fails (this can happen if either matrix cannot be decomposed). 88 void AppendMatrix(const gfx::Transform& matrix);
|
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_tree_browser_cell.h | 15 // identifying the bookmark node being edited and the column matrix 25 @property(nonatomic, assign) NSMatrix* matrix; variable
|
/external/chromium_org/third_party/skia/experimental/PdfViewer/ |
SkPdfUtils.cpp | 15 void SkTraceMatrix(const SkMatrix& matrix, const char* sz) { 18 printf("%f ", SkScalarToDouble(matrix.get(i)));
|