/external/skia/gm/ |
nocolorbleed.cpp | 48 SkRect dstRect; 53 dstRect.setXYWH(SkIntToScalar(0), SkIntToScalar(0) 55 canvas->drawBitmapRect(sprite, &srcRect, dstRect, &paint); 56 dstRect.setXYWH(SkIntToScalar(100), SkIntToScalar(0) 58 canvas->drawBitmapRect(sprite, &srcRect, dstRect); 61 dstRect.setXYWH(SkIntToScalar(25), SkIntToScalar(125) 63 canvas->drawBitmapRect(sprite, &srcRect, dstRect, &paint); 64 dstRect.setXYWH(SkIntToScalar(125), SkIntToScalar(125) 66 canvas->drawBitmapRect(sprite, &srcRect, dstRect);
|
drawbitmaprect.cpp | 100 SkRect dstRect = { 0, 0, SkIntToScalar(64), SkIntToScalar(64)}; 132 canvas->drawBitmapRect(fLargeBitmap, &srcRect, dstRect); 139 SkScalar baseline = dstRect.height() + 147 canvas->drawRect(dstRect, blackPaint); 149 canvas->translate(dstRect.width() + SK_Scalar1 * kPadX, 0); 151 if ((dstRect.width() + kPadX) * rowCount > gSize) { 153 canvas->translate(0, dstRect.height() + SK_Scalar1 * kPadY); 177 canvas->drawBitmapRect(bm, &srcRect, dstRect, &paint);
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrSWMaskHelper.cpp | 183 SkRect dstRect = SkRect::MakeLTRB(SK_Scalar1 * rect.fLeft, 203 target->drawSimpleRect(dstRect);
|
GrDrawTarget.cpp | 923 SkIRect dstRect = SkIRect::MakeXYWH(dstPoint.fX, 927 this->drawSimpleRect(dstRect); [all...] |
/external/skia/src/gpu/ |
GrSWMaskHelper.cpp | 183 SkRect dstRect = SkRect::MakeLTRB(SK_Scalar1 * rect.fLeft, 203 target->drawSimpleRect(dstRect);
|
GrDrawTarget.cpp | 923 SkIRect dstRect = SkIRect::MakeXYWH(dstPoint.fX, 927 this->drawSimpleRect(dstRect); [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkImageFilter.cpp | 123 SkRect dstRect = SkRect::MakeWH(srcRect.width(), srcRect.height()); 136 GrContext::AutoClip acs(context, dstRect); 143 context->drawRectToRect(paint, dstRect, srcRect);
|
/external/skia/src/core/ |
SkImageFilter.cpp | 123 SkRect dstRect = SkRect::MakeWH(srcRect.width(), srcRect.height()); 136 GrContext::AutoClip acs(context, dstRect); 143 context->drawRectToRect(paint, dstRect, srcRect);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/filters/ |
FETile.cpp | 43 TileImageFilter(const SkRect& srcRect, const SkRect& dstRect, SkImageFilter* input) 46 , m_dstRect(dstRect) 76 SkRect dstRect = m_dstRect; 77 dstRect.offset(localOffset.fX, localOffset.fY); 78 canvas.drawRect(dstRect, paint);
|
/external/chromium_org/third_party/skia/src/effects/ |
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 | 98 SkRect dstRect = SkRect::MakeWH(SkScalarMul(SkIntToScalar(src.width()), fScale.fWidth), 101 dstRect.roundOut(&dstIRect); 111 inverse.setRectToRect(dstRect, srcRect, SkMatrix::kFill_ScaleToFit); 353 SkRect dstRect = SkRect::MakeWH(srcBM.width() * fScale.fWidth, 358 desc.fWidth = SkScalarCeilToInt(dstRect.width()); 359 desc.fHeight = SkScalarCeilToInt(dstRect.height()); 372 context->drawRectToRect(paint, dstRect, srcRect);
|
SkDisplacementMapEffect.cpp | 316 SkRect dstRect = srcRect; 317 dstRect.offset(SkIntToScalar(colorOffset.fX), SkIntToScalar(colorOffset.fY)); 318 context->drawRectToRect(paint, srcRect, dstRect);
|
/external/skia/src/effects/ |
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 | 98 SkRect dstRect = SkRect::MakeWH(SkScalarMul(SkIntToScalar(src.width()), fScale.fWidth), 101 dstRect.roundOut(&dstIRect); 111 inverse.setRectToRect(dstRect, srcRect, SkMatrix::kFill_ScaleToFit); 353 SkRect dstRect = SkRect::MakeWH(srcBM.width() * fScale.fWidth, 358 desc.fWidth = SkScalarCeilToInt(dstRect.width()); 359 desc.fHeight = SkScalarCeilToInt(dstRect.height()); 372 context->drawRectToRect(paint, dstRect, srcRect);
|
SkDisplacementMapEffect.cpp | 316 SkRect dstRect = srcRect; 317 dstRect.offset(SkIntToScalar(colorOffset.fX), SkIntToScalar(colorOffset.fY)); 318 context->drawRectToRect(paint, srcRect, dstRect);
|
/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...] |
/frameworks/uiautomator/src/com/android/uiautomator/core/ |
UiObject.java | 197 Rect dstRect = destObj.getVisibleBounds(); 199 dstRect.centerX(), dstRect.centerY(), steps, true); [all...] |
/hardware/qcom/display/msm8974/libhwcomposer/ |
hwc_copybit.cpp | 352 copybit_rect_t dstRect = {displayFrame.left, displayFrame.top, 513 err = copybit->stretch(copybit, &dst, &src, &dstRect, &srcRect,
|
/packages/apps/Gallery/src/com/android/camera/ |
GridViewSpecial.java | [all...] |
CropImage.java | 235 Rect dstRect = new Rect(0, 0, mOutputX, mOutputY); 237 int dx = (srcRect.width() - dstRect.width()) / 2; 238 int dy = (srcRect.height() - dstRect.height()) / 2; 243 // If the dstRect is too big, use the center part of it. 244 dstRect.inset(Math.max(0, -dx), Math.max(0, -dy)); 247 canvas.drawBitmap(mBitmap, srcRect, dstRect, null); 266 Rect dstRect = new Rect(0, 0, width, height); 267 canvas.drawBitmap(mBitmap, r, dstRect, null);
|
/external/chromium_org/third_party/skia/src/utils/debugger/ |
SkDrawCommand.h | 212 const SkRect& dstRect() const { return fDst; }
|
/external/skia/src/utils/debugger/ |
SkDrawCommand.h | 212 const SkRect& dstRect() const { return fDst; }
|