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

1 23 4 5 6 7 8 91011>>

  /cts/tests/tests/transition/src/android/transition/cts/
ChangeImageTransformTest.java 20 import android.graphics.Matrix;
34 Matrix mStartMatrix;
35 Matrix mEndMatrix;
81 private Matrix centerMatrix() {
90 Matrix matrix = new Matrix(); local
91 matrix.postTranslate(tx, ty);
92 return matrix;
95 private Matrix fitXYMatrix()
104 Matrix matrix = new Matrix(); local
125 Matrix matrix = new Matrix(); local
147 Matrix matrix = new Matrix(); local
164 Matrix matrix = new Matrix(); local
185 Matrix matrix = new Matrix(); local
278 Matrix matrix = mImageView.getImageMatrix(); local
    [all...]
  /external/skia/src/image/
SkImageShader.cpp 15 SkImageShader::SkImageShader(const SkImage* img, TileMode tmx, TileMode tmy, const SkMatrix* matrix)
16 : INHERITED(matrix)
25 SkMatrix matrix; local
26 buffer.readMatrix(&matrix);
31 return new SkImageShader(img, tx, ty, &matrix);
90 SkMatrix matrix; local
91 matrix.setIDiv(fImage->width(), fImage->height());
104 matrix.preConcat(lmInverse);
109 // we check the matrix scale factors to determine how to interpret the filter quality setting.
123 inner.reset(GrBicubicEffect::Create(texture, matrix, tm))
    [all...]
  /external/ceres-solver/internal/ceres/
incomplete_lq_factorization.cc 45 inline double NormalizeRow(const int row, CompressedRowSparseMatrix* matrix) {
46 const int row_begin = matrix->rows()[row];
47 const int row_end = matrix->rows()[row + 1];
49 double* values = matrix->mutable_values();
111 // vector to matrix.
118 CompressedRowSparseMatrix* matrix) {
119 int* rows = matrix->mutable_rows();
120 int* cols = matrix->mutable_cols();
121 double* values = matrix->mutable_values();
122 int num_nonzeros = rows[matrix->num_rows()]
    [all...]
preconditioner.cc 51 const SparseMatrix* matrix)
52 : matrix_(CHECK_NOTNULL(matrix)) {
  /external/pdfium/xfa/src/fwl/src/lightwidget/
picturebox.cpp 59 CFX_Matrix matrix; local
60 m_PictureBoxDP.GetMatrix(m_pIface, matrix);
61 matrix.Scale(fScaleX, fScaleY);
70 CFX_Matrix matrix; local
71 m_PictureBoxDP.GetMatrix(m_pIface, matrix);
72 fx = matrix.e;
73 fy = matrix.f;
104 CFX_Matrix& matrix) {
109 matrix.SetIdentity();
110 matrix.Translate(-fLen, -fWid);
    [all...]
  /external/skia/src/core/
SkPictureImageGenerator.cpp 42 const SkMatrix* matrix, const SkPaint* paint) {
47 return new SkPictureImageGenerator(size, picture, matrix, paint);
51 const SkMatrix* matrix, const SkPaint* paint)
55 if (matrix) {
56 fMatrix = *matrix;
107 SkMatrix matrix = SkMatrix::MakeScale(scaleX, scaleY); local
108 matrix.postTranslate(-SkIntToScalar(scaledOrigin.x()), -SkIntToScalar(scaledOrigin.y()));
117 matrix.preConcat(fMatrix);
118 canvas.drawPicture(fPicture, &matrix, fPaint.getMaybeNull());
125 const SkMatrix* matrix, const SkPaint* paint)
147 SkMatrix matrix = fMatrix; local
    [all...]
SkDrawable.cpp 35 void SkDrawable::draw(SkCanvas* canvas, const SkMatrix* matrix) {
37 if (matrix) {
38 canvas->concat(*matrix);
48 SkMatrix matrix = SkMatrix::MakeTrans(x, y); local
49 this->draw(canvas, &matrix);
SkRasterizer.cpp 15 bool SkRasterizer::rasterize(const SkPath& fillPath, const SkMatrix& matrix,
26 if (!filter->filterMask(&dstM, srcM, matrix, &margin)) {
33 return this->onRasterize(fillPath, matrix, clipBounds, mask, mode);
38 bool SkRasterizer::onRasterize(const SkPath& fillPath, const SkMatrix& matrix,
43 fillPath.transform(matrix, &devPath);
  /external/webrtc/talk/app/webrtc/java/android/org/webrtc/
RendererCommon.java 32 import android.opengl.Matrix;
140 // Matrix with transform y' = 1 - y.
149 // Matrix with transform x' = 1 - x.
159 * Returns texture matrix that will have the effect of rotating the frame |rotationDegree|
164 Matrix.setRotateM(rotationMatrix, 0, rotationDegree, 0, 0, 1);
170 * Returns new matrix with the result of a * b.
174 Matrix.multiplyMM(resultMatrix, 0, a, 0, b, 0);
179 * Returns layout transformation matrix that applies an optional mirror effect and compensates
196 final float matrix[] = new float[16]; local
197 Matrix.setIdentityM(matrix, 0)
    [all...]
  /external/eigen/Eigen/src/Eigenvalues/
SelfAdjointEigenSolver_MKL.h 44 SelfAdjointEigenSolver<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW> >& \
45 SelfAdjointEigenSolver<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW> >::compute(const Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW>& matrix, int options) \
47 eigen_assert(matrix.cols() == matrix.rows()); \
52 lapack_int n = matrix.cols(), lda, matrix_order, info; \
55 m_eivec = matrix; \
59 m_eivalues.coeffRef(0,0) = numext::real(matrix.coeff(0,0)); \
67 lda = matrix.outerStride();
    [all...]
RealSchur_MKL.h 44 RealSchur<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW> >& \
45 RealSchur<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW> >::compute(const Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW>& matrix, bool computeU) \
47 typedef Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW> MatrixType; \
51 eigen_assert(matrix.cols() == matrix.rows()); \
53 lapack_int n = matrix.cols(), sdim, info; \
54 lapack_int lda = matrix.outerStride(); \
61 m_matT = matrix; \
    [all...]
  /external/skia/gm/
picture.cpp 62 SkMatrix matrix; variable
67 matrix.setTranslate(110, 0);
68 canvas->drawPicture(fPicture, &matrix, nullptr);
70 matrix.postTranslate(110, 0);
71 canvas->drawPicture(fPicture, &matrix, &paint);
74 matrix.postTranslate(110, 0);
75 canvas->drawPicture(fPicture, &matrix, &paint);
  /external/opencv3/modules/core/include/opencv2/core/
affine.hpp 71 //! Augmented affine matrix
74 //! Rotation matrix
80 //! Combines all contructors above. Supports 4x4, 4x3, 3x3, 1x3, 3x1 sizes of data matrix
89 //! Rotation matrix
95 //! Combines rotation methods above. Suports 3x3, 1x3, 3x1 sizes of data matrix;
126 Mat4 matrix; member in class:cv::Affine3
176 : matrix(Mat4::eye())
181 : matrix(affine)
189 matrix.val[12] = matrix.val[13] = matrix.val[14] = 0
    [all...]
  /external/pdfium/xfa/src/fxbarcode/qrcode/
BC_QRCoderMaskUtil.cpp 31 CBC_CommonByteMatrix* matrix) {
32 return ApplyMaskPenaltyRule1Internal(matrix, TRUE) +
33 ApplyMaskPenaltyRule1Internal(matrix, FALSE);
36 CBC_CommonByteMatrix* matrix) {
38 uint8_t* array = matrix->GetArray();
39 int32_t width = matrix->GetWidth();
40 int32_t height = matrix->GetHeight();
54 CBC_CommonByteMatrix* matrix) {
56 uint8_t* array = matrix->GetArray();
57 int32_t width = matrix->GetWidth();
    [all...]
  /external/opencv/cvaux/src/
_cvvm.h 56 /* Scanline section. Find coordinates by fundamental matrix */
122 /*============================== Fundamental Matrix Functions ==========================*/
143 CvStatus icvGetCoefficient( CvMatrix3* matrix,
149 CvStatus icvGetCoefficientDefault( CvMatrix3* matrix,
155 CvStatus icvGetCoefficientStereo( CvMatrix3* matrix,
164 CvStatus icvGetCoefficientOrto( CvMatrix3* matrix,
181 CvMatrix3* matrix,
191 CvMatrix3* matrix,
200 CvMatrix3* matrix,
206 CvMatrix3* matrix,
    [all...]
  /external/skia/experimental/
SkSetPoly3To3_A.cpp 11 bool SkSetPoly3To3_A(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]);
50 bool SkSetPoly3To3_A(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]) {
74 matrix->reset();
75 matrix->setScaleX(divide(M[0], det));
76 matrix->setSkewX( divide(M[1], det));
77 matrix->setSkewY (divide(M[2], det));
78 matrix->setScaleY(divide(M[3], det));
79 matrix->setTranslateX(dstAve.fX - dot(srcAve.fX, srcAve.fY,
80 matrix->getScaleX(), matrix->getSkewX()))
    [all...]
  /packages/apps/LegacyCamera/tests/src/com/android/camera/unittest/
CameraTest.java 23 import android.graphics.Matrix;
77 Matrix matrix = new Matrix(); local
81 Util.prepareMatrix(matrix, false, 0, 800, 480);
84 matrix.mapPoints(points);
87 Util.prepareMatrix(matrix, false, 90, 800, 480);
90 matrix.mapPoints(points);
93 Util.prepareMatrix(matrix, false, 180, 800, 480);
96 matrix.mapPoints(points)
    [all...]
  /packages/apps/Gallery/src/com/android/camera/
RotateBitmap.java 20 import android.graphics.Matrix;
53 public Matrix getRotateMatrix() {
54 // By default this is an identity matrix.
55 Matrix matrix = new Matrix(); local
62 matrix.preTranslate(-cx, -cy);
63 matrix.postRotate(mRotation);
64 matrix.postTranslate(getWidth() / 2, getHeight() / 2);
66 return matrix;
    [all...]
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
ResourceModifier.java 27 import android.graphics.Matrix;
67 Matrix matrix = new Matrix(); local
68 matrix.setTranslate(texWidth / 2.0f, texHeight / 2.0f);
69 matrix.postRotate(45, 0, 0);
70 translatedShader.setLocalMatrix(matrix);
74 matrix = new Matrix();
75 matrix.setScale(0.5f, 0.5f)
    [all...]
  /external/mesa3d/src/gallium/state_trackers/vega/
shader.h 36 struct matrix;
58 const struct matrix *mat);
59 void shader_set_paint_matrix(struct shader *shader, const struct matrix *mat);
matrix.h 79 struct matrix { struct
83 static INLINE void matrix_init(struct matrix *mat,
89 static INLINE void matrix_inits(struct matrix *mat,
99 static INLINE void matrix_load_identity(struct matrix *matrix)
104 memcpy(matrix->m, identity, sizeof(identity));
107 static INLINE VGboolean matrix_is_identity(struct matrix *matrix)
109 return floatsEqual(matrix->m[0], 1) && floatIsZero(matrix->m[1]) &
    [all...]
api_transform.c 31 #include "matrix.h"
37 struct matrix *mat = vg_state_matrix(&ctx->state.vg);
44 struct matrix *mat;
66 struct matrix *mat;
83 struct matrix *dst, src;
106 struct matrix *dst = vg_state_matrix(&ctx->state.vg);
113 struct matrix *dst = vg_state_matrix(&ctx->state.vg);
120 struct matrix *dst = vg_state_matrix(&ctx->state.vg);
127 struct matrix *dst = vg_state_matrix(&ctx->state.vg);
  /external/skia/include/effects/
Sk2DPathEffect.h 58 static SkPathEffect* Create(SkScalar width, const SkMatrix& matrix) {
59 return new SkLine2DPathEffect(width, matrix);
69 SkLine2DPathEffect(SkScalar width, const SkMatrix& matrix)
70 : Sk2DPathEffect(matrix), fWidth(width) {}
84 * Stamp the specified path to fill the shape, using the matrix to define
87 static SkPathEffect* Create(const SkMatrix& matrix, const SkPath& path) {
88 return new SkPath2DPathEffect(matrix, path);
  /packages/apps/Launcher3/src/com/android/launcher3/util/
FocusLogic.java 38 * <li> full matrix of cells that are 1x1
39 * <li> sparse matrix of cells that are 1x1
71 // Matrix related constant.
146 * Returns a matrix of size (m x n) that has been initialized with {@link #EMPTY}.
148 * @param m number of columns in the matrix
149 * @param n number of rows in the matrix
151 // TODO: get rid of dynamic matrix creation.
153 int[][] matrix = new int [m][n]; local
156 Arrays.fill(matrix[i], EMPTY);
158 return matrix;
172 int[][] matrix = createFullMatrix(m, n); local
216 int[][] matrix = createFullMatrix(m, n); local
285 int[][] matrix = createFullMatrix(iconLayout.getCountX() + 1, iconLayout.getCountY()); local
    [all...]
  /external/eigen/test/eigen2/
eigen2_geometry.cpp 21 typedef Matrix<Scalar,2,2> Matrix2;
22 typedef Matrix<Scalar,3,3> Matrix3;
23 typedef Matrix<Scalar,4,4> Matrix4;
24 typedef Matrix<Scalar,2,1> Vector2;
25 typedef Matrix<Scalar,3,1> Vector3;
26 typedef Matrix<Scalar,4,1> Vector4;
90 // rotation matrix conversion
141 VERIFY_IS_APPROX(t0.matrix(), Transform3::MatrixType::Identity());
142 t0.matrix().setZero();
144 VERIFY_IS_APPROX(t0.matrix(), Transform3::MatrixType::Identity())
    [all...]

Completed in 2403 milliseconds

1 23 4 5 6 7 8 91011>>