/external/chromium_org/third_party/skia/gm/ |
pictureshader.cpp | 69 SkMatrix ctm, localMatrix; local 71 ctm.setTranslate(pos.x(), pos.y()); 72 ctm.preScale(scale, scale); 74 this->drawScene(canvas, ctm, localMatrix, tileMode); 76 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 1.2f * scale); 77 ctm.preScale(scale, scale); 80 this->drawScene(canvas, ctm, localMatrix, tileMode); 82 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 2.4f * scale); 83 ctm.preScale(scale, scale); 86 this->drawScene(canvas, ctm, localMatrix, tileMode) [all...] |
/external/skia/gm/ |
pictureshader.cpp | 71 SkMatrix ctm, localMatrix; local 73 ctm.setTranslate(pos.x(), pos.y()); 74 ctm.preScale(scale, scale); 76 this->drawScene(canvas, ctm, localMatrix, tileMode); 78 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 1.2f * scale); 79 ctm.preScale(scale, scale); 82 this->drawScene(canvas, ctm, localMatrix, tileMode); 84 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 2.4f * scale); 85 ctm.preScale(scale, scale); 88 this->drawScene(canvas, ctm, localMatrix, tileMode) [all...] |
/external/skia/src/effects/ |
SkComposeImageFilter.cpp | 38 const SkMatrix& ctm, 48 return (outer ? outer : inner)->filterBounds(src, ctm, dst); 52 return inner->filterBounds(src, ctm, &tmp) && 53 outer->filterBounds(tmp, ctm, dst);
|
SkMatrixImageFilter.cpp | 64 if (!ctx.ctm().invert(&matrix)) { 68 matrix.postConcat(ctx.ctm()); 104 bool SkMatrixImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, 111 if (!ctm.invert(&matrix)) { 115 matrix.postConcat(ctm); 120 if (getInput(0) && !getInput(0)->filterBounds(bounds, ctm, &bounds)) {
|
SkTileImageFilter.cpp | 30 ctx.ctm().mapRect(&dstRect, fDstRect); 40 ctx.ctm().mapRect(&srcRect, fSrcRect); 78 bool SkTileImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, 81 ctm.mapRect(&srcRect, fSrcRect);
|
SkOffsetImageFilter.cpp | 34 ctx.ctm().mapVectors(&vec, &fOffset, 1); 59 ctx.ctm().mapVectors(&vec, &fOffset, 1); 79 bool SkOffsetImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, 82 ctm.mapVectors(&vec, &fOffset, 1); 88 return getInput(0)->filterBounds(bounds, ctm, dst);
|
SkPictureImageFilter.cpp | 70 ctx.ctm().mapRect(&floatBounds, fCropRect); 87 canvas.concat(ctx.ctm()); 96 bool SkPictureImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm,
|
SkDropShadowImageFilter.cpp | 85 ctx.ctm().mapVectors(&sigma, 1); 96 ctx.ctm().mapVectors(&offsetVec, 1); 121 bool SkDropShadowImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, 124 if (getInput(0) && !getInput(0)->filterBounds(src, ctm, &bounds)) { 128 ctm.mapVectors(&offsetVec, 1); 132 ctm.mapVectors(&sigma, 1);
|
/external/chromium_org/third_party/skia/include/core/ |
SkMaskFilter.h | 55 @param matrix the CTM 75 virtual bool asFragmentProcessor(GrFragmentProcessor**, GrTexture*, const SkMatrix& ctm) const; 91 const SkMatrix& ctm, 120 const SkMatrix& ctm, 207 bool filterPath(const SkPath& devPath, const SkMatrix& ctm, const SkRasterClip&, SkBlitter*, 214 bool filterRRect(const SkRRect& devRRect, const SkMatrix& ctm, const SkRasterClip&,
|
SkImageFilter.h | 52 // This cache maps from (filter's unique ID + CTM + clipBounds + src bitmap generation ID) to 66 Context(const SkMatrix& ctm, const SkIRect& clipBounds, Cache* cache) : 67 fCTM(ctm), fClipBounds(clipBounds), fCache(cache) { 69 const SkMatrix& ctm() const { return fCTM; } function in class:SkImageFilter::Context 112 bool filterBounds(const SkIRect& src, const SkMatrix& ctm, SkIRect* dst) const; 263 // coordinates (first parameter), and the CTM, compute (conservatively)
|
/external/skia/include/core/ |
SkMaskFilter.h | 55 @param matrix the CTM 77 const SkMatrix& ctm) const; 93 const SkMatrix& ctm, 122 const SkMatrix& ctm, 207 bool filterPath(const SkPath& devPath, const SkMatrix& ctm, const SkRasterClip&, SkBlitter*, 214 bool filterRRect(const SkRRect& devRRect, const SkMatrix& ctm, const SkRasterClip&,
|
SkImageFilter.h | 64 Context(const SkMatrix& ctm, const SkIRect& clipBounds, Cache* cache) : 65 fCTM(ctm), fClipBounds(clipBounds), fCache(cache) { 67 const SkMatrix& ctm() const { return fCTM; } function in class:SkImageFilter::Context 110 bool filterBounds(const SkIRect& src, const SkMatrix& ctm, SkIRect* dst) const; 241 // coordinates (first parameter), and the CTM, compute (conservatively)
|
/external/chromium_org/third_party/WebKit/Source/core/paint/ |
BoxDecorationData.cpp | 32 AffineTransform ctm = context->getCTM(); 33 FloatSize contextScaling(static_cast<float>(ctm.xScale()), static_cast<float>(ctm.yScale()));
|
/external/chromium_org/third_party/skia/src/effects/ |
SkComposeImageFilter.cpp | 30 const SkMatrix& ctm, 36 return inner->filterBounds(src, ctm, &tmp) && outer->filterBounds(tmp, ctm, dst);
|
SkMatrixImageFilter.cpp | 76 if (!ctx.ctm().invert(&matrix)) { 80 matrix.postConcat(ctx.ctm()); 116 bool SkMatrixImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, 123 if (!ctm.invert(&matrix)) { 127 matrix.postConcat(ctm); 132 if (getInput(0) && !getInput(0)->filterBounds(bounds, ctm, &bounds)) {
|
SkOffsetImageFilter.cpp | 34 ctx.ctm().mapVectors(&vec, &fOffset, 1); 59 ctx.ctm().mapVectors(&vec, &fOffset, 1); 79 bool SkOffsetImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, 82 ctm.mapVectors(&vec, &fOffset, 1); 88 return getInput(0)->filterBounds(bounds, ctm, dst);
|
SkPictureImageFilter.cpp | 85 ctx.ctm().mapRect(&floatBounds, fCropRect); 105 canvas.concat(ctx.ctm()); 114 bool SkPictureImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm,
|
SkTileImageFilter.cpp | 38 ctx.ctm().mapRect(&dstRect, fDstRect); 48 ctx.ctm().mapRect(&srcRect, fSrcRect); 86 bool SkTileImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, 89 ctm.mapRect(&srcRect, fSrcRect);
|
SkDropShadowImageFilter.cpp | 86 ctx.ctm().mapVectors(&sigma, 1); 97 ctx.ctm().mapVectors(&offsetVec, 1); 122 bool SkDropShadowImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, 126 ctm.mapVectors(&offsetVec, 1); 130 ctm.mapVectors(&sigma, 1); 134 if (getInput(0) && !getInput(0)->filterBounds(bounds, ctm, &bounds)) {
|
/external/chromium_org/ash/touch/ |
touch_transformer_controller.cc | 79 gfx::Transform ctm; local 83 return ctm; 86 ctm.Scale(width / fb_size.width(), height / fb_size.height()); 87 return ctm; 126 gfx::Transform ctm; local 128 return ctm; 146 return ctm; 155 ctm.Translate(0.0, (1.0 - mirror_ar / native_ar) * 0.5 * mirror_height); 156 ctm.Scale(1.0, mirror_ar / native_ar); 157 return ctm; [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrLayerCache.h | 54 Key(uint32_t pictureID, int start, int stop, const SkIPoint& offset, const SkMatrix& ctm) 59 , fCTM(ctm) { 80 const SkMatrix& ctm() const { return fCTM; } function in struct:GrCachedLayer::Key 90 // The CTM applied to this layer in the picture 101 const SkIPoint& offset, const SkMatrix& ctm, 103 : fKey(pictureID, start, stop, offset, ctm) 121 const SkMatrix& ctm() const { return fKey.ctm(); } function in struct:GrCachedLayer 191 const SkIPoint& offset, const SkMatrix& ctm); 195 const SkMatrix& ctm, [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGGraphicsElement.cpp | 48 AffineTransform ctm = getCTM(AllowStyleUpdate); local 56 ctm = targetCTM.inverse() * ctm; 59 return SVGMatrixTearOff::create(ctm); 76 AffineTransform ctm; local 84 ctm = toSVGElement(currentElement)->localCoordinateSpaceTransform(mode).multiply(ctm); 101 return ctm;
|
/external/chromium_org/third_party/skia/include/effects/ |
SkBitmapSource.h | 37 virtual bool onFilterBounds(const SkIRect& src, const SkMatrix& ctm, SkIRect* dst) const SK_OVERRIDE;
|
/external/skia/include/effects/ |
SkBitmapSource.h | 35 virtual bool onFilterBounds(const SkIRect& src, const SkMatrix& ctm, SkIRect* dst) const SK_OVERRIDE;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
RenderSVGResourceFilter.cpp | 161 // Scale the CTM so the primitive is drawn to filterRes. 168 // If the CTM contains rotation or shearing, apply the filter to 171 AffineTransform ctm = context->getCTM(); local 172 if (ctm.b() || ctm.c()) { 174 scaleAndTranslate.translate(ctm.e(), ctm.f()); 175 scaleAndTranslate.scale(ctm.xScale(), ctm.yScale()); 178 shearAndRotate.multiply(ctm); [all...] |