/external/skia/include/effects/ |
SkStippleMaskFilter.h | 23 const SkMatrix& matrix,
|
/external/skia/include/views/animated/ |
SkImageView.h | 51 SkMatrix* fMatrix; // null or copy of caller's matrix ,,,,,
|
/external/skia/samplecode/ |
SampleCircle.cpp | 101 SkMatrix matrix; local 102 matrix.setScale(SkIntToScalar(100), SkIntToScalar(100)); 103 matrix.postTranslate(SkIntToScalar(200), SkIntToScalar(200)); 104 canvas->concat(matrix);
|
/external/skia/src/core/ |
SkBBoxHierarchyRecord.cpp | 67 void SkBBoxHierarchyRecord::didConcat(const SkMatrix& matrix) { 69 INHERITED::didConcat(matrix); 72 void SkBBoxHierarchyRecord::didSetMatrix(const SkMatrix& matrix) { 74 INHERITED::didSetMatrix(matrix);
|
SkRecordDraw.cpp | 40 DRAW(Concat, concat(r.matrix)); 41 DRAW(SetMatrix, setMatrix(SkMatrix::Concat(fInitialCTM, r.matrix))); 49 DRAW(DrawBitmapMatrix, drawBitmapMatrix(r.bitmap, r.matrix, r.paint)); 63 DRAW(DrawTextOnPath, drawTextOnPath(r.text, r.byteLength, r.path, r.matrix, r.paint));
|
/external/skia/src/effects/gradients/ |
SkLinearGradient.cpp | 42 static void pts_to_unit_matrix(const SkPoint pts[2], SkMatrix* matrix) { 48 matrix->setSinCos(-vec.fY, vec.fX, pts[0].fX, pts[0].fY); 49 matrix->postTranslate(-pts[0].fX, -pts[0].fY); 50 matrix->postScale(inv, inv); 257 SkMatrix* matrix, 262 if (matrix) { 263 matrix->preConcat(fPtsToUnit); 485 const SkMatrix& matrix, 487 AutoEffectUnref effect(SkNEW_ARGS(GrLinearGradient, (ctx, shader, matrix, tm))); 503 const SkMatrix& matrix, 559 SkMatrix matrix; local [all...] |
SkRadialGradient.cpp | 59 SkMatrix* matrix) { 62 matrix->setTranslate(-center.fX, -center.fY); 63 matrix->postScale(inv, inv); 231 SkMatrix* matrix, SkShader::TileMode* xy) const { 235 if (matrix) { 236 matrix->setScale(SkIntToScalar(kCache32Count), 238 matrix->preConcat(fPtsToUnit); 494 const SkMatrix& matrix, 496 AutoEffectUnref effect(SkNEW_ARGS(GrRadialGradient, (ctx, shader, matrix, tm))); 512 const SkMatrix& matrix, 571 SkMatrix matrix; local [all...] |
/external/skia/src/gpu/gl/ |
GrGLUniformManager.h | 65 // matrices are column-major, the first three upload a single matrix, the latter three upload 67 void setMatrix3f(UniformHandle, const GrGLfloat matrix[]) const; 68 void setMatrix4f(UniformHandle, const GrGLfloat matrix[]) const; 72 // convenience method for uploading a SkMatrix to a 3x3 matrix uniform
|
/external/skia/src/svg/ |
SkSVGLinearGradient.cpp | 29 parser._addAttribute("matrix", fMatrixID);
|
SkSVGRadialGradient.cpp | 30 parser._addAttribute("matrix", fMatrixID);
|
/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...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
armVCM4P2_DCT_Table.c | 13 * Description: Contains the DCT/IDCT coefficent matrix
|
/frameworks/base/core/jni/android/graphics/ |
Matrix.h | 25 /* Gets the underlying SkMatrix from a Matrix object. */
|
/frameworks/base/graphics/java/android/graphics/ |
PathEffect.java | 22 * canvas' matrix and drawn.
|
/frameworks/base/libs/hwui/ |
SkiaShader.cpp | 25 #include "Matrix.h" 64 * Compute the matrix to transform to screen space. 65 * @param screenSpace Output param for the computed matrix. 66 * @param unitMatrix The unit matrix for gradient shaders, as returned by SkShader::asAGradient, 68 * @param localMatrix Local matrix, as returned by SkShader::getLocalMatrix(). 69 * @param modelViewMatrix Model view matrix, as supplied by the OpenGLRenderer. 303 static void toUnitMatrix(const SkPoint pts[2], SkMatrix* matrix) { 309 matrix->setSinCos(-vec.fY, vec.fX, pts[0].fX, pts[0].fY); 310 matrix->postTranslate(-pts[0].fX, -pts[0].fY); 311 matrix->postScale(inv, inv) [all...] |
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
grain.rs | 25 * Convolution matrix of distance 2 with fixed point of 'kShiftBits' bits 26 * shifted. Thus the sum of this matrix should be 'kShiftValue'. Entries of 28 * The order ot pixels represented in this matrix is: 32 * and the matrix should be: {230, 56, 114, 56, 114, 114, 56, 114, 56}.
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
grain.fs | 24 * Convolution matrix of distance 2 with fixed point of 'kShiftBits' bits 25 * shifted. Thus the sum of this matrix should be 'kShiftValue'. Entries of 27 * The order ot pixels represented in this matrix is: 31 * and the matrix should be: {230, 56, 114, 56, 114, 114, 56, 114, 56}.
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
grain.rs | 25 * Convolution matrix of distance 2 with fixed point of 'kShiftBits' bits 26 * shifted. Thus the sum of this matrix should be 'kShiftValue'. Entries of 28 * The order ot pixels represented in this matrix is: 32 * and the matrix should be: {230, 56, 114, 56, 114, 114, 56, 114, 56}.
|
/frameworks/support/v4/kitkat/android/support/v4/print/ |
PrintHelperKitkat.java | 22 import android.graphics.Matrix; 216 Matrix matrix = getMatrix(bitmap.getWidth(), bitmap.getHeight(), 220 page.getCanvas().drawBitmap(bitmap, matrix, null); 267 * @return Matrix to be used in canvas.drawBitmap(bitmap, matrix, null) call 269 private Matrix getMatrix(int imageWidth, int imageHeight, RectF content, int fittingMode) { 270 Matrix matrix = new Matrix(); local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
MasterImage.java | 23 import android.graphics.Matrix; 567 public Matrix originalImageToScreen() { 571 public Matrix computeImageToScreen(Bitmap bitmapToDraw, 580 Matrix m = null; 592 m = new Matrix(); 619 private Matrix getImageToScreenMatrix(boolean reflectRotation) { 621 return new Matrix(); 623 Matrix m = GeometryMathUtils.getImageToScreenMatrix(mPreset.getGeometryFilters(), 626 m = new Matrix(); 637 private Matrix getScreenToImageMatrix(boolean reflectRotation) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
CursorAnchorInfoCompatWrapper.java | 19 import android.graphics.Matrix; 54 private static final CompatUtils.ToObjectMethodWrapper<Matrix> sGetMatrixMethod; 81 sGetMatrixMethod = sCursorAnchorInfoClass.getMethod("getMatrix", (Matrix)null); 130 public Matrix getMatrix() {
|
/development/perftests/panorama/feature_stab/db_vlvm/ |
db_utilities_camera.h | 41 Give reasonable guess of the calibration matrix for normalization purposes. 42 Use real K matrix when doing real geometry. 44 \param K calibration matrix (out) 50 \return K(3x3) intrinsic calibration matrix 55 Make a 2x2 identity matrix 63 Make a 3x3 identity matrix 72 Invert intrinsic calibration matrix K(3x3) 232 \param Hinv inverted matrix 233 \param H input matrix 234 \return true if success and false if matrix is ill-conditioned (det < 1e-7 [all...] |
/external/chromium_org/third_party/skia/include/pdf/ |
SkPDFDevice.h | 95 const SkMatrix& matrix, const SkPaint&) SK_OVERRIDE; 104 const SkPath& path, const SkMatrix* matrix, 274 const SkMatrix& matrix, 283 void populateGraphicStateEntryFromPaint(const SkMatrix& matrix, 297 void internalDrawBitmap(const SkMatrix& matrix, 314 bool handleRectAnnotation(const SkRect& r, const SkMatrix& matrix, 317 const SkMatrix& matrix, const SkPaint& paint); 318 SkPDFDict* createLinkAnnotation(const SkRect& r, const SkMatrix& matrix); 320 const SkMatrix& matrix); 322 const SkMatrix& matrix); [all...] |
/external/chromium_org/third_party/skia/src/effects/gradients/ |
SkGradientShaderPriv.h | 280 * The interpretation of the texture matrix depends on the sample mode. The 281 * texture matrix is applied both when the texture coordinates are explicit 283 * case the texture matrix is applied to the pre-view-matrix position 287 * The post-matrix texture coordinates are in normalize space with (0,0) at 290 * The matrix specifies the radial gradient parameters. 291 * (0,0) in the post-matrix space is center of the radial gradient. 293 * Matrix transforms to space where first circle is centered at the 295 * 0 and is provided by setRadial2Params. The post-matrix space is 298 * The angle from the origin of texture coordinates in post-matrix spac [all...] |
/external/eigen/Eigen/src/SparseCore/ |
SparseMatrix.h | 19 * \brief A versatible sparse matrix representation 27 * A call to the function makeCompressed() turns the matrix into the standard \em compressed format 110 Eigen::Map<Matrix<Index,Dynamic,1> > innerNonZeros() { return Eigen::Map<Matrix<Index,Dynamic,1> >(m_innerNonZeros, m_innerNonZeros?m_outerSize:0); } 111 const Eigen::Map<const Matrix<Index,Dynamic,1> > innerNonZeros() const { return Eigen::Map<const Matrix<Index,Dynamic,1> >(m_innerNonZeros, m_innerNonZeros?m_outerSize:0); } 118 /** \returns the number of rows of the matrix */ 120 /** \returns the number of columns of the matrix */ 123 /** \returns the number of rows (resp. columns) of the matrix if the storage order column major (resp. row major) */ 125 /** \returns the number of columns (resp. rows) of the matrix if the storage order column major (resp. row major) * [all...] |