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

1 2 3 4 5

  /external/skia/samplecode/
SampleTextureDomain.cpp 48 SkRect dstRect;
55 dstRect.setXYWH(5, 5, 305, 305);
56 canvas->drawBitmapRect(fBM, srcRect, dstRect, &paint, SkCanvas::kStrict_SrcRectConstraint);
66 dstRect.setXYWH(1, 1, 3, 3);
67 surface->getCanvas()->drawBitmapRect(fBM, srcRect, dstRect, &paint,
73 dstRect.setXYWH(405, 5, 305, 305);
74 canvas->drawImageRect(image, srcRect, dstRect, &paint);
79 dstRect.setXYWH(5, 405, 305, 305);
86 canvas->drawImageRect(image, srcRect, dstRect, &paint);
98 dstRect.setXYWH(-150, -150, 300, 300)
    [all...]
  /external/webrtc/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/
ViESurfaceRenderer.java 41 private Rect dstRect = new Rect();
56 dstRect.right = (int)(dstRect.left + dstRightScale * dstWidth);
57 dstRect.bottom = (int)(dstRect.top + dstBottomScale * dstHeight);
72 " dstRect.left:" + dstRect.left +
73 " dstRect.top:" + dstRect.top +
74 " dstRect.right:" + dstRect.right
    [all...]
  /external/skia/src/effects/
SkImageSource.cpp 23 const SkRect& dstRect,
25 return image ? new SkImageSource(image, srcRect, dstRect, filterQuality) : nullptr;
37 const SkRect& dstRect,
42 , fDstRect(dstRect)
69 SkRect dstRect;
70 ctx.ctm().mapRect(&dstRect, fDstRect);
72 if (fSrcRect == bounds && dstRect == bounds) {
78 const SkIRect dstIRect = dstRect.roundOut();
88 dstRect.offset(-SkIntToScalar(dstIRect.fLeft), -SkIntToScalar(dstIRect.fTop));
93 fSrcRect.width() == dstRect.width() && fSrcRect.height() == dstRect.height()
    [all...]
SkTileImageFilter.cpp 20 SkImageFilter* SkTileImageFilter::Create(const SkRect& srcRect, const SkRect& dstRect,
22 if (!SkIsValidRect(srcRect) || !SkIsValidRect(dstRect)) {
25 if (srcRect.width() == dstRect.width() && srcRect.height() == dstRect.height()) {
26 SkRect ir = dstRect;
31 return SkOffsetImageFilter::Create(dstRect.x() - srcRect.x(),
32 dstRect.y() - srcRect.y(),
35 return new SkTileImageFilter(srcRect, dstRect, input);
47 SkRect dstRect;
48 ctx.ctm().mapRect(&dstRect, fDstRect)
    [all...]
SkGpuBlurUtils.cpp 50 const SkRect& dstRect,
64 drawContext->fillRectWithLocalMatrix(clip, paint, SkMatrix::I(), dstRect, localMatrix);
69 const SkRect& dstRect,
94 drawContext->fillRectWithLocalMatrix(clip, paint, SkMatrix::I(), dstRect, localMatrix);
107 SkRect dstRect = SkRect::MakeWH(srcRect.width(), srcRect.height());
109 convolve_gaussian_1d(drawContext, clip, dstRect, srcOffset, texture,
120 SkRect::MakeLTRB(0, 0, dstRect.right(), midRect.top()).roundOut(&topRect);
121 SkRect::MakeLTRB(0, midRect.bottom(), dstRect.right(), dstRect.bottom())
126 SkRect::MakeLTRB(midRect.right(), midRect.top(), dstRect.width(), midRect.bottom())
    [all...]
SkMorphologyImageFilter.cpp 455 const SkIRect& dstRect,
467 drawContext->fillRectToRect(clip, paint, SkMatrix::I(), SkRect::Make(dstRect),
475 const SkIRect& dstRect,
485 drawContext->fillRectToRect(clip, paint, SkMatrix::I(), SkRect::Make(dstRect),
493 const SkIRect& dstRect,
498 SkIRect lowerSrcRect = srcRect, lowerDstRect = dstRect;
499 SkIRect middleSrcRect = srcRect, middleDstRect = dstRect;
500 SkIRect upperSrcRect = srcRect, upperDstRect = dstRect;
505 lowerDstRect.fRight = dstRect.left() + radius;
507 upperDstRect.fLeft = dstRect.right() - radius
    [all...]
  /external/deqp/framework/platform/raspi/
tcuRaspiPlatform.cpp 127 VC_RECT_T dstRect, srcRect;
129 dstRect.x = 0;
130 dstRect.y = 0;
131 dstRect.width = width;
132 dstRect.height = height;
145 m_dispmanElement = vc_dispmanx_element_add(dispmanUpdate, m_dispmanDisplay, 0/*layer*/, &dstRect, 0/*src*/, &srcRect, DISPMANX_PROTECTION_NONE, 0/*alpha*/, 0/*clamp*/, DISPMANX_NO_ROTATE);
  /external/skia/gm/
tileimagefilter.cpp 64 SkRect dstRect = SkRect::MakeXYWH(SkIntToScalar(i * 8),
70 SkTileImageFilter::Create(srcRect, dstRect, tileInput));
77 canvas->drawRect(dstRect, blue);
93 SkRect dstRect = SkRect::MakeWH(SkIntToScalar(fBitmap->width() * 2),
95 SkAutoTUnref<SkImageFilter> tile(SkTileImageFilter::Create(srcRect, dstRect, nullptr));
103 canvas->clipRect(dstRect);
104 canvas->saveLayer(&dstRect, &paint);
108 canvas->drawRect(dstRect, blue);
imagesource.cpp 44 SkRect dstRect = SkRect::MakeXYWH(0, 10, 60, 60);
51 SkImageSource::Create(fImage, srcRect, dstRect, kHigh_SkFilterQuality));
53 SkImageSource::Create(fImage, bounds, dstRect, kHigh_SkFilterQuality));
63 // Draw a subset of the bitmap scaled to a destination rect (srcRect -> dstRect).
67 // Draw the entire bitmap scaled to a destination rect (bounds -> dstRect).
drawbitmaprect.cpp 147 SkRect dstRect = { 0, 0, SkIntToScalar(64), SkIntToScalar(64)};
175 fProc(canvas, fImage, fLargeBitmap, srcRect, dstRect);
182 SkScalar baseline = dstRect.height() +
190 canvas->drawRect(dstRect, blackPaint);
192 canvas->translate(dstRect.width() + SK_Scalar1 * kPadX, 0);
194 if ((dstRect.width() + kPadX) * rowCount > gSize) {
196 canvas->translate(0, dstRect.height() + SK_Scalar1 * kPadY);
220 canvas->drawBitmapRect(bm, srcRect, dstRect, &paint);
drawminibitmaprect.cpp 86 const SkRect dstRect = { 0, 0, SkIntToScalar(64), SkIntToScalar(64)};
116 canvas->drawImageRect(fImage, srcRect, dstRect, &paint,
120 canvas->translate(dstRect.width() + SK_Scalar1 * kPadX, 0);
122 if ((dstRect.width() + 2 * kPadX) * rowCount > gSize) {
124 canvas->translate(0, dstRect.height() + SK_Scalar1 * kPadY);
resizeimagefilter.cpp 32 SkRect dstRect;
33 canvas->getTotalMatrix().mapRect(&dstRect, rect);
35 SkScalar deviceScaleX = deviceSize.width() / dstRect.width();
36 SkScalar deviceScaleY = deviceSize.height() / dstRect.height();
imagesource2.cpp 65 SkRect dstRect = SkRect::MakeLTRB(0.75f, 0.75f, 225.75f, 225.75f);
68 SkImageSource::Create(fImage, srcRect, dstRect, fFilter));
tallstretchedbitmaps.cpp 88 SkRect dstRect = SkRect::MakeWH(SkIntToScalar(bmp.width()), 10.f * itemHeight);
91 canvas->drawBitmapRect(bmp, subRect, dstRect, &paint);
  /external/skia/include/effects/
SkImageSource.h 20 const SkRect& dstRect,
38 const SkRect& dstRect,
SkTileImageFilter.h 38 SkTileImageFilter(const SkRect& srcRect, const SkRect& dstRect, SkImageFilter* input)
39 : INHERITED(1, &input, NULL), fSrcRect(srcRect), fDstRect(dstRect) {}
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
FrameImage2D.java 145 FrameImage2D srcImage, FrameImage2D dstImage, RectF srcRect, RectF dstRect) {
150 idShader.setTargetRect(dstRect);
158 FrameImage2D srcImage, FrameImage2D dstImage, RectF srcRect, RectF dstRect) {
164 Rect dstIRect = new Rect((int) dstRect.left * srcImage.getWidth(),
165 (int) dstRect.top * srcImage.getHeight(),
166 (int) dstRect.right * srcImage.getWidth(),
167 (int) dstRect.bottom * srcImage.getHeight());
  /external/skia/src/gpu/
SkGpuDevice_drawTexture.cpp 92 const SkRect* dstRect,
108 if (!dstRect) {
109 dstRect = &srcBounds;
116 if (!srcToDstMatrix.setRectToRect(*srcRect, *dstRect, SkMatrix::kFill_ScaleToFit)) {
122 clippedDstRect = *dstRect;
123 if (!srcToDstMatrix.setRectToRect(*srcRect, *dstRect, SkMatrix::kFill_ScaleToFit)) {
129 if (dstRect) {
130 clippedDstRect = *dstRect;
131 if (!srcToDstMatrix.setRectToRect(srcBounds, *dstRect, SkMatrix::kFill_ScaleToFit)) {
153 // by not baking anything about the srcRect, dstRect, or viewMatrix, into the texture FP. I
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/
gdiplusbrush.h 479 TextureBrush(Image *image, WrapMode wrapMode, const RectF& dstRect)
484 dstRect.X, dstRect.Y,
485 dstRect.Width, dstRect.Height, &nativeTexture);
488 TextureBrush(Image *image, WrapMode wrapMode, const Rect& dstRect)
493 dstRect.X, dstRect.Y,
494 dstRect.Width, dstRect.Height, &nativeTexture)
    [all...]
  /frameworks/base/libs/hwui/
BakedOpState.h 66 ResolvedRenderState(const ClipRect* viewportRect, const Rect& dstRect);
126 const ClipRect* clip, const Rect& dstRect, const RecordedOp& recordedOp);
162 BakedOpState(const ClipRect* clipRect, const Rect& dstRect, const RecordedOp& recordedOp)
163 : computedState(clipRect, dstRect)
BakedOpState.cpp 101 ResolvedRenderState::ResolvedRenderState(const ClipRect* clipRect, const Rect& dstRect)
104 , clippedBounds(dstRect)
105 , clipSideFlags(computeClipSideFlags(clipRect->rect, dstRect))
156 const ClipRect* clip, const Rect& dstRect, const RecordedOp& recordedOp) {
157 return allocator.create_trivial<BakedOpState>(clip, dstRect, recordedOp);
LayerBuilder.h 97 void deferLayerClear(const Rect& dstRect);
  /external/skia/src/core/
SkMatrixImageFilter.cpp 60 SkRect dstRect;
71 matrix.mapRect(&dstRect, srcRect);
72 dstRect.roundOut(&dstBounds);
  /external/deqp/modules/gles3/functional/
es3fFramebufferBlitTests.cpp 58 BlitRectCase (Context& context, const char* name, const char* desc, deUint32 filter, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dstRect, int cellSize = 8)
64 , m_dstRect (dstRect)
167 BlitNearestFilterConsistencyCase (Context& context, const char* name, const char* desc, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dstRect);
172 BlitNearestFilterConsistencyCase::BlitNearestFilterConsistencyCase (Context& context, const char* name, const char* desc, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dstRect)
173 : BlitRectCase(context, name, desc, GL_NEAREST, srcSize, srcRect, dstSize, dstRect, 1)
459 BlitDepthStencilCase (Context& context, const char* name, const char* desc, deUint32 format, deUint32 srcBuffers, const IVec2& srcSize, const IVec4& srcRect, deUint32 dstBuffers, const IVec2& dstSize, const IVec4& dstRect, deUint32 copyBuffers)
467 , m_dstRect (dstRect)
    [all...]
  /external/pdfium/xfa/src/fdp/include/
fde_rdv.h 39 const CFX_RectF& dstRect,

Completed in 829 milliseconds

1 2 3 4 5