OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:srcRect
(Results
1 - 7
of
7
) sorted by null
/external/webkit/WebCore/rendering/
RenderSVGImage.cpp
89
FloatRect
srcRect
(0, 0, image()->width(), image()->height());
93
imageElt->preserveAspectRatio().transformRect(destRect,
srcRect
);
95
paintInfo.context->drawImage(image(), DeviceColorSpace, destRect,
srcRect
);
/external/webkit/WebCore/platform/graphics/skia/
ImageSkia.cpp
151
SkRect
srcRect
;
152
srcRect
.set(srcIRect);
218
static void paintSkBitmap(PlatformContextSkia* platformContext, const NativeImageSkia& bitmap, const SkIRect&
srcRect
, const SkRect& destRect, const SkXfermode::Mode& compOp)
233
computeResamplingMode(bitmap,
srcRect
.width(),
srcRect
.height(),
237
drawResampledBitmap(*canvas, paint, bitmap,
srcRect
, destRect);
244
canvas->drawBitmapRect(bitmap, &
srcRect
, destRect, &paint);
321
SkIRect
srcRect
= enclosingIntRect(normSrcRect);
322
bitmap->extractSubset(&srcSubset,
srcRect
);
331
TransformDimensions(patternTransform,
srcRect
.width(), srcRect.height()
[
all
...]
/external/skia/src/core/
SkBitmap.cpp
648
SkIRect
srcRect
, r;
649
srcRect
.set(0, 0, this->width(), this->height());
650
if (!r.intersect(
srcRect
, subset)) {
[
all
...]
/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);
GridViewSpecial.java
[
all
...]
/development/apps/Term/src/com/android/term/
Term.java
[
all
...]
/packages/apps/Gallery3D/src/com/cooliris/media/
CropImage.java
409
Rect
srcRect
= mCrop.getCropRect();
412
int dx = (
srcRect
.width() - dstRect.width()) / 2;
413
int dy = (
srcRect
.height() - dstRect.height()) / 2;
415
// If the
srcRect
is too big, use the center part of it.
416
srcRect
.inset(Math.max(0, dx), Math.max(0, dy));
422
canvas.drawBitmap(mBitmap,
srcRect
, dstRect, null);
[
all
...]
Completed in 687 milliseconds