HomeSort by relevance Sort by last modified time
    Searched refs:srcRect (Results 76 - 100 of 132) sorted by null

1 2 34 5 6

  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
ImageBuffer.cpp 185 void ImageBuffer::draw(GraphicsContext* context, const FloatRect& destRect, const FloatRect& srcRect,
193 context->drawImage(image.get(), destRect, srcRect, op, blendMode, DoNotRespectImageOrientation, useLowQualityScale);
203 void ImageBuffer::drawPattern(GraphicsContext* context, const FloatRect& srcRect, const FloatSize& scale,
211 image->drawPattern(context, srcRect, scale, phase, op, destRect, blendMode, repeatSpacing);
  /external/chromium_org/third_party/skia/src/effects/
SkMagnifierImageFilter.cpp 249 SkMagnifierImageFilter::SkMagnifierImageFilter(SkRect srcRect, SkScalar inset)
250 : INHERITED(0), fSrcRect(srcRect), fInset(inset) {
251 SkASSERT(srcRect.x() >= 0 && srcRect.y() >= 0 && inset >= 0);
SkBlurMaskFilter.cpp 532 SkRect srcRect(srcBounds);
534 // Outset srcRect and clipRect by 3 * sigma, to compute affected blur area.
535 srcRect.outset(sigma3, sigma3);
537 srcRect.intersect(clipRect);
538 *maskRect = srcRect;
SkDisplacementMapEffect.cpp 357 SkRect srcRect = SkRect::Make(bounds);
358 SkRect dstRect = SkRect::MakeWH(srcRect.width(), srcRect.height());
359 context->drawRectToRect(paint, dstRect, srcRect);
SkMorphologyImageFilter.cpp 500 const SkIRect& srcRect,
510 context->drawRectToRect(paint, SkRect::Make(dstRect), SkRect::Make(srcRect));
536 SkIRect srcRect = rect;
541 apply_morphology_pass(context, src, srcRect, dstRect, radius.fWidth,
549 srcRect = dstRect;
554 apply_morphology_pass(context, src, srcRect, dstRect, radius.fHeight,
  /external/skia/src/effects/
SkMagnifierImageFilter.cpp 249 SkMagnifierImageFilter::SkMagnifierImageFilter(SkRect srcRect, SkScalar inset)
250 : INHERITED(0), fSrcRect(srcRect), fInset(inset) {
251 SkASSERT(srcRect.x() >= 0 && srcRect.y() >= 0 && inset >= 0);
SkBlurMaskFilter.cpp 532 SkRect srcRect(srcBounds);
534 // Outset srcRect and clipRect by 3 * sigma, to compute affected blur area.
535 srcRect.outset(sigma3, sigma3);
537 srcRect.intersect(clipRect);
538 *maskRect = srcRect;
SkDisplacementMapEffect.cpp 357 SkRect srcRect = SkRect::Make(bounds);
358 SkRect dstRect = SkRect::MakeWH(srcRect.width(), srcRect.height());
359 context->drawRectToRect(paint, dstRect, srcRect);
SkMorphologyImageFilter.cpp 500 const SkIRect& srcRect,
510 context->drawRectToRect(paint, SkRect::Make(dstRect), SkRect::Make(srcRect));
536 SkIRect srcRect = rect;
541 apply_morphology_pass(context, src, srcRect, dstRect, radius.fWidth,
549 srcRect = dstRect;
554 apply_morphology_pass(context, src, srcRect, dstRect, radius.fHeight,
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/
SkiaUtils.cpp 131 void ClipRectToCanvas(const GraphicsContext* context, const SkRect& srcRect, SkRect* destRect)
133 if (!context->getClipBounds(destRect) || !destRect->intersect(srcRect))
  /external/chromium_org/third_party/skia/src/utils/debugger/
SkDrawCommand.cpp 125 void render_bitmap(SkCanvas* canvas, const SkBitmap& input, const SkRect* srcRect = NULL) {
144 if (NULL != srcRect) {
145 SkRect r = SkRect::MakeLTRB(srcRect->fLeft * xScale + SK_Scalar1,
146 srcRect->fTop * yScale + SK_Scalar1,
147 srcRect->fRight * xScale + SK_Scalar1,
148 srcRect->fBottom * yScale + SK_Scalar1);
377 canvas->drawBitmapRectToRect(fBitmap, this->srcRect(), fDst, fPaintPtr, fFlags);
381 render_bitmap(canvas, fBitmap, this->srcRect());
  /external/skia/src/utils/debugger/
SkDrawCommand.cpp 125 void render_bitmap(SkCanvas* canvas, const SkBitmap& input, const SkRect* srcRect = NULL) {
144 if (NULL != srcRect) {
145 SkRect r = SkRect::MakeLTRB(srcRect->fLeft * xScale + SK_Scalar1,
146 srcRect->fTop * yScale + SK_Scalar1,
147 srcRect->fRight * xScale + SK_Scalar1,
148 srcRect->fBottom * yScale + SK_Scalar1);
377 canvas->drawBitmapRectToRect(fBitmap, this->srcRect(), fDst, fPaintPtr, fFlags);
381 render_bitmap(canvas, fBitmap, this->srcRect());
  /external/chromium_org/third_party/skia/src/gpu/gl/
GrGpuGL.cpp     [all...]
GrGpuGL.h 111 const SkIRect& srcRect,
116 const SkIRect& srcRect,
  /external/skia/src/gpu/gl/
GrGpuGL.cpp     [all...]
GrGpuGL.h 111 const SkIRect& srcRect,
116 const SkIRect& srcRect,
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
FilterEffect.cpp 127 IntRect FilterEffect::drawingRegionOfInputImage(const IntRect& srcRect) const
129 return IntRect(IntPoint(srcRect.x() - m_absolutePaintRect.x(),
130 srcRect.y() - m_absolutePaintRect.y()), srcRect.size());
  /external/chromium_org/third_party/skia/include/gpu/
SkGpuDevice.h 203 const SkRect& srcRect,
  /external/skia/include/gpu/
SkGpuDevice.h 203 const SkRect& srcRect,
  /hardware/qcom/display/msm8960/libhwcomposer/
hwc_copybit.cpp 323 copybit_rect_t srcRect = {sourceCrop.left, sourceCrop.top,
440 &srcRect, &tmp_it);
450 srcRect = tmp_rect;
472 err = copybit->stretch(copybit, &dst, &src, &dstRect, &srcRect,
  /hardware/qcom/display/msm8974/libhwcomposer/
hwc_copybit.cpp 346 copybit_rect_t srcRect = {sourceCrop.left, sourceCrop.top,
471 &srcRect, &tmp_it);
487 srcRect = tmp_rect;
513 err = copybit->stretch(copybit, &dst, &src, &dstRect, &srcRect,
  /hardware/qcom/display/msm8x26/libhwcomposer/
hwc_copybit.cpp 323 copybit_rect_t srcRect = {sourceCrop.left, sourceCrop.top,
440 &srcRect, &tmp_it);
450 srcRect = tmp_rect;
472 err = copybit->stretch(copybit, &dst, &src, &dstRect, &srcRect,
  /external/chromium_org/third_party/skia/src/gpu/
GrInOrderDrawBuffer.cpp 574 const SkIRect& srcRect,
576 if (fDstGpu->canCopySurface(dst, src, srcRect, dstPoint)) {
580 cs->fSrcRect = srcRect;
590 const SkIRect& srcRect,
592 return fDstGpu->canCopySurface(dst, src, srcRect, dstPoint);
  /external/skia/src/gpu/
GrInOrderDrawBuffer.cpp 574 const SkIRect& srcRect,
576 if (fDstGpu->canCopySurface(dst, src, srcRect, dstPoint)) {
580 cs->fSrcRect = srcRect;
590 const SkIRect& srcRect,
592 return fDstGpu->canCopySurface(dst, src, srcRect, dstPoint);
  /packages/apps/Gallery/src/com/android/camera/
CropImage.java 234 Rect srcRect = mCrop.getCropRect();
237 int dx = (srcRect.width() - dstRect.width()) / 2;
238 int dy = (srcRect.height() - dstRect.height()) / 2;
240 // If the srcRect is too big, use the center part of it.
241 srcRect.inset(Math.max(0, dx), Math.max(0, dy));
247 canvas.drawBitmap(mBitmap, srcRect, dstRect, null);

Completed in 370 milliseconds

1 2 34 5 6