/external/mesa3d/src/gallium/state_trackers/xorg/ |
xorg_composite.c | 431 static INLINE boolean matrix_from_pict_transform(PictTransform *trans, float *matrix) 436 matrix[0] = XFixedToDouble(trans->matrix[0][0]); 437 matrix[3] = XFixedToDouble(trans->matrix[0][1]); 438 matrix[6] = XFixedToDouble(trans->matrix[0][2]); 440 matrix[1] = XFixedToDouble(trans->matrix[1][0]); 441 matrix[4] = XFixedToDouble(trans->matrix[1][1]) [all...] |
/external/pdfium/xfa/src/fxbarcode/oned/ |
BC_OnedUPCAWriter.cpp | 115 const CFX_Matrix* matrix,
145 matr.Concat(*matrix);
155 matr1.Concat(*matrix);
163 matr2.Concat(*matrix);
173 matr3.Concat(*matrix);
196 if (matrix != NULL) {
197 affine_matrix1.Concat(*matrix);
222 if (matrix != NULL) {
223 affine_matrix1.Concat(*matrix);
249 if (matrix != NULL) { [all...] |
BC_OneDimWriter.h | 47 const CFX_Matrix* matrix,
92 const CFX_Matrix* matrix,
104 const CFX_Matrix* matrix,
|
/external/skia/src/effects/gradients/ |
SkRadialGradient.cpp | 26 SkMatrix matrix; local 27 matrix.setTranslate(-center.fX, -center.fY); 28 matrix.postScale(inv, inv); 29 return matrix; 270 const SkMatrix& matrix, 272 return new GrRadialGradient(ctx, shader, matrix, tm); 282 const SkMatrix& matrix, 284 : INHERITED(ctx, shader, matrix, tm) { 350 SkMatrix matrix; local 351 if (!this->getLocalMatrix().invert(&matrix)) { [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
Vector3.java | 341 /** Left-multiplies the vector by the given 4x3 column major matrix. The matrix should be composed by a 3x3 matrix representing
342 * rotation and scale plus a 1x3 matrix representing the translation.
343 * @param matrix The matrix
345 public Vector3 mul4x3 (float[] matrix) {
346 return set(x * matrix[0] + y * matrix[3] + z * matrix[6] + matrix[9], x * matrix[1] + y * matrix[4] + z * matrix[7] [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
d3dx9effect.h | 139 STDMETHOD(SetMatrix)(THIS_ D3DXHANDLE parameter, CONST D3DXMATRIX* matrix) PURE; 140 STDMETHOD(GetMatrix)(THIS_ D3DXHANDLE parameter, D3DXMATRIX* matrix) PURE; 141 STDMETHOD(SetMatrixArray)(THIS_ D3DXHANDLE parameter, CONST D3DXMATRIX* matrix, UINT count) PURE; 142 STDMETHOD(GetMatrixArray)(THIS_ D3DXHANDLE parameter, D3DXMATRIX* matrix, UINT count) PURE; 143 STDMETHOD(SetMatrixPointerArray)(THIS_ D3DXHANDLE parameter, CONST D3DXMATRIX** matrix, UINT count) PURE; 144 STDMETHOD(GetMatrixPointerArray)(THIS_ D3DXHANDLE parameter, D3DXMATRIX** matrix, UINT count) PURE; 145 STDMETHOD(SetMatrixTranspose)(THIS_ D3DXHANDLE parameter, CONST D3DXMATRIX* matrix) PURE; 146 STDMETHOD(GetMatrixTranspose)(THIS_ D3DXHANDLE parameter, D3DXMATRIX* matrix) PURE; 147 STDMETHOD(SetMatrixTransposeArray)(THIS_ D3DXHANDLE parameter, CONST D3DXMATRIX* matrix, UINT count) PURE; 148 STDMETHOD(GetMatrixTransposeArray)(THIS_ D3DXHANDLE parameter, D3DXMATRIX* matrix, UINT count) PURE [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
MatrixTest.java | 18 import android.graphics.Matrix; 20 import android.graphics.Matrix.ScaleToFit; 24 private Matrix mMatrix; 30 mMatrix = new Matrix(); 35 new Matrix(); 36 new Matrix(mMatrix); 54 Matrix matrix = new Matrix(); local 55 matrix.set(mMatrix) 64 Matrix matrix = new Matrix(); local 203 Matrix matrix = new Matrix(); local 255 Matrix matrix = new Matrix(); local 300 Matrix matrix = new Matrix(); local 463 Matrix matrix = new Matrix(); local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdiplusbrush.h | 291 Status GetTransform(Matrix *matrix) const 295 matrix ? matrix->nativeMatrix : NULL)); 304 Status MultiplyTransform(const Matrix *matrix, 309 matrix ? matrix->nativeMatrix : NULL, order)); 378 Status SetTransform(const Matrix *matrix) [all...] |
gdipluspen.h | 192 Status GetTransform(Matrix *matrix) const 196 matrix ? matrix->nativeMatrix : NULL)); 204 Status MultiplyTransform(const Matrix *matrix, 209 matrix ? matrix->nativeMatrix : NULL, order)); 305 Status SetTransform(const Matrix *matrix) [all...] |
/external/skia/samplecode/ |
SampleAARects.cpp | 78 SkMatrix matrix; local 126 matrix.setRotate(45.f); 127 canvas->concat(matrix); 159 matrix.setScale(-1.f, -1.f); 160 canvas->concat(matrix); 170 matrix.setScale(2.1f, 4.1f); 171 canvas->concat(matrix);
|
/external/skia/src/views/ |
SkWindow.cpp | 38 void SkWindow::setMatrix(const SkMatrix& matrix) { 39 if (fMatrix != matrix) { 40 fMatrix = matrix; 45 void SkWindow::preConcat(const SkMatrix& matrix) { 47 m.setConcat(fMatrix, matrix); 51 void SkWindow::postConcat(const SkMatrix& matrix) { 53 m.setConcat(matrix, fMatrix);
|
/external/ceres-solver/internal/ceres/ |
block_sparse_matrix.cc | 56 // Count the number of columns in the matrix. 62 // the matrix. 162 void BlockSparseMatrix::ToDenseMatrix(Matrix* dense_matrix) const { 167 Matrix& m = *dense_matrix; 185 TripletSparseMatrix* matrix) const { 186 CHECK_NOTNULL(matrix); 188 matrix->Reserve(num_nonzeros_); 189 matrix->Resize(num_rows_, num_cols_); 190 matrix->SetZero(); 203 matrix->mutable_rows()[jac_pos] = row_block_pos + r [all...] |
dense_normal_cholesky_solver.cc | 74 ConstColMajorMatrixRef Aref = A->matrix(); 75 Matrix lhs(num_cols, num_cols); 83 // same matrix being multiplied with itself and that the product is 92 lhs += D.array().square().matrix().asDiagonal(); 99 Eigen::LLT<Matrix, Eigen::Upper> llt = 123 // Temporarily append a diagonal block to the A matrix, but undo 124 // it before returning the matrix to the user. 129 Matrix lhs(num_cols, num_cols); 135 // matrix is the same as the number of rows. 145 // Undo the modifications to the matrix A [all...] |
/external/opencv3/modules/viz/src/ |
widget.cpp | 241 vtkSmartPointer<vtkMatrix4x4> matrix = vtkmatrix(pose.matrix); local 242 actor->SetUserMatrix(matrix); 251 vtkSmartPointer<vtkMatrix4x4> matrix = actor->GetUserMatrix(); local 252 if (!matrix) 258 Affine3d updated_pose = pose * Affine3d(*matrix->Element); 259 matrix = vtkmatrix(updated_pose.matrix); 261 actor->SetUserMatrix(matrix);
|
/external/skia/src/utils/ |
SkCanvasStateUtils.cpp | 49 float matrix[9]; member in struct:SkMCState 160 static void setup_MC_state(SkMCState* state, const SkMatrix& matrix, const SkRegion& clip) { 164 // capture the matrix 166 state->matrix[i] = matrix.get(i); 211 // decompose the total matrix and clip 253 setup_MC_state(&layerState->mcState, layer.matrix(), layer.clip()); 269 // reconstruct the matrix 270 SkMatrix matrix; local 272 matrix.set(i, state.matrix[i]) [all...] |
SkCanvasStack.cpp | 64 * We need to handle setMatrix specially as it overwrites the matrix in each 65 * canvas unlike all other matrix operations (i.e. translate, scale, etc) which 66 * just pre-concatenate with the existing matrix. 68 void SkCanvasStack::didSetMatrix(const SkMatrix& matrix) { 72 SkMatrix tempMatrix = matrix; 77 this->SkCanvas::didSetMatrix(matrix);
|
/packages/apps/Gallery/src/com/android/camera/ |
ImageViewTouchBase.java | 21 import android.graphics.Matrix; 39 // This matrix is recomputed when we go from the thumbnail image to 41 protected Matrix mBaseMatrix = new Matrix(); 46 // This matrix remains the same when we go from the thumbnail image 48 protected Matrix mSuppMatrix = new Matrix(); 50 // This is the final matrix which is computed as the concatentation 51 // of the base matrix and the supplementary matrix [all...] |
/external/skia/src/core/ |
SkDraw.cpp | 53 SkAutoBlitterChoose(const SkPixmap& dst, const SkMatrix& matrix, 55 fBlitter = SkBlitter::Choose(dst, matrix, paint, &fAllocator, drawCoverage); 61 void choose(const SkPixmap& dst, const SkMatrix& matrix, 64 fBlitter = SkBlitter::Choose(dst, matrix, paint, &fAllocator, drawCoverage); 309 bool init(SkCanvas::PointMode, const SkPaint&, const SkMatrix* matrix, 410 // square procs (strokeWidth > 0 but matrix is square-scale (sx == sy) 448 const SkMatrix* matrix, const SkRasterClip* rc) { 466 matrix->isScaleTranslate() && SkCanvas::kPoints_PointMode == mode) { 467 SkScalar sx = matrix->get(SkMatrix::kMScaleX); 468 SkScalar sy = matrix->get(SkMatrix::kMScaleY) 568 const SkMatrix* matrix = fMatrix; local 807 const SkMatrix* matrix; local 1033 const SkMatrix* matrix = fMatrix; local 1281 SkMatrix matrix; local 1368 SkMatrix matrix; local 1416 SkMatrix matrix; local 1602 SkMatrix matrix; local 2025 SkMatrix matrix; local [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
MeshShaderTest.java | 33 Matrix4 matrix = new Matrix4();
field in class:MeshShaderTest 66 matrix.setToRotation(axis, angle);
76 shader.setUniformMatrix("u_worldView", matrix);
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
path.h | 34 struct matrix; 95 struct matrix *m); 107 void path_render(struct path *p, VGbitfield paintModes, struct matrix *mat);
|
/external/pdfium/xfa/src/fxbarcode/pdf417/ |
BC_PDF417Detector.cpp | 152 CFX_PtrArray* CBC_Detector::findVertices(CBC_CommonBitMatrix* matrix,
155 int32_t height = matrix->GetHeight();
156 int32_t width = matrix->GetWidth();
160 matrix, height, width, startRow, startColumn, START_PATTERN,
172 matrix, height, width, startRow, startColumn, STOP_PATTERN,
188 CFX_PtrArray* CBC_Detector::findRowsWithPattern(CBC_CommonBitMatrix* matrix,
202 findGuardPattern(matrix, startColumn, startRow, width, FALSE, pattern,
207 findGuardPattern(matrix, startColumn, --startRow, width, FALSE,
234 findGuardPattern(matrix, previousRowLoc[0], stopRow, width, FALSE,
264 CFX_Int32Array* CBC_Detector::findGuardPattern(CBC_CommonBitMatrix* matrix,
[all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ProfileAndContactsLoader.java | 127 MatrixCursor matrix = new MatrixCursor(mProjection); 133 matrix.addRow(row); 135 return matrix;
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
CompositeImageRequest.java | 21 import android.graphics.Matrix; 87 final Matrix matrix = new Matrix(); local 88 matrix.setRectToRect(smallCircleRect, avatarDestOnGroup, 89 Matrix.ScaleToFit.FILL); 90 mCanvas.drawBitmap(smallCircleBitmap, matrix, mPaint);
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
OrientedBitmapDrawable.java | 22 import android.graphics.Matrix; 88 final Matrix matrix = new Matrix(); local 89 matrix.setRotate(mOrientationParams.rotation, mCenterX, mCenterY); 91 matrix.mapRect(rotatedRect);
|
/external/eigen/Eigen/src/Eigenvalues/ |
EigenSolver.h | 25 * \tparam _MatrixType the type of the matrix of which we are computing the 26 * eigendecomposition; this is expected to be an instantiation of the Matrix 29 * The eigenvalues and eigenvectors of a matrix \f$ A \f$ are scalars 31 * \f$ D \f$ is a diagonal matrix with the eigenvalues on the diagonal, and 32 * \f$ V \f$ is a matrix with the eigenvectors as its columns, then \f$ A V = 33 * V D \f$. The matrix \f$ V \f$ is almost always invertible, in which case we 36 * The eigenvalues and eigenvectors of a matrix may be complex, even when the 37 * matrix is real. However, we can choose real matrices \f$ V \f$ and \f$ D 39 * matrix \f$ D \f$ is not required to be diagonal, but if it is allowed to 47 * a given matrix. Alternatively, you can use the [all...] |