/frameworks/native/libs/input/ |
Input.cpp | 356 static void transformPoint(const float matrix[9], float x, float y, float *outX, float *outY) { 358 float newX = matrix[0] * x + matrix[1] * y + matrix[2]; 359 float newY = matrix[3] * x + matrix[4] * y + matrix[5]; 360 float newZ = matrix[6] * x + matrix[7] * y + matrix[8] [all...] |
/external/freetype/src/cff/ |
cffobjs.c | 673 /* Normalize the font matrix so that `matrix->yy' is 1; if */ 674 /* it is zero, we use `matrix->yx' instead. The scaling is */ 677 /* of the matrix). */ 683 FT_Matrix* matrix = &dict->font_matrix; local 689 temp = matrix->yy ? FT_ABS( matrix->yy ) 690 : FT_ABS( matrix->yx ); 696 matrix->xx = FT_DivFix( matrix->xx, temp ) 713 FT_Matrix* matrix; local [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
fpdf_render_text.cpp | 389 CFX_Matrix matrix = char_matrix; local 390 matrix.e += iChar ? textobj->m_pCharPos[iChar - 1] : 0; 391 matrix.Concat(text_matrix); 392 matrix.Concat(*pObj2Device); 425 status.RenderObjectList(pType3Char->m_pForm, &matrix); 429 rect_f.Transform(&matrix); 444 matrix.TranslateI(-rect.left, -rect.top); 445 matrix.Scale(sa, sd); 446 status.RenderObjectList(pType3Char->m_pForm, &matrix); 454 CFX_GlyphBitmap* pBitmap = pCache->LoadGlyph(charcode, &matrix, sa, sd) 662 CFX_Matrix matrix; local 771 CFX_Matrix matrix; local [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PathMeasureTest.java | 20 import android.graphics.Matrix; 119 Matrix matrix = new Matrix(); local 120 assertFalse(mPathMeasure.getMatrix(1f, matrix, PathMeasure.POSITION_MATRIX_FLAG)); 121 matrix.setScale(1f, 2f); 124 assertTrue(mPathMeasure.getMatrix(0f, matrix, PathMeasure.TANGENT_MATRIX_FLAG));
|
/external/autotest/tko/ |
machine_benchmark.cgi | 103 matrix = [header_row] 118 matrix.append(row) 119 matrix.append(header_row) 121 display.print_table(matrix)
|
/external/ceres-solver/internal/ceres/ |
block_random_access_sparse_matrix.h | 52 // for doing the actual storage. This class augments this matrix with 58 // of this matrix. 63 // modifying any cells when the matrix is being destroyed. 78 // Since the matrix is square, num_rows() == num_cols(). 82 // Access to the underlying matrix object. 83 const TripletSparseMatrix* matrix() const { return tsm_.get(); } function in class:ceres::internal::BlockRandomAccessSparseMatrix 100 // The underlying matrix object which actually stores the cells.
|
block_sparse_matrix.h | 51 // initialize the matrix. For details on how the blocks structure of 52 // the matrix is stored please see the documentation 58 // Construct a block sparse matrix with a fully initialized 59 // CompressedRowBlockStructure objected. The matrix takes over 75 virtual void ToDenseMatrix(Matrix* dense_matrix) const; 84 void ToTripletSparseMatrix(TripletSparseMatrix* matrix) const;
|
dense_sparse_matrix.h | 31 // A dense matrix implemented under the SparseMatrix interface. 49 // Build a matrix with the same content as the TripletSparseMatrix 65 virtual void ToDenseMatrix(Matrix* dense_matrix) const; 73 ConstColMajorMatrixRef matrix() const; 79 // Original matrix: 95 // diagonal to a matrix that already has an appended diagonal, and it is also 96 // a fatal error to remove a diagonal from a matrix that has none.
|
implicit_schur_complement.h | 73 // matrix vector product with the Schur complement 77 // It is straightforward to see that matrix vector products with S can 80 // matrix), it can be done in terms of matrix vector products with E, 91 // num_eliminate_blocks is the number of E blocks in the matrix 94 // preconditioner indicates whether the inverse of the matrix F'F 109 // If D is null, then it is treated as a zero dimensional matrix. It 110 // is important that the matrix A have a BlockStructure object 118 // The Schur complement is a symmetric positive definite matrix, 143 void AddDiagonalAndInvert(const double* D, BlockSparseMatrix* matrix); [all...] |
/external/eigen/Eigen/src/plugins/ |
CommonCwiseUnaryOps.h | 67 /** Overloaded for efficient real matrix times complex scalar value */ 76 operator*(const Scalar& scalar, const StorageBaseType& matrix) 77 { return matrix*scalar; } 80 operator*(const std::complex<Scalar>& scalar, const StorageBaseType& matrix) 81 { return matrix*scalar; }
|
/external/mesa3d/docs/ |
MESA_window_pos.spec | 32 coordinate with the RasterPos command, the modelview matrix, projection 33 matrix and viewport must be set very carefully. Furthermore, if the 39 current raster position, bypassing the modelview matrix, the 40 projection matrix and the viewport to window mapping. Furthermore, 94 matrix, projection matrix and viewport parameters are ignored and the
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_zscan.h | 95 const uint8_t matrix[64], bool intra);
|
/external/opencv3/modules/imgproc/src/ |
samplers.cpp | 273 const double *matrix, int cn ) 276 double A11 = matrix[0], A12 = matrix[1], A13 = matrix[2]; 277 double A21 = matrix[3], A22 = matrix[4], A23 = matrix[5]; 442 double matrix[6]; 443 cv::Mat M(2, 3, CV_64F, matrix); 447 matrix[2] -= matrix[0]*dx + matrix[1]*dy [all...] |
/external/pdfium/core/include/fpdfapi/ |
fpdf_page.h | 66 void Transform(const CFX_Matrix& matrix); 113 void GetDisplayMatrix(CFX_Matrix& matrix, 175 void TransformContent(CFX_Matrix& matrix); 182 CFX_Matrix& matrix);
|
/external/pdfium/fpdfsdk/include/fpdfxfa/ |
fpdfxfa_page.h | 46 void GetDisplayMatrix(CFX_Matrix& matrix,
|
/external/pdfium/xfa/include/fwl/basewidget/ |
fwl_picturebox.h | 41 virtual FWL_ERR GetMatrix(IFWL_Widget* pWidget, CFX_Matrix& matrix) = 0;
|
/external/pdfium/xfa/src/fwl/src/basewidget/ |
fwl_pictureboximp.cpp | 109 CFX_Matrix matrix;
local 110 pPictureDP->GetMatrix(m_pInterface, matrix);
114 matrix.Concat(*pMatrix);
125 pGraphics->DrawImage(pPicture, pt, &matrix);
|
/external/skia/include/core/ |
SkColorFilter.h | 37 * If the filter can be represented by a 5x4 matrix, this 38 * returns true, and sets the matrix appropriately. 41 virtual bool asColorMatrix(SkScalar matrix[20]) const; 124 /** Construct a color filter that transforms a color by a 4x5 matrix. The matrix is in row-
|
/external/skia/include/effects/ |
SkLayerRasterizer.h | 75 virtual bool onRasterize(const SkPath& path, const SkMatrix& matrix,
|
/external/skia/platform_tools/android/apps/canvasproof/src/main/jni/ |
org_skia_canvasproof_GaneshPictureRenderer.cpp | 25 const SkMatrix& matrix) { 47 canvas->concat(matrix); 80 SkMatrix matrix = SkMatrix::MakeScale((SkScalar)scale); local 84 impl->render((int)width, (int)height, picture, matrix);
|
/external/skia/samplecode/ |
SamplePolyToPoly.cpp | 16 extern bool SkSetPoly3To3(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]); 87 SkMatrix matrix; local 96 matrix.setPolyToPoly(src, dst, count); 97 canvas->concat(matrix);
|
/external/skia/src/animator/ |
SkPaintPart.h | 54 SkMatrix* getMatrix(); // returns nullptr if matrix is nullptr 55 SkDrawMatrix* matrix; member in class:SkDrawShader
|
/external/skia/src/gpu/effects/ |
GrConfigConversionEffect.h | 57 const SkMatrix& matrix);
|
/external/skia/src/sfnt/ |
SkOTTable_glyf.h | 157 union Matrix { 181 SkOTTableGlyphData::Composite::Component::Transform::Matrix matrix; member in struct:SkOTTableGlyphData::Composite::Component::Transform::WordValue 187 SkOTTableGlyphData::Composite::Component::Transform::Matrix matrix; member in struct:SkOTTableGlyphData::Composite::Component::Transform::ByteValue 193 SkOTTableGlyphData::Composite::Component::Transform::Matrix matrix; member in struct:SkOTTableGlyphData::Composite::Component::Transform::WordIndex 199 SkOTTableGlyphData::Composite::Component::Transform::Matrix matrix; member in struct:SkOTTableGlyphData::Composite::Component::Transform::ByteIndex
|
/external/skia/src/utils/ |
SkCamera.cpp | 249 void SkCamera3D::patchToMatrix(const SkPatch3D& quilt, SkMatrix* matrix) const { 268 matrix->set(SkMatrix::kMScaleX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); 269 matrix->set(SkMatrix::kMSkewY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot)); 270 matrix->set(SkMatrix::kMPersp0, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot)); 273 matrix->set(SkMatrix::kMSkewX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); 274 matrix->set(SkMatrix::kMScaleY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot)); 275 matrix->set(SkMatrix::kMPersp1, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot)); 278 matrix->set(SkMatrix::kMTransX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); 279 matrix->set(SkMatrix::kMTransY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot)); 280 matrix->set(SkMatrix::kMPersp2, SK_Scalar1) 369 SkMatrix matrix; local [all...] |