/external/skia/include/effects/ |
SkLayerRasterizer.h | 51 virtual bool onRasterize(const SkPath& path, const SkMatrix& matrix,
|
SkTransparentShader.h | 28 const SkMatrix& matrix);
|
/external/skia/src/gl/ |
SkGLDevice.h | 37 virtual void setMatrixClip(const SkMatrix& matrix, const SkRegion& clip); 47 const SkMatrix& matrix, const SkPaint& paint); 56 const SkPath& path, const SkMatrix* matrix, 68 const SkMatrix& matrix() const { return fMatrix; } function in class:SkGLDevice
|
SkGLDevice_SWLayer.cpp | 50 const SkMatrix& matrix, const SkPaint& paint) { 51 draw.drawBitmap(bitmap, matrix, paint); 72 const SkMatrix* matrix, 74 draw.drawTextOnPath((const char*)text, len, path, matrix, paint);
|
SkGLDevice_SWLayer.h | 23 const SkMatrix& matrix, const SkPaint& paint); 32 const SkPath& path, const SkMatrix* matrix,
|
/packages/apps/Camera/src/com/android/camera/ui/ |
RotatePane.java | 19 import android.graphics.Matrix; 78 Matrix matrix = view.getTransformation().getMatrix(); local 83 matrix.preRotate(180, width / 2, height / 2); 86 matrix.preRotate(270, height / 2, height / 2); 89 matrix.preRotate(90, width / 2, width / 2);
|
/external/skia/src/core/ |
SkShader.cpp | 28 SkMatrix matrix; local 29 buffer.read(&matrix, sizeof(matrix)); 30 setLocalMatrix(matrix); 92 const SkMatrix& matrix) { 93 const SkMatrix* m = &matrix; 99 total.setConcat(matrix, *fLocalMatrix); 235 const SkMatrix& matrix) { 236 if (!this->INHERITED::setContext(device, paint, matrix)) {
|
SkShape.cpp | 35 void SkShape::drawMatrix(SkCanvas* canvas, const SkMatrix& matrix) { 37 canvas->concat(matrix);
|
SkDraw.cpp | 73 SkAutoBlitterChoose(const SkBitmap& device, const SkMatrix& matrix, 75 fBlitter = SkBlitter::Choose(device, matrix, paint, 328 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 SkRegion* clip) { 461 matrix->rectStaysRect() && SkCanvas::kPoints_PointMode == mode) { 462 SkScalar sx = matrix->get(SkMatrix::kMScaleX); 463 SkScalar sy = matrix->get(SkMatrix::kMScaleY); 524 const SkPaint& paint, const SkMatrix& matrix) { 531 matrix.mapRect(&bounds) 578 const SkMatrix* matrix = fMatrix; local 679 const SkMatrix& matrix = *fMatrix; local 813 const SkMatrix* matrix = fMatrix; local 1043 SkMatrix matrix; local 1162 SkMatrix matrix; local 1213 SkMatrix matrix; local 2466 SkMatrix matrix; local [all...] |
SkColorFilter.cpp | 88 const SkMatrix& matrix) 90 return this->INHERITED::setContext(device, paint, matrix) && 91 fShader->setContext(device, paint, matrix);
|
/external/freetype/include/freetype/ |
ftglyph.h | 275 /* matrix :: A pointer to a 2x2 matrix to apply. */ 284 /* The 2x2 transformation matrix is also applied to the glyph's */ 289 FT_Matrix* matrix, 597 FT_Matrix_Invert( FT_Matrix* matrix ); variable [all...] |
/external/webkit/WebCore/bindings/js/ |
JSWebKitCSSMatrixConstructor.cpp | 53 RefPtr<WebKitCSSMatrix> matrix = WebKitCSSMatrix::create(s, ec); local 55 return CREATE_DOM_OBJECT_WRAPPER(exec, jsConstructor->globalObject(), WebKitCSSMatrix, matrix.get());
|
/frameworks/base/graphics/java/android/graphics/ |
PathMeasure.java | 98 * corresponding matrix. Returns false if there is no path, or a zero-length 99 * path was specified, in which case matrix is unchanged. 102 * @param matrix Allocated by the caller, this is set to the transformation 104 * @param flags Specified what aspects should be returned in the matrix. 106 public boolean getMatrix(float distance, Matrix matrix, int flags) { 107 return native_getMatrix(native_instance, distance, matrix.native_instance, flags);
|
Path.java | 464 * Add a copy of src to the path, transformed by matrix 468 public void addPath(Path src, Matrix matrix) { 469 native_addPath(mNativePath, src.mNativePath, matrix.native_instance); 509 * Transform the points in this path by matrix, and write the answer 512 * @param matrix The matrix to apply to the path 516 public void transform(Matrix matrix, Path dst) { 521 native_transform(mNativePath, matrix.native_instance, dstNative) [all...] |
/external/freetype/src/base/ |
ftcalc.c | 723 FT_Matrix_Invert( FT_Matrix* matrix ) 728 if ( !matrix ) 732 delta = FT_MulFix( matrix->xx, matrix->yy ) - 733 FT_MulFix( matrix->xy, matrix->yx ); 736 return FT_Err_Invalid_Argument; /* matrix can't be inverted */ 738 matrix->xy = - FT_DivFix( matrix->xy, delta ); 739 matrix->yx = - FT_DivFix( matrix->yx, delta ) [all...] |
/external/webkit/WebCore/platform/graphics/android/ |
ImageAndroid.cpp | 307 SkMatrix matrix(patternTransform); 310 matrix.preScale(SkFloatToScalar(scaleX), SkFloatToScalar(scaleY)); 318 matrix.postTranslate(SkFloatToScalar(tx), SkFloatToScalar(ty)); 319 shader->setLocalMatrix(matrix); 321 SkDebugf("--- drawPattern: src [%g %g %g %g] dst [%g %g %g %g] transform [%g %g %g %g %g %g] matrix [%g %g %g %g %g %g]\n", 326 matrix[0], matrix[1], matrix[2], matrix[3], matrix[4], matrix[5]) [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
MatrixTest.java | 18 import android.graphics.Matrix; 20 import android.graphics.Matrix.ScaleToFit; 27 @TestTargetClass(Matrix.class) 29 private Matrix mMatrix; 35 mMatrix = new Matrix(); 42 method = "Matrix", 47 method = "Matrix", 48 args = {android.graphics.Matrix.class} 57 new Matrix(); 58 new Matrix(mMatrix) 91 Matrix matrix = new Matrix(); local 106 Matrix matrix = new Matrix(); local 335 Matrix matrix = new Matrix(); local 427 Matrix matrix = new Matrix(); local 483 Matrix matrix = new Matrix(); local 708 Matrix matrix = new Matrix(); local [all...] |
PathMeasureTest.java | 19 import android.graphics.Matrix; 156 args = {float.class, android.graphics.Matrix.class, int.class} 159 Matrix matrix = new Matrix(); local 160 assertFalse(mPathMeasure.getMatrix(1f, matrix, PathMeasure.POSITION_MATRIX_FLAG)); 161 matrix.setScale(1f, 2f); 164 assertTrue(mPathMeasure.getMatrix(0f, matrix, PathMeasure.TANGENT_MATRIX_FLAG));
|
/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...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
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/qemu/distrib/sdl-1.2.12/src/video/dc/ |
SDL_dcevents.c | 128 if (state->matrix[i]!=old_state.matrix[i]) { 132 SDL_PrivateKeyboard(state->matrix[i]?SDL_PRESSED:SDL_RELEASED,&keysym);
|
/external/skia/include/core/ |
SkBlitter.h | 51 const SkMatrix& matrix, 53 return Choose(device, matrix, paint, NULL, 0); 57 const SkMatrix& matrix,
|
/external/skia/include/utils/ |
SkNWayCanvas.h | 27 virtual bool concat(const SkMatrix& matrix); 28 virtual void setMatrix(const SkMatrix& matrix); 57 const SkPath& path, const SkMatrix* matrix,
|
/external/skia/src/effects/ |
SkBlurMaskFilter.cpp | 29 virtual bool filterMask(SkMask* dst, const SkMask& src, const SkMatrix& matrix, SkIPoint* margin); 81 bool SkBlurMaskFilterImpl::filterMask(SkMask* dst, const SkMask& src, const SkMatrix& matrix, SkIPoint* margin) 83 SkScalar radius = matrix.mapRadius(fRadius);
|
/external/webkit/WebCore/platform/win/ |
DragImageCairoWin.cpp | 84 cairo_matrix_t matrix; local 85 cairo_matrix_init(&matrix, 1.0, 0.0, 0.0, -1.0, 0.0, size.height()); 86 cairo_set_matrix(*targetRef, &matrix);
|