/aosp14/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | LayerDrawable.cpp | 52 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 D | LayerDrawable.h | 39 const SkRect* dstRect,
|
H A D | SkiaRecordingCanvas.cpp | 263 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 D | FrameImage2D.java | 145 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 D | Layer.cpp | 65 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 D | Readback.cpp | 286 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 D | Readback.h | 55 bool copyLayerInto(Layer* layer, const SkRect* srcRect, const SkRect* dstRect,
|
H A D | SkiaCanvas.cpp | 619 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 D | NinePatch.cpp | 88 jlong chunkHandle, jobject dstRect) { in getTransparentRegion() argument 95 GraphicsJNI::jrect_to_rect(env, dstRect, &dst); in getTransparentRegion()
|
H A D | RenderEffect.cpp | 67 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 D | UserIconDrawable.java | 455 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 D | UiObject.java | 200 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 D | Magnifier.java | 837 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()
|