Home
last modified time | relevance | path

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

/aosp14/frameworks/base/libs/hwui/pipeline/skia/
H A DLayerDrawable.cpp52 static bool shouldFilterRect(const SkMatrix& matrix, const SkRect& srcRect, const SkRect& dstRect) { in shouldFilterRect() argument
54 SkRect dstDevRect = matrix.mapRect(dstRect); in shouldFilterRect()
111 const SkRect* dstRect, in DrawLayer() argument
146 if (dstRect && !dstRect->isEmpty()) { in DrawLayer()
148 ? SkRect::MakeIWH(dstRect->height(), dstRect->width()) in DrawLayer()
149 : SkRect::MakeIWH(dstRect->width(), dstRect->height()); in DrawLayer()
H A DLayerDrawable.h39 const SkRect* dstRect,
H A DSkiaRecordingCanvas.cpp263 SkRect dstRect = SkRect::MakeLTRB(dstLeft, dstTop, dstRight, dstBottom); in drawBitmap() local
270 mRecorder.drawImageRect(DrawImagePayload(payload), srcRect, dstRect, p.sampling(), in drawBitmap()
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A 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()
/aosp14/frameworks/base/libs/hwui/
H A DLayer.cpp65 static bool shouldFilterRect(const SkMatrix& matrix, const SkRect& srcRect, const SkRect& dstRect) { in shouldFilterRect() argument
67 SkRect dstDevRect = matrix.mapRect(dstRect); in shouldFilterRect()
H A DReadback.cpp286 const SkRect dstRect = SkRect::MakeIWH(bitmap->width(), bitmap->height()); in copyLayerInto() local
290 if (copyLayerInto(layer, nullptr, &dstRect, bitmap)) { in copyLayerInto()
342 bool Readback::copyLayerInto(Layer* layer, const SkRect* srcRect, const SkRect* dstRect, in copyLayerInto() argument
369 tmpSurface->getCanvas(), layer, srcRect, dstRect, in copyLayerInto()
H A DReadback.h55 bool copyLayerInto(Layer* layer, const SkRect* srcRect, const SkRect* dstRect,
H A DSkiaCanvas.cpp619 SkRect dstRect = SkRect::MakeLTRB(dstLeft, dstTop, dstRight, dstBottom); in drawBitmap() local
626 gainmapShader = gainmapShader->makeWithLocalMatrix(SkMatrix::RectToRect(srcRect, dstRect)); in drawBitmap()
632 mCanvas->drawImageRect(image, srcRect, dstRect, p.sampling(), &p, in drawBitmap()
/aosp14/frameworks/base/libs/hwui/jni/
H A DNinePatch.cpp88 jlong chunkHandle, jobject dstRect) { in getTransparentRegion() argument
95 GraphicsJNI::jrect_to_rect(env, dstRect, &dst); in getTransparentRegion()
H A DRenderEffect.cpp67 SkRect dstRect = SkRect::MakeLTRB(dstLeft, dstTop, dstRight, dstBottom); in createBitmapEffect() local
69 image, srcRect, dstRect, SkSamplingOptions(SkFilterMode::kLinear)); in createBitmapEffect()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
H A DUserIconDrawable.java455 RectF dstRect = new RectF(bounds.exactCenterX() - iconRadius, in onBoundsChange() local
461 dstRect.round(rounded); in onBoundsChange()
472 mIconMatrix.setRectToRect(srcRect, dstRect, Matrix.ScaleToFit.FILL); in onBoundsChange()
/aosp14/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiObject.java200 Rect dstRect = destObj.getVisibleBounds(); in dragTo() local
202 dstRect.centerX(), dstRect.centerY(), steps, true); in dragTo()
/aosp14/frameworks/base/core/java/android/widget/
H A DMagnifier.java837 final Rect dstRect = new Rect(mLeftCutWidth, 0, in performPixelCopy()
839 can.drawBitmap(bitmap, null, dstRect, null); in performPixelCopy()
1319 final Rect dstRect = new Rect( in doDraw() local
1321 canvas.drawBitmap(mBitmap, srcRect, dstRect, paint); in doDraw()
1332 final Rect dstRect = new Rect(0, 0, mContentWidth, mContentHeight); in doDraw() local
1333 canvas.drawBitmap(mBitmap, srcRect, dstRect, paint); in doDraw()