Home
last modified time | relevance | path

Searched refs:dstRect (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrameImage2D.java145 FrameImage2D srcImage, FrameImage2D dstImage, RectF srcRect, RectF dstRect) { in gpuImageCopy() argument
150 idShader.setTargetRect(dstRect); in gpuImageCopy()
158 FrameImage2D srcImage, FrameImage2D dstImage, RectF srcRect, RectF dstRect) { in cpuImageCopy() argument
164 Rect dstIRect = new Rect((int) dstRect.left * srcImage.getWidth(), in cpuImageCopy()
165 (int) dstRect.top * srcImage.getHeight(), in cpuImageCopy()
166 (int) dstRect.right * srcImage.getWidth(), in cpuImageCopy()
167 (int) dstRect.bottom * srcImage.getHeight()); in cpuImageCopy()
/frameworks/base/libs/hwui/pipeline/skia/
DLayerDrawable.cpp42 static bool shouldFilterRect(const SkMatrix& matrix, const SkRect& srcRect, const SkRect& dstRect) { in shouldFilterRect() argument
44 SkRect dstDevRect = matrix.mapRect(dstRect); in shouldFilterRect()
71 const SkRect* srcRect, const SkRect* dstRect, in DrawLayer() argument
115 if (dstRect || srcRect) { in DrawLayer()
128 if (dstRect) { in DrawLayer()
129 skiaDestRect = *dstRect; in DrawLayer()
DLayerDrawable.h36 const SkRect* dstRect, bool useLayerTransform);
DSkiaRecordingCanvas.cpp258 SkRect dstRect = SkRect::MakeLTRB(dstLeft, dstTop, dstRight, dstBottom); in drawBitmap() local
263 mRecorder.drawImageRect(image, srcRect, dstRect.makeOffset(x, y), &p, in drawBitmap()
268 !dstRect.isEmpty()) { in drawBitmap()
/frameworks/base/libs/hwui/
DReadback.cpp98 const SkRect dstRect = SkRect::MakeIWH(bitmap->width(), bitmap->height()); in copyLayerInto() local
102 if (copyLayerInto(layer, nullptr, &dstRect, bitmap)) { in copyLayerInto()
161 bool Readback::copyLayerInto(Layer* layer, const SkRect* srcRect, const SkRect* dstRect, in copyLayerInto() argument
187 tmpSurface->getCanvas(), layer, srcRect, dstRect, in copyLayerInto()
DReadback.h60 bool copyLayerInto(Layer* layer, const SkRect* srcRect, const SkRect* dstRect,
DSkiaCanvas.cpp597 SkRect dstRect = SkRect::MakeLTRB(dstLeft, dstTop, dstRight, dstBottom); in drawBitmap() local
600 mCanvas->drawImageRect(image, srcRect, dstRect, &p, SkCanvas::kFast_SrcRectConstraint); in drawBitmap()
/frameworks/base/libs/hwui/jni/
DNinePatch.cpp86 jlong chunkHandle, jobject dstRect) { in getTransparentRegion() argument
93 GraphicsJNI::jrect_to_rect(env, dstRect, &dst); in getTransparentRegion()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
DUserIconDrawable.java392 RectF dstRect = new RectF(bounds.exactCenterX() - iconRadius, in onBoundsChange() local
398 dstRect.round(rounded); in onBoundsChange()
409 mIconMatrix.setRectToRect(srcRect, dstRect, Matrix.ScaleToFit.FILL); in onBoundsChange()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiObject.java200 Rect dstRect = destObj.getVisibleBounds(); in dragTo() local
202 dstRect.centerX(), dstRect.centerY(), steps, true); in dragTo()
/frameworks/base/core/java/android/widget/
DMagnifier.java829 final Rect dstRect = new Rect(mLeftCutWidth, 0, in performPixelCopy()
831 can.drawBitmap(bitmap, null, dstRect, null); in performPixelCopy()
1296 final Rect dstRect = new Rect( in doDraw() local
1298 canvas.drawBitmap(mBitmap, srcRect, dstRect, paint); in doDraw()
1309 final Rect dstRect = new Rect(0, 0, mContentWidth, mContentHeight); in doDraw() local
1310 canvas.drawBitmap(mBitmap, srcRect, dstRect, paint); in doDraw()