Home
last modified time | relevance | path

Searched refs:dstRect (Results 1 – 12 of 12) 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.cpp54 const SkRect* srcRect, const SkRect* dstRect, in DrawLayer() argument
98 if (dstRect || srcRect) { in DrawLayer()
111 if (dstRect) { in DrawLayer()
112 skiaDestRect = *dstRect; in DrawLayer()
DSkiaRecordingCanvas.cpp214 SkRect dstRect = SkRect::MakeLTRB(dstLeft, dstTop, dstRight, dstBottom); in drawBitmap() local
217 mRecorder.drawImageRect(image, srcRect, dstRect, filterBitmap(paint), in drawBitmap()
220 !dstRect.isEmpty()) { in drawBitmap()
DLayerDrawable.h36 const SkRect* dstRect, bool useLayerTransform);
/frameworks/base/libs/hwui/
DReadback.cpp95 const SkRect dstRect = SkRect::MakeIWH(bitmap->width(), bitmap->height()); in copyLayerInto() local
99 if (copyLayerInto(layer, nullptr, &dstRect, bitmap)) { in copyLayerInto()
159 bool Readback::copyLayerInto(Layer* layer, const SkRect* srcRect, const SkRect* dstRect, in copyLayerInto() argument
185 tmpSurface->getCanvas(), layer, srcRect, dstRect, in copyLayerInto()
DReadback.h60 bool copyLayerInto(Layer* layer, const SkRect* srcRect, const SkRect* dstRect,
DSkiaCanvas.cpp562 SkRect dstRect = SkRect::MakeLTRB(dstLeft, dstTop, dstRight, dstBottom); in drawBitmap() local
564 mCanvas->drawImageRect(bitmap.makeImage(), srcRect, dstRect, filterPaint(paint), in drawBitmap()
/frameworks/base/core/jni/android/graphics/
DNinePatch.cpp88 jlong chunkHandle, jobject dstRect) { in getTransparentRegion() argument
95 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.java1062 final Rect dstRect = new Rect(0, 0, mContentWidth, mContentHeight); in doDraw() local
1065 canvas.drawBitmap(mBitmap, srcRect, dstRect, paint); in doDraw()
/frameworks/native/vulkan/api/
Dvulkan.api5390 VkRect2D dstRect