OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:srcRect
(Results
1 - 10
of
10
) sorted by null
/external/skia/gm/
nocolorbleed.cpp
44
SkIRect
srcRect
;
49
srcRect
.setXYWH(0, 0, 4, 4);
52
canvas->drawBitmapRect(sprite, &
srcRect
, dstRect, &paint);
55
canvas->drawBitmapRect(sprite, &
srcRect
, dstRect);
57
srcRect
.setXYWH(1, 1, 2, 2);
60
canvas->drawBitmapRect(sprite, &
srcRect
, dstRect, &paint);
63
canvas->drawBitmapRect(sprite, &
srcRect
, dstRect);
/external/skia/samplecode/
SampleTextureDomain.cpp
41
SkIRect
srcRect
;
48
srcRect
.setXYWH(1, 1, 3, 3);
50
canvas->drawBitmapRect(fBM, &
srcRect
, dstRect, &paint);
62
srcRect
.setXYWH(1, 1, 3, 3);
64
secondCanvas.drawBitmapRect(fBM, &
srcRect
, dstRect, &paint);
68
srcRect
.setXYWH(1, 1, 3, 3);
70
canvas->drawBitmapRect(deviceBitmap, &
srcRect
, dstRect, &paint);
/external/webkit/Source/WebKit2/UIProcess/win/
BackingStoreWin.cpp
93
IntRect
srcRect
= updateRect;
94
srcRect
.move(-updateRectLocation.x(), -updateRectLocation.y());
96
bitmap->paint(graphicsContext, updateRect.location(),
srcRect
);
/external/webkit/Source/WebCore/platform/graphics/filters/
FEComposite.cpp
230
FloatRect
srcRect
= FloatRect(0, 0, -1, -1);
244
filterContext->drawImageBuffer(in2->asImageBuffer(), ColorSpaceDeviceRGB, drawingRegionOfInputImage(in2->absolutePaintRect()),
srcRect
, CompositeDestinationOut);
248
filterContext->drawImageBuffer(in->asImageBuffer(), ColorSpaceDeviceRGB, drawingRegionOfInputImage(in->absolutePaintRect()),
srcRect
, CompositeSourceAtop);
252
filterContext->drawImageBuffer(in->asImageBuffer(), ColorSpaceDeviceRGB, drawingRegionOfInputImage(in->absolutePaintRect()),
srcRect
, CompositeXOR);
/external/webkit/Source/WebCore/platform/graphics/skia/
ImageSkia.cpp
171
SkRect
srcRect
;
172
srcRect
.set(srcIRect);
259
static void paintSkBitmap(PlatformContextSkia* platformContext, const NativeImageSkia& bitmap, const SkIRect&
srcRect
, const SkRect& destRect, const SkXfermode::Mode& compOp)
274
computeResamplingMode(platformContext, bitmap,
srcRect
.width(),
srcRect
.height(),
279
drawResampledBitmap(*canvas, paint, bitmap,
srcRect
, destRect);
286
canvas->drawBitmapRect(bitmap, &
srcRect
, destRect, &paint);
358
SkIRect
srcRect
= enclosingIntRect(normSrcRect);
359
bitmap->extractSubset(&srcSubset,
srcRect
);
368
TransformDimensions(patternTransform,
srcRect
.width(), srcRect.height()
[
all
...]
/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);
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/skia/src/core/
SkBitmap.cpp
791
SkIRect
srcRect
, r;
792
srcRect
.set(0, 0, this->width(), this->height());
793
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
...]
Completed in 556 milliseconds