HomeSort by relevance Sort by last modified time
    Searched refs:destRect (Results 1 - 25 of 41) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
GradientGeneratedImage.cpp 34 void GradientGeneratedImage::draw(GraphicsContext* destContext, const FloatRect& destRect, const FloatRect& srcRect, CompositeOperator compositeOp, blink::WebBlendMode blendMode)
38 destContext->clip(destRect);
39 destContext->translate(destRect.x(), destRect.y());
40 if (destRect.size() != srcRect.size())
41 destContext->scale(destRect.width() / srcRect.width(), destRect.height() / srcRect.height());
48 const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& destRect, blink::WebBlendMode blendMode, const IntSize& repeatSpacing)
52 int firstColumn = static_cast<int>(floorf((((destRect.x() - phase.x()) / scale.width()) - srcRect.x()) / srcRect.width()));
53 int firstRow = static_cast<int>(floorf((((destRect.y() - phase.y()) / scale.height()) - srcRect.y()) / srcRect.height()))
    [all...]
Image.cpp 124 void Image::drawTiled(GraphicsContext* ctxt, const FloatRect& destRect, const FloatPoint& srcPoint, const FloatSize& scaledTileSize, CompositeOperator op, blink::WebBlendMode blendMode, const IntSize& repeatSpacing)
127 fillWithSolidColor(ctxt, destRect, solidColor(), op);
145 oneTileRect.setX(destRect.x() + fmodf(fmodf(-srcPoint.x(), actualTileSize.width()) - actualTileSize.width(), actualTileSize.width()));
146 oneTileRect.setY(destRect.y() + fmodf(fmodf(-srcPoint.y(), actualTileSize.height()) - actualTileSize.height(), actualTileSize.height()));
150 if (oneTileRect.contains(destRect)) {
152 visibleSrcRect.setX((destRect.x() - oneTileRect.x()) / scale.width());
153 visibleSrcRect.setY((destRect.y() - oneTileRect.y()) / scale.height());
154 visibleSrcRect.setWidth(destRect.width() / scale.width());
155 visibleSrcRect.setHeight(destRect.height() / scale.height());
156 draw(ctxt, destRect, visibleSrcRect, op, blendMode)
    [all...]
GraphicsContext.h 280 void drawImage(Image*, const FloatRect& destRect);
281 void drawImage(Image*, const FloatRect& destRect, const FloatRect& srcRect, CompositeOperator = CompositeSourceOver, RespectImageOrientationEnum = DoNotRespectImageOrientation);
282 void drawImage(Image*, const FloatRect& destRect, const FloatRect& srcRect, CompositeOperator, blink::WebBlendMode, RespectImageOrientationEnum = DoNotRespectImageOrientation);
284 void drawTiledImage(Image*, const IntRect& destRect, const IntPoint& srcPoint, const IntSize& tileSize,
286 void drawTiledImage(Image*, const IntRect& destRect, const IntRect& srcRect,
290 void drawImageBuffer(ImageBuffer*, const FloatRect& destRect, const FloatRect* srcRect = 0, CompositeOperator = CompositeSourceOver);
ImageBuffer.cpp 233 void ImageBuffer::draw(GraphicsContext* context, const FloatRect& destRect, const FloatRect* srcPtr, CompositeOperator op)
249 context->drawImage(image.get(), destRect, srcRect, op, blink::WebBlendModeNormal, DoNotRespectImageOrientation);
260 const FloatPoint& phase, CompositeOperator op, const FloatRect& destRect, blink::WebBlendMode blendMode, const IntSize& repeatSpacing)
267 image->drawPattern(context, srcRect, scale, phase, op, destRect, blendMode, repeatSpacing);
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGPreserveAspectRatio.cpp 209 void SVGPreserveAspectRatio::transformRect(FloatRect& destRect, FloatRect& srcRect)
215 float origDestWidth = destRect.width();
216 float origDestHeight = destRect.height();
223 destRect.setHeight(origDestWidth * widthToHeightMultiplier);
228 destRect.setY(destRect.y() + origDestHeight / 2 - destRect.height() / 2);
233 destRect.setY(destRect.y() + origDestHeight - destRect.height())
    [all...]
SVGPreserveAspectRatio.h 73 void transformRect(FloatRect& destRect, FloatRect& srcRect);
  /external/chromium_org/third_party/WebKit/Source/core/svg/graphics/filters/
SVGFEImage.cpp 85 FloatRect destRect = filter()->mapLocalRectToAbsoluteRect(filterPrimitiveSubregion());
96 srcRect = makeMapBetweenRects(FloatRect(FloatPoint(), viewportSize), destRect).mapRect(srcRect);
100 srcRect.move(destRect.x(), destRect.y());
102 destRect.intersect(srcRect);
105 m_preserveAspectRatio->transformRect(destRect, srcRect);
108 destRect.intersect(requestedRect);
109 addAbsolutePaintRect(destRect);
110 return destRect;
138 FloatRect destRect = filter()->mapLocalRectToAbsoluteRect(filterPrimitiveSubregion())
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/lettertiles/
LetterTileDrawable.java 115 final Rect destRect = copyBounds();
118 final int halfLength = (int) (mScale * Math.min(destRect.width(), destRect.height()) / 2);
120 destRect.set(destRect.centerX() - halfLength,
121 (int) (destRect.centerY() - halfLength + mOffset * destRect.height()),
122 destRect.centerX() + halfLength,
123 (int) (destRect.centerY() + halfLength + mOffset * destRect.height()))
    [all...]
  /frameworks/base/core/java/android/view/
FocusFinder.java 361 * Is destRect a candidate for the next focus given the direction? This
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
    [all...]
FocusFinderHelper.java 44 public boolean isCandidate(Rect srcRect, Rect destRect, int direction) {
45 return mFocusFinder.isCandidate(srcRect, destRect, direction);
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/
NativeImageSkia.h 108 void draw(GraphicsContext*, const SkRect& srcRect, const SkRect& destRect, PassRefPtr<SkXfermode>) const;
115 const FloatRect& destRect,
157 void drawResampledBitmap(GraphicsContext*, SkPaint&, const SkRect& srcRect, const SkRect& destRect) const;
NativeImageSkia.cpp 224 void NativeImageSkia::drawResampledBitmap(GraphicsContext* context, SkPaint& paint, const SkRect& srcRect, const SkRect& destRect) const
229 // We want to scale |destRect| with transformation in the canvas to obtain
231 // in canvas and explicit scaling (srcRect and destRect).
233 context->getTotalMatrix().mapRect(&screenRect, destRect);
243 // original destRect. Intersecting gets us back inside.
244 if (!destRectVisibleSubset.intersect(destRect))
245 return; // Nothing visible in destRect.
250 destToSrcTransform.setRectToRect(destRect, srcRect, SkMatrix::kFill_ScaleToFit);
321 static bool shouldDrawAntiAliased(GraphicsContext* context, const SkRect& destRect)
347 return destRect.width() * fabs(widthExpansion) < 1 || destRect.height() * fabs(heightExpansion) < 1
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
IconFactory.java 83 Rect destRect = new Rect(0, 0, iconWidth, iconHeight);
106 canvas.drawBitmap(sourceImage, srcRect, destRect, new Paint(Paint.FILTER_BITMAP_FLAG));
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
RenderSVGImage.cpp 165 FloatRect destRect = m_objectBoundingBox;
169 imageElement->preserveAspectRatio()->currentValue()->transformRect(destRect, srcRect);
173 interpolationQuality = ImageQualityController::imageQualityController()->chooseInterpolationQuality(paintInfo.context, this, image.get(), image.get(), LayoutSize(destRect.size()));
177 paintInfo.context->drawImage(image.get(), destRect, srcRect, CompositeSourceOver);
  /external/chromium_org/third_party/WebKit/Source/platform/
DragImage.cpp 87 FloatRect destRect(FloatPoint(), sizeRespectingOrientation);
89 destRect = destRect.transposedRect();
97 canvas.drawBitmapRect(bitmap->bitmap(), 0, destRect);
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
FEComponentTransfer.cpp 168 IntRect destRect = drawingRegionOfInputImage(in->absolutePaintRect());
172 resultImage->context()->drawBitmap(nativeImage->bitmap(), destRect.x(), destRect.y(), &paint);
176 resultImage->context()->clipOut(destRect);
FilterEffect.h 140 FloatRect getSourceRect(const FloatRect& destRect, const FloatRect& clipRect);
  /external/chromium_org/third_party/WebKit/Source/platform/geometry/
FloatRect.cpp 251 FloatRect mapRect(const FloatRect& r, const FloatRect& srcRect, const FloatRect& destRect)
256 float widthScale = destRect.width() / srcRect.width();
257 float heightScale = destRect.height() / srcRect.height();
258 return FloatRect(destRect.x() + (r.x() - srcRect.x()) * widthScale,
259 destRect.y() + (r.y() - srcRect.y()) * heightScale,
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
ImageFilterTinyPlanet.java 144 RectF destRect = new RectF(left * scale, top * scale, right * scale, bottom * scale);
145 paddedCanvas.drawBitmap(bitmapIn, null, destRect, null);
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/
gdiplusgraphics.h 407 Status DrawImage(Image *image, const RectF& destRect,
417 destRect.X, destRect.Y,
418 destRect.Width, destRect.Height,
423 Status DrawImage(Image *image, const Rect& destRect,
433 destRect.X, destRect.Y,
434 destRect.Width, destRect.Height
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLVideoElement.cpp 198 void HTMLVideoElement::paintCurrentFrameInContext(GraphicsContext* context, const IntRect& destRect) const
203 player->paint(context, destRect);
HTMLCanvasElement.cpp 206 FloatRect destRect = ro->contentBoxRect();
207 FloatRect r = mapRect(rect, FloatRect(0, 0, size().width(), size().height()), destRect);
208 r.intersect(destRect);
  /external/pdfium/core/src/fxge/Microsoft SDK/include/
GdiPlusGraphics.h     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderBoxModelObject.h 200 IntRect destRect() const { return m_destRect; }
201 void setDestRect(const IntRect& destRect)
203 m_destRect = destRect;
248 bool m_hasNonLocalGeometry; // Has background-attachment: fixed. Implies that we can't always cheaply compute destRect.
  /packages/apps/Camera2/src/com/android/camera/tinyplanet/
TinyPlanetFragment.java 480 RectF destRect = new RectF(left * scale, top * scale, right * scale, bottom * scale);
481 paddedCanvas.drawBitmap(bitmapIn, null, destRect, null);

Completed in 706 milliseconds

1 2