HomeSort by relevance Sort by last modified time
    Searched refs:matrix (Results 351 - 375 of 1195) sorted by null

<<11121314151617181920>>

  /frameworks/base/graphics/java/android/graphics/
Path.java 686 * Add a copy of src to the path, transformed by matrix
690 public void addPath(Path src, Matrix matrix) {
692 native_addPath(mNativePath, src.mNativePath, matrix.native_instance);
743 * Transform the points in this path by matrix, and write the answer
746 * @param matrix The matrix to apply to the path
750 public void transform(Matrix matrix, Path dst) {
756 native_transform(mNativePath, matrix.native_instance, dstNative)
    [all...]
  /frameworks/base/libs/hwui/
SkiaShader.cpp 22 #include "Matrix.h"
65 * Compute the matrix to transform to screen space.
66 * @param screenSpace Output param for the computed matrix.
67 * @param unitMatrix The unit matrix for gradient shaders, as returned by SkShader::asAGradient,
69 * @param localMatrix Local matrix, as returned by SkShader::getLocalMatrix().
70 * @param modelViewMatrix Model view matrix, as supplied by the OpenGLRenderer.
83 // gradient shader matrix helpers
86 static void toLinearUnitMatrix(const SkPoint pts[2], SkMatrix* matrix) {
92 matrix->setSinCos(-vec.fY, vec.fX, pts[0].fX, pts[0].fY);
93 matrix->postTranslate(-pts[0].fX, -pts[0].fY)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/util/
GalleryUtils.java 301 float matrix[], float x, float y, float z) {
302 // The matrix is
307 Arrays.fill(matrix, 0, 16, 0);
308 matrix[0] = matrix[5] = matrix[15] = -z;
309 matrix[8] = x;
310 matrix[9] = y;
311 matrix[10] = matrix[11] = 1
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
SingularValueDecompositionImpl.java 25 * Calculates the compact Singular Value Decomposition of a matrix.
27 * The Singular Value Decomposition of matrix A is a set of three matrices: U,
29 * a m &times; n matrix, then U is a m &times; p orthogonal matrix, &Sigma; is a
30 * p &times; p diagonal matrix with positive or null elements, V is a p &times;
31 * n orthogonal matrix (hence V<sup>T</sup> is also orthogonal) where
40 /** Number of rows of the initial matrix. */
43 /** Number of columns of the initial matrix. */
46 /** Eigen decomposition of the tridiagonal matrix. */
68 * Calculates the compact Singular Value Decomposition of the given matrix
    [all...]
  /external/eigen/Eigen/src/Geometry/
Translation.h 39 typedef Matrix<Scalar,Dim,1> VectorType;
40 /** corresponding linear transformation matrix type */
41 typedef Matrix<Scalar,Dim,Dim> LinearMatrixType;
115 res.matrix().setZero();
118 res.matrix().row(Dim).setZero();
183 res.matrix().setZero();
196 res.matrix().setZero();
199 res.matrix().row(Dim).setZero();
  /external/eigen/Eigen/src/SparseLU/
SparseLU.h 30 * scalar type of your input matrix.
38 * (and eventually the rows) of the matrix to reduce the number of new elements that are created during
57 * \warning The input matrix A should be in a \b compressed and \b column-major form.
58 * Otherwise an expensive copy will be made. You can call the inexpensive makeCompressed() to get a compressed matrix.
60 * \note Unlike the initial SuperLU implementation, there is no step to equilibrate the matrix.
65 * \tparam _MatrixType The type of the sparse matrix. It must be a column-major SparseMatrix<>
83 typedef Matrix<Scalar,Dynamic,1> ScalarVector;
84 typedef Matrix<Index,Dynamic,1> IndexVector;
93 SparseLU(const MatrixType& matrix):m_isInitialized(true),m_lastError(""),m_Ustore(0,0,0,0,0,0),m_symmetricmode(false),m_diagpivotthresh(1.0),m_detPermR(1)
96 compute(matrix);
    [all...]
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/unicodefont/effects/
ShadowEffect.java 83 float[] matrix = GAUSSIAN_BLUR_KERNELS[blurKernelSize - 1]; local
84 Kernel gaussianBlur1 = new Kernel(matrix.length, 1, matrix);
85 Kernel gaussianBlur2 = new Kernel(1, matrix.length, matrix);
  /external/pdfium/core/src/fpdfapi/fpdf_page/
fpdf_page.cpp 68 void CPDF_PageObject::TransformClipPath(CFX_Matrix& matrix) {
73 m_ClipPath.Transform(matrix);
75 void CPDF_PageObject::TransformGeneralState(CFX_Matrix& matrix) {
80 pGS->m_Matrix.Concat(matrix);
512 CFX_Matrix matrix; local
513 GetTextMatrix(&matrix);
518 matrix.TransformRect(m_Left, m_Right, m_Top, m_Bottom);
556 void CPDF_TextObject::Transform(const CFX_Matrix& matrix) {
560 text_matrix.Concat(matrix);
626 void CPDF_ShadingObject::Transform(const CFX_Matrix& matrix) {
    [all...]
  /external/skia/experimental/nanomsg/
picture_demo.cpp 20 SkMatrix matrix; member in struct:PictureHeader
27 : matrix(SkMatrix::I())
91 header.matrix.setTranslate(-l, -t);
92 header.matrix.postRotate(rand.nextRangeScalar(-25, 25));
153 canvas->concat(header.matrix);
  /external/skia/samplecode/
ClockFaceView.cpp 71 Dot2DPathEffect(SkScalar radius, const SkMatrix& matrix,
73 : Sk2DPathEffect(matrix), fRadius(radius), fPts(pts) {}
106 SkMatrix matrix; local
107 buffer.readMatrix(&matrix);
108 return new Dot2DPathEffect(buffer.readScalar(), matrix, nullptr);
  /external/skia/src/core/
SkPictureRecord.h 128 void addMatrix(const SkMatrix& matrix);
169 const SkMatrix* matrix, const SkPaint&) override;
213 void recordConcat(const SkMatrix& matrix);
214 void recordTranslate(const SkMatrix& matrix);
215 void recordScale(const SkMatrix& matrix);
SkScalerContext.cpp 205 SkMatrix matrix; local
208 fRec.getMatrixFrom2x2(&matrix);
211 if (fMaskFilter->filterMask(&dst, src, matrix, nullptr)) {
382 SkMatrix matrix; local
383 matrix.setTranslate(-SkIntToScalar(mask.fBounds.fLeft),
396 matrix.setTranslate(-SkIntToScalar(mask.fBounds.fLeft + 1),
398 matrix.postScale(SkIntToScalar(4), SK_Scalar1);
426 draw.fMatrix = &matrix;
536 SkMatrix matrix; local
555 fRec.getMatrixFrom2x2(&matrix);
621 SkMatrix matrix, inverse; local
    [all...]
  /external/skia/src/effects/
SkColorMatrix.cpp 9 // To detect if we need to apply clamping after applying a matrix, we check if
31 bool SkColorMatrix::NeedsClamping(const SkScalar matrix[20]) {
32 return component_needs_clamping(matrix)
33 || component_needs_clamping(matrix+5)
34 || component_needs_clamping(matrix+10)
35 || component_needs_clamping(matrix+15);
  /external/skia/src/pdf/
SkPDFDevice.h 99 const SkMatrix& matrix, const SkPaint&) override;
269 const SkMatrix& matrix,
278 void populateGraphicStateEntryFromPaint(const SkMatrix& matrix,
291 void internalDrawImage(const SkMatrix& matrix,
307 const SkMatrix& matrix, SkAnnotation* annot);
  /frameworks/base/core/jni/android/graphics/pdf/
PdfRenderer.cpp 208 CFX_Matrix matrix; local
210 pPage->GetDisplayMatrix(matrix, destLeft, destTop, destRight - destLeft,
215 matrix.Set(1, 0, 0, -1, 0, pPage->GetPageHeight());
219 matrix.Concat(transformValues[SkMatrix::kAScaleX], transformValues[SkMatrix::kASkewY],
229 pageContext->AppendObjectList(pPage, &matrix);
272 "transform matrix has perspective. Only affine matrices are allowed.");
  /frameworks/base/libs/hwui/tests/unit/
GlopBuilderTests.cpp 37 } else if (expectedFill.filterMode == ProgramDescription::ColorFilterMode::Matrix) {
38 Glop::Fill::Filter::Matrix& expectedMatrix = expectedFill.filter.matrix;
39 Glop::Fill::Filter::Matrix& builtMatrix = expectedFill.filter.matrix;
40 EXPECT_TRUE(std::memcmp(expectedMatrix.matrix, builtMatrix.matrix,
41 sizeof(Glop::Fill::Filter::Matrix::matrix)));
43 sizeof(Glop::Fill::Filter::Matrix::vector)))
    [all...]
  /frameworks/support/compat/java/android/support/v4/app/
SharedElementCallback.java 21 import android.graphics.Matrix;
43 private Matrix mTempMatrix;
157 * @param viewToGlobalMatrix A matrix containing a transform from the view to the screen
166 public Parcelable onCaptureSharedElementSnapshot(View sharedElement, Matrix viewToGlobalMatrix,
179 if (imageView.getScaleType() == ScaleType.MATRIX) {
180 Matrix matrix = imageView.getImageMatrix(); local
182 matrix.getValues(values);
197 mTempMatrix = new Matrix();
241 * {@link #onCaptureSharedElementSnapshot(android.view.View, android.graphics.Matrix,
271 Matrix matrix = new Matrix(); local
    [all...]
  /development/ndk/platforms/android-17/samples/Teapot/src/com/sample/helper/
NDKHelper.java 28 import android.graphics.Matrix;
64 // create a matrix for the manipulation
65 Matrix matrix = new Matrix(); local
68 matrix.postScale(newWidth / width, newHeight / height);
72 bitmapToScale.getHeight(), matrix, true);
95 // Matrix matrix = new Matrix();
    [all...]
  /development/ndk/platforms/android-18/samples/MoreTeapots/src/com/sample/helper/
NDKHelper.java 28 import android.graphics.Matrix;
64 // create a matrix for the manipulation
65 Matrix matrix = new Matrix(); local
68 matrix.postScale(newWidth / width, newHeight / height);
72 bitmapToScale.getHeight(), matrix, true);
95 // Matrix matrix = new Matrix();
    [all...]
  /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/ceres-solver/internal/ceres/
dense_sparse_matrix.cc 88 VectorRef(y, num_rows()) += matrix() * ConstVectorRef(x, num_cols());
93 matrix().transpose() * ConstVectorRef(x, num_rows());
104 void DenseSparseMatrix::ToDenseMatrix(Matrix* dense_matrix) const {
147 ConstColMajorMatrixRef DenseSparseMatrix::matrix() const { function in class:ceres::internal::DenseSparseMatrix
  /external/eigen/bench/
benchGeometry.cpp 41 return a1.matrix() * a2;
51 return res(a1.matrix() * a2.matrix());
83 typedef Matrix<scalar, vsize, 1, option> Vec;\
112 cout << "vec = trans.matrix() * vec" << endl;
128 cout << "trans = trans1.matrix() * trans.matrix()" << endl;
  /external/eigen/lapack/
clarf.f 39 *> matrix C, from either the left or the right. H is represented in the
46 *> If tau = 0, then H is taken to be the unit matrix.
65 *> The number of rows of the matrix C.
71 *> The number of columns of the matrix C.
98 *> On entry, the M-by-N matrix C.
99 *> On exit, C is overwritten by the matrix H * C if SIDE = 'L',
dlarf.f 38 *> DLARF applies a real elementary reflector H to a real m by n matrix
45 *> If tau = 0, then H is taken to be the unit matrix.
61 *> The number of rows of the matrix C.
67 *> The number of columns of the matrix C.
94 *> On entry, the m by n matrix C.
95 *> On exit, C is overwritten by the matrix H * C if SIDE = 'L',
slarf.f 38 *> SLARF applies a real elementary reflector H to a real m by n matrix
45 *> If tau = 0, then H is taken to be the unit matrix.
61 *> The number of rows of the matrix C.
67 *> The number of columns of the matrix C.
94 *> On entry, the m by n matrix C.
95 *> On exit, C is overwritten by the matrix H * C if SIDE = 'L',

Completed in 2757 milliseconds

<<11121314151617181920>>