Home
last modified time | relevance | path

Searched refs:dstRect (Results 1 – 13 of 13) 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()
75 const SkRect* dstRect, in DrawLayer() argument
119 if (dstRect || srcRect) { in DrawLayer()
132 if (dstRect) { in DrawLayer()
133 skiaDestRect = *dstRect; in DrawLayer()
DLayerDrawable.h39 const SkRect* dstRect,
DSkiaRecordingCanvas.cpp245 SkRect dstRect = SkRect::MakeLTRB(dstLeft, dstTop, dstRight, dstBottom); in drawBitmap() local
252 mRecorder.drawImageRect(image, srcRect, dstRect, Paint_to_sampling(p), &p, in drawBitmap()
258 !dstRect.isEmpty()) { in drawBitmap()
/frameworks/base/libs/hwui/
DLayer.cpp62 static bool shouldFilterRect(const SkMatrix& matrix, const SkRect& srcRect, const SkRect& dstRect) { in shouldFilterRect() argument
64 SkRect dstDevRect = matrix.mapRect(dstRect); in shouldFilterRect()
DReadback.cpp269 const SkRect dstRect = SkRect::MakeIWH(bitmap->width(), bitmap->height()); in copyLayerInto() local
273 if (copyLayerInto(layer, nullptr, &dstRect, bitmap)) { in copyLayerInto()
334 bool Readback::copyLayerInto(Layer* layer, const SkRect* srcRect, const SkRect* dstRect, in copyLayerInto() argument
358 tmpSurface->getCanvas(), layer, srcRect, dstRect, in copyLayerInto()
DReadback.h62 bool copyLayerInto(Layer* layer, const SkRect* srcRect, const SkRect* dstRect,
DSkiaCanvas.cpp576 SkRect dstRect = SkRect::MakeLTRB(dstLeft, dstTop, dstRight, dstBottom); in drawBitmap() local
580 mCanvas->drawImageRect(image, srcRect, dstRect, sampling, &p, in drawBitmap()
/frameworks/base/libs/hwui/jni/
DRenderEffect.cpp66 SkRect dstRect = SkRect::MakeLTRB(dstLeft, dstTop, dstRight, dstBottom); in createBitmapEffect() local
68 image, srcRect, dstRect, SkSamplingOptions(SkFilterMode::kLinear)); in createBitmapEffect()
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.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()