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

12 3 4 5 6

  /external/skia/src/effects/
SkTileImageFilter.cpp 35 SkRect srcRect;
36 ctm.mapRect(&srcRect, fSrcRect);
38 srcRect.roundOut(&srcIRect);
SkBitmapSource.cpp 22 SkBitmapSource::SkBitmapSource(const SkBitmap& bitmap, const SkRect& srcRect, const SkRect& dstRect)
25 fSrcRect(srcRect),
SkXfermodeImageFilter.cpp 142 SkRect srcRect;
143 src.getBounds(&srcRect);
148 context->drawRect(paint, srcRect);
153 context->drawRect(backgroundPaint, srcRect);
158 context->drawRect(foregroundPaint, srcRect);
  /external/chromium_org/third_party/skia/include/effects/
SkBitmapSource.h 17 SkBitmapSource(const SkBitmap& bitmap, const SkRect& srcRect, const SkRect& dstRect);
SkMagnifierImageFilter.h 17 SkMagnifierImageFilter(SkRect srcRect, SkScalar inset);
  /external/skia/include/effects/
SkBitmapSource.h 17 SkBitmapSource(const SkBitmap& bitmap, const SkRect& srcRect, const SkRect& dstRect);
SkMagnifierImageFilter.h 17 SkMagnifierImageFilter(SkRect srcRect, SkScalar inset);
  /frameworks/av/include/media/stagefright/
YUVCanvas.h 54 const Rect& srcRect,
YUVImage.h 91 const Rect& srcRect,
97 const Rect& srcRect,
104 const Rect& srcRect,
  /frameworks/base/core/java/android/view/
FocusFinderHelper.java 44 public boolean isCandidate(Rect srcRect, Rect destRect, int direction) {
45 return mFocusFinder.isCandidate(srcRect, destRect, direction);
FocusFinder.java 368 boolean isCandidate(Rect srcRect, Rect destRect, int direction) {
371 return (srcRect.right > destRect.right || srcRect.left >= destRect.right)
372 && srcRect.left > destRect.left;
374 return (srcRect.left < destRect.left || srcRect.right <= destRect.left)
375 && srcRect.right < destRect.right;
377 return (srcRect.bottom > destRect.bottom || srcRect.top >= destRect.bottom)
378 && srcRect.top > destRect.top
    [all...]
  /external/skia/tests/
ReadPixelsTest.cpp 180 SkIRect srcRect = SkIRect::MakeXYWH(x, y, bw, bh);
182 if (!clippedSrcRect.intersect(srcRect)) {
189 int devx = bx + srcRect.fLeft;
190 int devy = by + srcRect.fTop;
353 const SkIRect& srcRect = testRects[rect];
360 init_bitmap(&bmp, srcRect, bmi);
370 canvas.readPixels(&bmp, srcRect.fLeft,
371 srcRect.fTop, config8888);
376 bool expectSuccess = SkIRect::Intersects(srcRect, DEV_RECT);
383 checkRead(reporter, bmp, srcRect.fLeft, srcRect.fTop
    [all...]
  /frameworks/av/media/libstagefright/yuv/
YUVImage.cpp 196 const Rect& srcRect,
202 int32_t srcStartX = srcRect.left;
203 int32_t srcStartY = srcRect.top;
204 int32_t width = srcRect.width();
205 int32_t height = srcRect.height();
278 const Rect& srcRect,
284 int32_t srcStartX = srcRect.left;
285 int32_t srcStartY = srcRect.top;
286 int32_t width = srcRect.width();
287 int32_t height = srcRect.height()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
Image.h 127 virtual void draw(GraphicsContext*, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator, blink::WebBlendMode) = 0;
128 virtual void draw(GraphicsContext*, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator, blink::WebBlendMode, RespectImageOrientationEnum);
131 void drawTiled(GraphicsContext*, const FloatRect& dstRect, const FloatRect& srcRect, const FloatSize& tileScaleFactor, TileRule hRule, TileRule vRule, CompositeOperator);
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/
SkiaUtils.h 85 // srcRect and destRect can be the same.
86 void ClipRectToCanvas(const GraphicsContext*, const SkRect& srcRect, SkRect* destRect);
NativeImageSkia.cpp 183 // scaledSrcRect = srcRect * (approximateScaleX, approximateScaleY)
189 SkBitmap NativeImageSkia::extractScaledImageFragment(const SkRect& srcRect, float scaleX, float scaleY, SkRect* scaledSrcRect) const
200 scaleTransform.mapRect(scaledSrcRect, srcRect);
223 void NativeImageSkia::drawResampledBitmap(GraphicsContext* context, SkPaint& paint, const SkRect& srcRect, const SkRect& destRect) const
228 // in canvas and explicit scaling (srcRect and destRect).
231 float realScaleX = screenRect.width() / srcRect.width();
232 float realScaleY = screenRect.height() / srcRect.height();
246 destToSrcTransform.setRectToRect(destRect, srcRect, SkMatrix::kFill_ScaleToFit);
320 void NativeImageSkia::draw(GraphicsContext* context, const SkRect& srcRect, const SkRect& destRect, PassRefPtr<SkXfermode> compOp) const
344 SkScalarToFloat(srcRect.width()), SkScalarToFloat(srcRect.height())
    [all...]
  /external/chromium_org/third_party/skia/src/effects/
SkBitmapSource.cpp 22 SkBitmapSource::SkBitmapSource(const SkBitmap& bitmap, const SkRect& srcRect, const SkRect& dstRect)
25 fSrcRect(srcRect),
SkXfermodeImageFilter.cpp 142 SkRect srcRect;
143 src.getBounds(&srcRect);
148 context->drawRect(paint, srcRect);
153 context->drawRect(backgroundPaint, srcRect);
158 context->drawRect(foregroundPaint, srcRect);
  /external/skia/gm/
pictureimagefilter.cpp 54 SkRect srcRect = SkRect::MakeXYWH(20, 20, 30, 30);
58 SkAutoTUnref<SkImageFilter> pictureSourceSrcRect(new SkPictureImageFilter(&fPicture, srcRect));
drawbitmaprect.cpp 127 SkIRect srcRect = SkIRect::MakeXYWH((kBmpSize - w) / 2,
130 canvas->drawBitmapRect(fLargeBitmap, &srcRect, dstRect);
161 SkIRect srcRect;
168 srcRect.setXYWH(1, 1, 3, 3);
175 canvas->drawBitmapRect(bm, &srcRect, dstRect, &paint);
  /external/chromium_org/third_party/skia/src/gpu/
SkGpuDevice.cpp     [all...]
  /external/skia/src/gpu/
SkGpuDevice.cpp     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/svg/graphics/
SVGImage.cpp 168 const FloatRect& srcRect, CompositeOperator compositeOp, blink::WebBlendMode blendMode)
179 FloatRect scaledSrc = srcRect;
205 void SVGImage::drawPatternForContainer(GraphicsContext* context, const FloatSize containerSize, float zoom, const FloatRect& srcRect,
231 FloatRect scaledSrcRect = srcRect;
237 void SVGImage::draw(GraphicsContext* context, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator compositeOp, blink::WebBlendMode blendMode)
248 FloatSize scale(dstRect.width() / srcRect.width(), dstRect.height() / srcRect.height());
252 FloatSize topLeftOffset(srcRect.location().x() * scale.width(), srcRect.location().y() * scale.height());
264 view->paint(context, enclosingIntRect(srcRect));
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/geometry/
FloatRect.cpp 257 FloatRect mapRect(const FloatRect& r, const FloatRect& srcRect, const FloatRect& destRect)
259 if (!srcRect.width() || !srcRect.height())
262 float widthScale = destRect.width() / srcRect.width();
263 float heightScale = destRect.height() / srcRect.height();
264 return FloatRect(destRect.x() + (r.x() - srcRect.x()) * widthScale,
265 destRect.y() + (r.y() - srcRect.y()) * heightScale,
  /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);

Completed in 1543 milliseconds

12 3 4 5 6