/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
BitmapImage.h | 102 virtual void draw(GraphicsContext*, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator, blink::WebBlendMode) OVERRIDE; 103 virtual void draw(GraphicsContext*, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator, blink::WebBlendMode, RespectImageOrientationEnum) OVERRIDE;
|
GraphicsContext.h | 249 void drawImage(Image*, const IntPoint& destPoint, const IntRect& srcRect, CompositeOperator = CompositeSourceOver, RespectImageOrientationEnum = DoNotRespectImageOrientation); 251 void drawImage(Image*, const FloatRect& destRect, const FloatRect& srcRect, CompositeOperator = CompositeSourceOver, RespectImageOrientationEnum = DoNotRespectImageOrientation, bool useLowQualityScale = false); 252 void drawImage(Image*, const FloatRect& destRect, const FloatRect& srcRect, CompositeOperator, blink::WebBlendMode, RespectImageOrientationEnum = DoNotRespectImageOrientation, bool useLowQualityScale = false); 256 void drawTiledImage(Image*, const IntRect& destRect, const IntRect& srcRect, 262 void drawImageBuffer(ImageBuffer*, const IntPoint& destPoint, const IntRect& srcRect, CompositeOperator = CompositeSourceOver, blink::WebBlendMode = blink::WebBlendModeNormal); 263 void drawImageBuffer(ImageBuffer*, const IntRect& destRect, const IntRect& srcRect, CompositeOperator = CompositeSourceOver, blink::WebBlendMode = blink::WebBlendModeNormal, bool useLowQualityScale = false); 265 void drawImageBuffer(ImageBuffer*, const FloatRect& destRect, const FloatRect& srcRect, CompositeOperator = CompositeSourceOver, blink::WebBlendMode = blink::WebBlendModeNormal, bool useLowQualityScale = false);
|
BitmapImage.cpp | 250 void BitmapImage::draw(GraphicsContext* ctxt, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator compositeOp, blink::WebBlendMode blendMode) 252 draw(ctxt, dstRect, srcRect, compositeOp, blendMode, DoNotRespectImageOrientation); 255 void BitmapImage::draw(GraphicsContext* ctxt, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator compositeOp, blink::WebBlendMode blendMode, RespectImageOrientationEnum shouldRespectImageOrientation) 267 FloatRect normSrcRect = adjustForNegativeSize(srcRect);
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
FETile.cpp | 100 FloatRect srcRect = inputEffect(0) ? inputEffect(0)->effectBoundaries() : FloatRect(); 101 return adoptRef(new SkTileImageFilter(srcRect, effectBoundaries(), input.get()));
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrDrawTarget.cpp | 819 const SkIRect& srcRect, 823 *clippedSrcRect = srcRect; 870 const SkIRect& srcRect, 880 srcRect, 884 SkASSERT(this->canCopySurface(dst, src, srcRect, dstPoint)); 895 const SkIRect& srcRect, 905 srcRect, 916 const SkIRect& srcRect, 919 SkASSERT(!srcRect.isEmpty()); 920 SkASSERT(SkIRect::MakeWH(src->width(), src->height()).contains(srcRect)); [all...] |
GrInOrderDrawBuffer.h | 162 const SkIRect& srcRect, 166 const SkIRect& srcRect,
|
GrDrawTarget.h | 355 * srcRect is non-NULL and srcMatrix is non-NULL 356 * then srcRect will be transformed by srcMatrix. 428 * copied are specified by srcRect. They are copied to a rect of the same 438 const SkIRect& srcRect, 446 const SkIRect& srcRect, 709 // This method is called by copySurface The srcRect is guaranteed to be entirely within the 710 // src bounds. Likewise, the dst rect implied by dstPoint and srcRect's width and height falls 715 const SkIRect& srcRect, 721 // are the same as onCopySurface(), i.e. srcRect and dstPoint are clipped to be inside the src 725 const SkIRect& srcRect, [all...] |
/external/skia/src/gpu/ |
GrDrawTarget.cpp | 819 const SkIRect& srcRect, 823 *clippedSrcRect = srcRect; 870 const SkIRect& srcRect, 880 srcRect, 884 SkASSERT(this->canCopySurface(dst, src, srcRect, dstPoint)); 895 const SkIRect& srcRect, 905 srcRect, 916 const SkIRect& srcRect, 919 SkASSERT(!srcRect.isEmpty()); 920 SkASSERT(SkIRect::MakeWH(src->width(), src->height()).contains(srcRect)); [all...] |
GrInOrderDrawBuffer.h | 162 const SkIRect& srcRect, 166 const SkIRect& srcRect,
|
GrDrawTarget.h | 355 * srcRect is non-NULL and srcMatrix is non-NULL 356 * then srcRect will be transformed by srcMatrix. 428 * copied are specified by srcRect. They are copied to a rect of the same 438 const SkIRect& srcRect, 446 const SkIRect& srcRect, 709 // This method is called by copySurface The srcRect is guaranteed to be entirely within the 710 // src bounds. Likewise, the dst rect implied by dstPoint and srcRect's width and height falls 715 const SkIRect& srcRect, 721 // are the same as onCopySurface(), i.e. srcRect and dstPoint are clipped to be inside the src 725 const SkIRect& srcRect, [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
FocusFinderTest.java | 493 * @param srcRect The src rectangle. 497 private void assertBetterCandidate(int direction, Rect srcRect, 505 expectedBetter, expectedWorse, srcRect, directionStr); 508 mFocusFinder.isBetterCandidate(direction, srcRect, 515 expectedWorse, expectedBetter, srcRect, directionStr); 518 mFocusFinder.isBetterCandidate(direction, srcRect, 532 private void assertBeamBeats(int direction, Rect srcRect, 538 rect1, rect2, srcRect, directionStr); 539 assertTrue(assertMsg, mFocusFinder.beamBeats(direction, srcRect, rect1, rect2));
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGPreserveAspectRatio.h | 63 void transformRect(FloatRect& destRect, FloatRect& srcRect);
|
/external/chromium_org/third_party/skia/src/core/ |
SkImageFilter.cpp | 137 SkRect srcRect = SkRect::Make(bounds); 138 SkRect dstRect = SkRect::MakeWH(srcRect.width(), srcRect.height()); 160 context->drawRectToRect(paint, dstRect, srcRect);
|
/external/skia/src/core/ |
SkImageFilter.cpp | 137 SkRect srcRect = SkRect::Make(bounds); 138 SkRect dstRect = SkRect::MakeWH(srcRect.width(), srcRect.height()); 160 context->drawRectToRect(paint, dstRect, srcRect);
|
/packages/apps/UnifiedEmail/src/com/android/bitmap/ |
DecodeTask.java | 232 final Rect srcRect = new Rect(); // Not orientation corrected. True coordinates. 236 decodeResult = decodeCropped(fd, in, orientation, srcRect); 283 // srcRect is non-empty when using the cropping BitmapRegionDecoder codepath 284 if (!srcRect.isEmpty()) { 285 result.setLogicalWidth((srcRect.right - srcRect.left) / mOpts.inSampleSize); 287 (srcRect.bottom - srcRect.top) / mOpts.inSampleSize);
|
/frameworks/base/media/java/android/media/videoeditor/ |
OverlayFrame.java | 346 final Rect srcRect; 352 srcRect = new Rect(0, 0, overlayBitmap.getWidth(), 383 srcRect = new Rect(0, 0, overlayBitmap.getWidth(), overlayBitmap.getHeight()); 412 srcRect = new Rect(left, top, right, bottom); 422 overlayCanvas.drawBitmap(overlayBitmap, srcRect, destRect, sResizePaint);
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
CanvasRenderingContext2D.cpp | [all...] |
CanvasRenderingContext2D.h | 179 void drawImage(HTMLImageElement*, const FloatRect& srcRect, const FloatRect& dstRect, ExceptionState&); 180 void drawImage(HTMLImageElement*, const FloatRect& srcRect, const FloatRect& dstRect, const CompositeOperator&, const blink::WebBlendMode&, ExceptionState&); 184 void drawImage(HTMLCanvasElement*, const FloatRect& srcRect, const FloatRect& dstRect, ExceptionState&); 188 void drawImage(HTMLVideoElement*, const FloatRect& srcRect, const FloatRect& dstRect, ExceptionState&);
|
/external/chromium_org/third_party/skia/src/effects/ |
SkBicubicImageFilter.cpp | 115 SkRect srcRect; 116 src.getBounds(&srcRect); 118 inverse.setRectToRect(dstRect, srcRect, SkMatrix::kFill_ScaleToFit); 194 SkRect srcRect; 195 srcBM.getBounds(&srcRect); 196 context->drawRectToRect(paint, dstRect, srcRect);
|
/external/qemu/distrib/sdl-1.2.15/test/ |
testblitspeed.c | 148 SDL_Rect srcRect; 151 srcRect.x = 0; 152 srcRect.y = 0; 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);
|
/external/skia/src/effects/ |
SkBicubicImageFilter.cpp | 115 SkRect srcRect; 116 src.getBounds(&srcRect); 118 inverse.setRectToRect(dstRect, srcRect, SkMatrix::kFill_ScaleToFit); 194 SkRect srcRect; 195 srcBM.getBounds(&srcRect); 196 context->drawRectToRect(paint, dstRect, srcRect);
|
/external/skia/gm/ |
tileimagefilter.cpp | 92 SkRect srcRect = SkRect::MakeXYWH(SkIntToScalar(bitmap->width()/4), 102 SkTileImageFilter, (srcRect, dstRect, tileInput)));
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
RenderSVGImage.cpp | 162 FloatRect srcRect(0, 0, image->width(), image->height()); 165 imageElement->preserveAspectRatioCurrentValue().transformRect(destRect, srcRect); 171 paintInfo.context->drawImage(image.get(), destRect, srcRect, CompositeSourceOver, DoNotRespectImageOrientation, useLowQualityScaling);
|
/external/skia/tools/ |
filtermain.cpp | 408 if (NULL == dbmr->srcRect()) { 414 if (dbmr->srcRect()->width() != dbmr->dstRect().width() || 415 dbmr->srcRect()->height() != dbmr->dstRect().height()) { 468 SkScalar newSrcLeft = dbmr->srcRect()->fLeft + clip2->rect().fLeft - dbmr->dstRect().fLeft; 469 SkScalar newSrcTop = dbmr->srcRect()->fTop + clip2->rect().fTop - dbmr->dstRect().fTop; 555 if (NULL == dbmr->srcRect()) { 561 if (dbmr->srcRect()->width() != dbmr->dstRect().width() || 562 dbmr->srcRect()->height() != dbmr->dstRect().height()) { 583 if (NULL != dbmr->srcRect()) { 584 newSrcLeft = dbmr->srcRect()->fLeft + clip->rect().fLeft - dbmr->dstRect().fLeft [all...] |
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
UiObject.java | 196 Rect srcRect = getVisibleBounds(); 198 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(), 216 Rect srcRect = getVisibleBounds(); 217 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(), destX, destY, [all...] |