HomeSort by relevance Sort by last modified time
    Searched defs:dstRect (Results 1 - 25 of 36) sorted by null

1 2

  /external/chromium_org/third_party/skia/src/effects/
SkBitmapSource.cpp 22 SkBitmapSource::SkBitmapSource(const SkBitmap& bitmap, const SkRect& srcRect, const SkRect& dstRect)
26 fDstRect(dstRect) {
46 SkRect bounds, dstRect;
48 matrix.mapRect(&dstRect, fDstRect);
49 if (fSrcRect == bounds && dstRect == bounds) {
55 dstRect.roundOut(&dstIRect);
66 dstRect.offset(-SkIntToScalar(dstIRect.fLeft), -SkIntToScalar(dstIRect.fTop));
71 fSrcRect.width() == dstRect.width() && fSrcRect.height() == dstRect.height() ?
73 canvas.drawBitmapRectToRect(fBitmap, &fSrcRect, dstRect, &paint)
    [all...]
SkTileImageFilter.cpp 27 SkRect dstRect;
28 ctm.mapRect(&dstRect, fDstRect);
29 int w = SkScalarCeilToInt(dstRect.width());
30 int h = SkScalarCeilToInt(dstRect.height());
59 dstRect.offset(SkIntToScalar(localOffset.fX), SkIntToScalar(localOffset.fY));
60 canvas.drawRect(dstRect, paint);
SkGpuBlurUtils.cpp 44 const SkRect& dstRect,
57 context->drawRectToRect(paint, dstRect, srcRect);
62 const SkRect& dstRect,
70 convolve_gaussian_pass(context, srcRect, dstRect, texture,
74 SkRect lowerSrcRect = srcRect, lowerDstRect = dstRect;
75 SkRect middleSrcRect = srcRect, middleDstRect = dstRect;
76 SkRect upperSrcRect = srcRect, upperDstRect = dstRect;
84 lowerDstRect.fRight = dstRect.left() + rad;
86 upperDstRect.fLeft = dstRect.right() - rad;
94 lowerDstRect.fBottom = dstRect.top() + rad
    [all...]
SkBicubicImageFilter.cpp 102 SkRect dstRect = SkRect::MakeWH(SkScalarMul(SkIntToScalar(src.width()), fScale.fWidth),
105 dstRect.roundOut(&dstIRect);
118 inverse.setRectToRect(dstRect, srcRect, SkMatrix::kFill_ScaleToFit);
177 SkRect dstRect = SkRect::MakeWH(srcBM.width() * fScale.fWidth,
182 desc.fWidth = SkScalarCeilToInt(dstRect.width());
183 desc.fHeight = SkScalarCeilToInt(dstRect.height());
196 context->drawRectToRect(paint, dstRect, srcRect);
SkDisplacementMapEffect.cpp 358 SkRect dstRect = SkRect::MakeWH(srcRect.width(), srcRect.height());
359 context->drawRectToRect(paint, dstRect, srcRect);
SkMorphologyImageFilter.cpp 501 const SkIRect& dstRect,
510 context->drawRectToRect(paint, SkRect::Make(dstRect), SkRect::Make(srcRect));
530 SkIRect dstRect = SkIRect::MakeWH(rect.width(), rect.height());
541 apply_morphology_pass(context, src, srcRect, dstRect, radius.fWidth,
543 SkIRect clearRect = SkIRect::MakeXYWH(dstRect.fLeft, dstRect.fBottom,
544 dstRect.width(), radius.fHeight);
549 srcRect = dstRect;
554 apply_morphology_pass(context, src, srcRect, dstRect, radius.fHeight,
  /external/skia/src/effects/
SkBitmapSource.cpp 22 SkBitmapSource::SkBitmapSource(const SkBitmap& bitmap, const SkRect& srcRect, const SkRect& dstRect)
26 fDstRect(dstRect) {
46 SkRect bounds, dstRect;
48 matrix.mapRect(&dstRect, fDstRect);
49 if (fSrcRect == bounds && dstRect == bounds) {
55 dstRect.roundOut(&dstIRect);
66 dstRect.offset(-SkIntToScalar(dstIRect.fLeft), -SkIntToScalar(dstIRect.fTop));
71 fSrcRect.width() == dstRect.width() && fSrcRect.height() == dstRect.height() ?
73 canvas.drawBitmapRectToRect(fBitmap, &fSrcRect, dstRect, &paint)
    [all...]
SkTileImageFilter.cpp 27 SkRect dstRect;
28 ctm.mapRect(&dstRect, fDstRect);
29 int w = SkScalarCeilToInt(dstRect.width());
30 int h = SkScalarCeilToInt(dstRect.height());
59 dstRect.offset(SkIntToScalar(localOffset.fX), SkIntToScalar(localOffset.fY));
60 canvas.drawRect(dstRect, paint);
SkGpuBlurUtils.cpp 44 const SkRect& dstRect,
57 context->drawRectToRect(paint, dstRect, srcRect);
62 const SkRect& dstRect,
70 convolve_gaussian_pass(context, srcRect, dstRect, texture,
74 SkRect lowerSrcRect = srcRect, lowerDstRect = dstRect;
75 SkRect middleSrcRect = srcRect, middleDstRect = dstRect;
76 SkRect upperSrcRect = srcRect, upperDstRect = dstRect;
84 lowerDstRect.fRight = dstRect.left() + rad;
86 upperDstRect.fLeft = dstRect.right() - rad;
94 lowerDstRect.fBottom = dstRect.top() + rad
    [all...]
SkBicubicImageFilter.cpp 102 SkRect dstRect = SkRect::MakeWH(SkScalarMul(SkIntToScalar(src.width()), fScale.fWidth),
105 dstRect.roundOut(&dstIRect);
118 inverse.setRectToRect(dstRect, srcRect, SkMatrix::kFill_ScaleToFit);
177 SkRect dstRect = SkRect::MakeWH(srcBM.width() * fScale.fWidth,
182 desc.fWidth = SkScalarCeilToInt(dstRect.width());
183 desc.fHeight = SkScalarCeilToInt(dstRect.height());
196 context->drawRectToRect(paint, dstRect, srcRect);
SkDisplacementMapEffect.cpp 358 SkRect dstRect = SkRect::MakeWH(srcRect.width(), srcRect.height());
359 context->drawRectToRect(paint, dstRect, srcRect);
SkMorphologyImageFilter.cpp 501 const SkIRect& dstRect,
510 context->drawRectToRect(paint, SkRect::Make(dstRect), SkRect::Make(srcRect));
530 SkIRect dstRect = SkIRect::MakeWH(rect.width(), rect.height());
541 apply_morphology_pass(context, src, srcRect, dstRect, radius.fWidth,
543 SkIRect clearRect = SkIRect::MakeXYWH(dstRect.fLeft, dstRect.fBottom,
544 dstRect.width(), radius.fHeight);
549 srcRect = dstRect;
554 apply_morphology_pass(context, src, srcRect, dstRect, radius.fHeight,
  /external/skia/gm/
bitmapsource.cpp 57 SkRect dstRect = SkRect::MakeXYWH(0, 10, 60, 60);
63 SkAutoTUnref<SkImageFilter> bitmapSourceSrcRectDstRect(new SkBitmapSource(fBitmap, srcRect, dstRect));
64 SkAutoTUnref<SkImageFilter> bitmapSourceDstRectOnly(new SkBitmapSource(fBitmap, bounds, dstRect));
74 // Draw a subset of the bitmap scaled to a destination rect (srcRect -> dstRect).
78 // Draw the entire bitmap scaled to a destination rect (bounds -> dstRect).
tileimagefilter.cpp 96 SkRect dstRect = SkRect::MakeXYWH(SkIntToScalar(i * 8),
102 SkTileImageFilter, (srcRect, dstRect, tileInput)));
drawbitmaprect.cpp 98 SkRect dstRect = { 0, 0, SkIntToScalar(64), SkIntToScalar(64)};
130 canvas->drawBitmapRect(fLargeBitmap, &srcRect, dstRect);
137 SkScalar baseline = dstRect.height() +
145 canvas->drawRect(dstRect, blackPaint);
147 canvas->translate(dstRect.width() + SK_Scalar1 * kPadX, 0);
149 if ((dstRect.width() + kPadX) * rowCount > gSize) {
151 canvas->translate(0, dstRect.height() + SK_Scalar1 * kPadY);
175 canvas->drawBitmapRect(bm, &srcRect, dstRect, &paint);
  /external/chromium_org/third_party/skia/src/gpu/
GrSWMaskHelper.cpp 192 SkRect dstRect = SkRect::MakeLTRB(SK_Scalar1 * rect.fLeft,
212 target->drawSimpleRect(dstRect);
GrDrawTarget.cpp 946 SkIRect dstRect = SkIRect::MakeXYWH(dstPoint.fX,
950 this->drawSimpleRect(dstRect);
    [all...]
  /external/skia/src/gpu/
GrSWMaskHelper.cpp 192 SkRect dstRect = SkRect::MakeLTRB(SK_Scalar1 * rect.fLeft,
212 target->drawSimpleRect(dstRect);
GrDrawTarget.cpp 946 SkIRect dstRect = SkIRect::MakeXYWH(dstPoint.fX,
950 this->drawSimpleRect(dstRect);
    [all...]
  /external/chromium_org/third_party/skia/src/core/
SkImageFilter.cpp 138 SkRect dstRect = SkRect::MakeWH(srcRect.width(), srcRect.height());
151 GrContext::AutoClip acs(context, dstRect);
160 context->drawRectToRect(paint, dstRect, srcRect);
  /external/skia/src/core/
SkImageFilter.cpp 138 SkRect dstRect = SkRect::MakeWH(srcRect.width(), srcRect.height());
151 GrContext::AutoClip acs(context, dstRect);
160 context->drawRectToRect(paint, dstRect, srcRect);
  /external/qemu/distrib/sdl-1.2.15/test/
testblitspeed.c 149 SDL_Rect dstRect;
153 dstRect.x = x;
154 dstRect.y = y;
155 dstRect.w = srcRect.w = src->w; /* SDL will clip as appropriate. */
156 dstRect.h = srcRect.h = src->h;
159 SDL_BlitSurface(src, &srcRect, dst, &dstRect);
  /hardware/qcom/display/msm8960/libhwcomposer/
hwc_copybit.cpp 329 copybit_rect_t dstRect = {displayFrame.left, displayFrame.top,
472 err = copybit->stretch(copybit, &dst, &src, &dstRect, &srcRect,
  /hardware/qcom/display/msm8x26/libhwcomposer/
hwc_copybit.cpp 329 copybit_rect_t dstRect = {displayFrame.left, displayFrame.top,
472 err = copybit->stretch(copybit, &dst, &src, &dstRect, &srcRect,
  /frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
UiObject.java 197 Rect dstRect = destObj.getVisibleBounds();
199 dstRect.centerX(), dstRect.centerY(), steps, true);
    [all...]

Completed in 516 milliseconds

1 2