/external/chromium_org/third_party/skia/src/animator/ |
SkDrawMatrix.cpp | 56 fMatrix.reset(); 81 copy->fMatrix = fMatrix; 99 if (fMatrix.isIdentity()) { 104 result = fMatrix[SkMatrix::kMScaleX]; 107 result = fMatrix.getScaleY(); 110 result = fMatrix.getSkewX(); 113 result = fMatrix.getSkewY(); 116 result = fMatrix.getTranslateX(); 119 result = fMatrix.getTranslateY() [all...] |
SkDrawMatrix.h | 46 fMatrix.preRotate(degrees, center.fX, center.fY); 50 fMatrix.preConcat(src); 54 fMatrix.preScale(scaleX, scaleY, center.fX, center.fY); 58 fMatrix.preSkew(skewX, skewY, center.fX, center.fY); 62 fMatrix.preTranslate(x, y); 67 SkMatrix fMatrix;
|
SkMatrixParts.cpp | 16 SkMatrixPart::SkMatrixPart() : fMatrix(NULL) { 20 fMatrix->dirty(); 24 return fMatrix; 31 fMatrix = (SkDrawMatrix*) parent; 52 fMatrix->rotate(degrees, center); 74 fMatrix->scale(x, y, center); 96 fMatrix->skew(x, y, center); 116 fMatrix->translate(x, y); 153 fMatrix->set(result); 182 fMatrix->set(temp) [all...] |
/external/skia/src/animator/ |
SkDrawMatrix.cpp | 56 fMatrix.reset(); 81 copy->fMatrix = fMatrix; 99 if (fMatrix.isIdentity()) { 104 result = fMatrix[SkMatrix::kMScaleX]; 107 result = fMatrix.getScaleY(); 110 result = fMatrix.getSkewX(); 113 result = fMatrix.getSkewY(); 116 result = fMatrix.getTranslateX(); 119 result = fMatrix.getTranslateY() [all...] |
SkDrawMatrix.h | 46 fMatrix.preRotate(degrees, center.fX, center.fY); 50 fMatrix.preConcat(src); 54 fMatrix.preScale(scaleX, scaleY, center.fX, center.fY); 58 fMatrix.preSkew(skewX, skewY, center.fX, center.fY); 62 fMatrix.preTranslate(x, y); 67 SkMatrix fMatrix;
|
SkMatrixParts.cpp | 16 SkMatrixPart::SkMatrixPart() : fMatrix(NULL) { 20 fMatrix->dirty(); 24 return fMatrix; 31 fMatrix = (SkDrawMatrix*) parent; 52 fMatrix->rotate(degrees, center); 74 fMatrix->scale(x, y, center); 96 fMatrix->skew(x, y, center); 116 fMatrix->translate(x, y); 153 fMatrix->set(result); 182 fMatrix->set(temp) [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkTextMapStateProc.h | 17 : fMatrix(matrix) 20 , fScaleX(fMatrix.getScaleX()) 21 , fTransX(fMatrix.getTranslateX()) { 24 unsigned mtype = fMatrix.getType(); 28 fY = SkScalarMul(y, fMatrix.getScaleY()) + 29 fMatrix.getTranslateY(); 44 const SkMatrix& fMatrix; 59 fProc(fMatrix, pos[0], pos[1], loc); 70 fProc(fMatrix, *pos, fY, loc);
|
SkPerspIter.h | 41 const SkMatrix& fMatrix;
|
/external/skia/src/core/ |
SkTextMapStateProc.h | 17 : fMatrix(matrix) 20 , fScaleX(fMatrix.getScaleX()) 21 , fTransX(fMatrix.getTranslateX()) { 24 unsigned mtype = fMatrix.getType(); 28 fY = SkScalarMul(y, fMatrix.getScaleY()) + 29 fMatrix.getTranslateY(); 44 const SkMatrix& fMatrix; 59 fProc(fMatrix, pos[0], pos[1], loc); 70 fProc(fMatrix, *pos, fY, loc);
|
SkPerspIter.h | 41 const SkMatrix& fMatrix;
|
/external/skia/include/gpu/ |
GrCoordTransform.h | 73 fMatrix = m; 80 fMatrix = other.fMatrix; 91 return &fMatrix; 96 fMatrix.cheapEqualTo(other.fMatrix) && 101 const SkMatrix& getMatrix() const { return fMatrix; } 106 SkMatrix fMatrix;
|
/external/chromium_org/third_party/skia/bench/ |
MatrixBench.cpp | 235 fMatrix.setAll(fArray[0], fArray[1], fArray[2], 240 junk ^= (fMatrix.getType()); 241 fMatrix.dirtyMatrixTypeCache(); 242 junk ^= (fMatrix.getType()); 243 fMatrix.dirtyMatrixTypeCache(); 244 junk ^= (fMatrix.getType()); 245 fMatrix.dirtyMatrixTypeCache(); 246 junk ^= (fMatrix.getType()); 247 fMatrix.dirtyMatrixTypeCache(); 248 junk ^= (fMatrix.getType()) [all...] |
BitmapScaleBench.cpp | 33 SkMatrix fMatrix; 65 fMatrix.setScale( scale(), scale() ); 97 canvas.drawBitmapMatrix( fInputBitmap, fMatrix, &paint );
|
/external/skia/bench/ |
MatrixBench.cpp | 235 fMatrix.setAll(fArray[0], fArray[1], fArray[2], 240 junk ^= (fMatrix.getType()); 241 fMatrix.dirtyMatrixTypeCache(); 242 junk ^= (fMatrix.getType()); 243 fMatrix.dirtyMatrixTypeCache(); 244 junk ^= (fMatrix.getType()); 245 fMatrix.dirtyMatrixTypeCache(); 246 junk ^= (fMatrix.getType()); 247 fMatrix.dirtyMatrixTypeCache(); 248 junk ^= (fMatrix.getType()) [all...] |
BitmapScaleBench.cpp | 33 SkMatrix fMatrix; 65 fMatrix.setScale( scale(), scale() ); 97 canvas.drawBitmapMatrix( fInputBitmap, fMatrix, &paint );
|
/external/chromium_org/third_party/skia/include/gpu/ |
GrCoordTransform.h | 73 fMatrix = m; 80 fMatrix = other.fMatrix; 91 return &fMatrix; 96 fMatrix.cheapEqualTo(other.fMatrix) && 101 const SkMatrix& getMatrix() const { return fMatrix; } 115 SkMatrix fMatrix;
|
/external/chromium_org/third_party/skia/gm/ |
filterindiabox.cpp | 56 fMatrix[0].setScale(horizScale, vertScale); 57 fMatrix[1].setRotate(30, cx, cy); fMatrix[1].postScale(horizScale, vertScale); 62 SkMatrix fMatrix[2]; 91 for (size_t i = 0; i < SK_ARRAY_COUNT(fMatrix); ++i) { 92 SkSize size = computeSize(fBM, fMatrix[i]); 96 draw_row(canvas, fBM, fMatrix[i], size.fWidth);
|
shadertext2.cpp | 39 SkMatrix fMatrix; 63 matrices.append()->fMatrix.reset(); 65 matrices.append()->fMatrix.setScale(1.2f, 0.8f); 67 matrices.append()->fMatrix.setRotate(10.f); 69 matrices.append()->fMatrix.reset(); 70 matrices.top().fMatrix.setPerspX(-0.0015f); 71 matrices.top().fMatrix.setPerspY(+0.0015f); 75 localMatrices.append()->fMatrix.reset(); 77 localMatrices.append()->fMatrix.setScale(2.5f, 0.2f); 79 localMatrices.append()->fMatrix.setRotate(45.f) [all...] |
filterbitmap.cpp | 57 fMatrix[0].setScale(scale, scale); 58 fMatrix[1].setRotate(30, cx, cy); fMatrix[1].postScale(scale, scale); 61 fMatrix[2].setScale(0.7f, 1.05f); 66 SkMatrix fMatrix[3]; 93 for (size_t i = 0; i < SK_ARRAY_COUNT(fMatrix); ++i) { 94 SkSize size = computeSize(fBM, fMatrix[i]); 98 draw_row(canvas, fBM, fMatrix[i], size.fWidth);
|
/external/chromium_org/third_party/skia/src/views/animated/ |
SkImageView.cpp | 19 fMatrix = NULL; 30 if (fMatrix) 31 sk_free(fMatrix); 74 if (fMatrix) 76 SkASSERT(!fMatrix->isIdentity()); 78 *matrix = *fMatrix; 95 if (fMatrix == NULL) 96 fMatrix = (SkMatrix*)sk_malloc_throw(sizeof(SkMatrix)); 97 *fMatrix = *matrix; 102 if (fMatrix) [all...] |
/external/skia/src/views/animated/ |
SkImageView.cpp | 19 fMatrix = NULL; 30 if (fMatrix) 31 sk_free(fMatrix); 74 if (fMatrix) 76 SkASSERT(!fMatrix->isIdentity()); 78 *matrix = *fMatrix; 95 if (fMatrix == NULL) 96 fMatrix = (SkMatrix*)sk_malloc_throw(sizeof(SkMatrix)); 97 *fMatrix = *matrix; 102 if (fMatrix) [all...] |
/external/skia/gm/ |
shadertext2.cpp | 39 SkMatrix fMatrix; 63 matrices.append()->fMatrix.reset(); 65 matrices.append()->fMatrix.setScale(1.2f, 0.8f); 67 matrices.append()->fMatrix.setRotate(10.f); 69 matrices.append()->fMatrix.reset(); 70 matrices.top().fMatrix.setPerspX(-0.0015f); 71 matrices.top().fMatrix.setPerspY(+0.0015f); 75 localMatrices.append()->fMatrix.reset(); 77 localMatrices.append()->fMatrix.setScale(2.5f, 0.2f); 79 localMatrices.append()->fMatrix.setRotate(45.f) [all...] |
filterindiabox.cpp | 56 fMatrix[0].setScale(horizScale, vertScale); 57 fMatrix[1].setRotate(30, cx, cy); fMatrix[1].postScale(horizScale, vertScale); 62 SkMatrix fMatrix[2]; 88 for (size_t i = 0; i < SK_ARRAY_COUNT(fMatrix); ++i) { 89 SkSize size = computeSize(fBM, fMatrix[i]); 93 draw_row(canvas, fBM, fMatrix[i], size.fWidth);
|
/external/chromium_org/third_party/skia/src/pdf/ |
SkPDFDeviceFlattener.cpp | 28 *d.fMatrix)); 45 d.fMatrix->mapPoints(flattenedPoints, points, SkToS32(count)); 48 draw.fMatrix = &identity; 61 path.transform(*d.fMatrix); 64 draw.fMatrix = &matrix; 106 tmpPath.transform(*d.fMatrix); 110 draw.fMatrix = &matrix; 147 return d.fMatrix->hasPerspective(); 153 return d.fMatrix->hasPerspective();
|
/external/skia/src/pdf/ |
SkPDFDeviceFlattener.cpp | 28 *d.fMatrix)); 45 d.fMatrix->mapPoints(flattenedPoints, points, SkToS32(count)); 48 draw.fMatrix = &identity; 61 path.transform(*d.fMatrix); 64 draw.fMatrix = &matrix; 106 tmpPath.transform(*d.fMatrix); 110 draw.fMatrix = &matrix; 147 return d.fMatrix->hasPerspective(); 153 return d.fMatrix->hasPerspective();
|