/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);
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrInOrderDrawBuffer.cpp | 543 const SkIRect& srcRect, 545 if (fDstGpu->canCopySurface(dst, src, srcRect, dstPoint)) { 549 cs->fSrcRect = srcRect; 559 const SkIRect& srcRect, 561 return fDstGpu->canCopySurface(dst, src, srcRect, dstPoint);
|
GrContext.cpp | [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/photon/ |
SDL_ph_image.c | 836 int ph_HWAccelBlit(SDL_Surface* src, SDL_Rect* srcrect, SDL_Surface* dst, SDL_Rect* dstrect) 849 srcarea.pos.x=srcrect->x; 850 srcarea.pos.y=srcrect->y; 851 srcarea.size.w=srcrect->w; 852 srcarea.size.h=srcrect->h;
|
/external/skia/src/gpu/ |
GrInOrderDrawBuffer.cpp | 543 const SkIRect& srcRect, 545 if (fDstGpu->canCopySurface(dst, src, srcRect, dstPoint)) { 549 cs->fSrcRect = srcRect; 559 const SkIRect& srcRect, 561 return fDstGpu->canCopySurface(dst, src, srcRect, dstPoint);
|
GrContext.cpp | [all...] |
/frameworks/base/media/java/android/media/videoeditor/ |
VideoEditor.java | 235 final Rect srcRect; 240 srcRect = new Rect(0, 0, mOverlayBitmap.getWidth(), 271 srcRect = new Rect(0, 0, mOverlayBitmap.getWidth(), mOverlayBitmap.getHeight()); 300 srcRect = new Rect(left, top, right, bottom); 311 overlayCanvas.drawBitmap(mOverlayBitmap, srcRect, destRect, sResizePaint);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
GraphicsContext.cpp | 980 void GraphicsContext::drawImage(Image* image, const IntPoint& dest, const IntRect& srcRect, CompositeOperator op, RespectImageOrientationEnum shouldRespectImageOrientation) 982 drawImage(image, FloatRect(IntRect(dest, srcRect.size())), FloatRect(srcRect), op, shouldRespectImageOrientation); [all...] |
BitmapImage.cpp | 288 void BitmapImage::draw(GraphicsContext* ctxt, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator compositeOp, BlendMode blendMode) 290 draw(ctxt, dstRect, srcRect, compositeOp, blendMode, DoNotRespectImageOrientation); 293 void BitmapImage::draw(GraphicsContext* ctxt, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator compositeOp, BlendMode blendMode, RespectImageOrientationEnum shouldRespectImageOrientation) 305 FloatRect normSrcRect = adjustForNegativeSize(srcRect);
|
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/ |
SDL_DirectFB_video.c | 68 static int DirectFB_HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect, 871 static int DirectFB_HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect, 876 DFBRectangle sr = { srcrect->x, srcrect->y, srcrect->w, srcrect->h };
|
/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...] |
/frameworks/uiautomator/core/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...] |
/external/chromium_org/third_party/skia/src/gpu/gl/ |
GrGpuGL.h | 92 const SkIRect& srcRect, 97 const SkIRect& srcRect,
|
/external/qemu/distrib/sdl-1.2.15/src/video/macdsp/ |
SDL_dspvideo.c | 177 static int DSp_HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect, [all...] |
/external/skia/src/gpu/gl/ |
GrGpuGL.h | 92 const SkIRect& srcRect, 97 const SkIRect& srcRect,
|
/external/chromium_org/third_party/skia/include/gpu/ |
SkGpuDevice.h | 181 const SkRect& srcRect,
|
/external/skia/include/gpu/ |
SkGpuDevice.h | 181 const SkRect& 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,
|
/external/qemu/distrib/sdl-1.2.15/src/video/dga/ |
SDL_dgavideo.c | 864 static int HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect, 881 srcx += srcrect->x; 882 srcy += srcrect->y; 886 w = srcrect->w; 887 h = srcrect->h;
|
/external/qemu/distrib/sdl-1.2.15/include/ |
SDL_video.h | 166 typedef int (*SDL_blit)(struct SDL_Surface *src, SDL_Rect *srcrect, 674 * the same size. If either 'srcrect' or 'dstrect' are NULL, the entire 676 * in 'srcrect' and 'dstrect' after all clipping is performed. 749 (SDL_Surface *src, SDL_Rect *srcrect, 755 (SDL_Surface *src, SDL_Rect *srcrect, [all...] |
/prebuilts/tools/darwin-x86/sdl/include/SDL/ |
SDL_video.h | 166 typedef int (*SDL_blit)(struct SDL_Surface *src, SDL_Rect *srcrect, 674 * the same size. If either 'srcrect' or 'dstrect' are NULL, the entire 676 * in 'srcrect' and 'dstrect' after all clipping is performed. 749 (SDL_Surface *src, SDL_Rect *srcrect, 755 (SDL_Surface *src, SDL_Rect *srcrect, [all...] |
/prebuilts/tools/linux-x86/sdl/include/SDL/ |
SDL_video.h | 166 typedef int (*SDL_blit)(struct SDL_Surface *src, SDL_Rect *srcrect, 674 * the same size. If either 'srcrect' or 'dstrect' are NULL, the entire 676 * in 'srcrect' and 'dstrect' after all clipping is performed. 749 (SDL_Surface *src, SDL_Rect *srcrect, 755 (SDL_Surface *src, SDL_Rect *srcrect, [all...] |
/prebuilts/tools/windows/sdl/include/SDL/ |
SDL_video.h | 166 typedef int (*SDL_blit)(struct SDL_Surface *src, SDL_Rect *srcrect, 674 * the same size. If either 'srcrect' or 'dstrect' are NULL, the entire 676 * in 'srcrect' and 'dstrect' after all clipping is performed. 749 (SDL_Surface *src, SDL_Rect *srcrect, 755 (SDL_Surface *src, SDL_Rect *srcrect, [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/svgadump/ |
svga_dump.c | [all...] |
/external/mesa3d/src/gallium/drivers/svga/svgadump/ |
svga_dump.c | [all...] |