/frameworks/base/graphics/java/android/view/ |
D | PixelCopy.java | 129 public static void request(@NonNull SurfaceView source, @Nullable Rect srcRect, in request() argument 132 request(source.getHolder().getSurface(), srcRect, in request() local 176 public static void request(@NonNull Surface source, @Nullable Rect srcRect, in request() argument 183 if (srcRect != null && srcRect.isEmpty()) { in request() 187 int result = ThreadedRenderer.copySurfaceInto(source, srcRect, dest); in request() 254 public static void request(@NonNull Window source, @Nullable Rect srcRect, in request() argument 270 if (srcRect == null) { in request() 271 srcRect = new Rect(surfaceInsets.left, surfaceInsets.top, in request() 274 srcRect.offset(surfaceInsets.left, surfaceInsets.top); in request() 281 request(surface, srcRect, dest, listener, listenerThread); in request()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | FrameImage2D.java | 145 FrameImage2D srcImage, FrameImage2D dstImage, RectF srcRect, RectF dstRect) { in gpuImageCopy() argument 149 idShader.setSourceRect(srcRect); in gpuImageCopy() 158 FrameImage2D srcImage, FrameImage2D dstImage, RectF srcRect, RectF dstRect) { in cpuImageCopy() argument 160 Rect srcIRect = new Rect((int) srcRect.left * srcImage.getWidth(), in cpuImageCopy() 161 (int) srcRect.top * srcImage.getHeight(), in cpuImageCopy() 162 (int) srcRect.right * srcImage.getWidth(), in cpuImageCopy() 163 (int) srcRect.bottom * srcImage.getHeight()); in cpuImageCopy()
|
/frameworks/base/libs/hwui/ |
D | Readback.cpp | 38 CopyResult Readback::copySurfaceInto(Surface& surface, const Rect& srcRect, SkBitmap* bitmap) { in copySurfaceInto() argument 72 return copyImageInto(image, texTransform, srcRect, bitmap); in copySurfaceInto() 78 Rect srcRect; in copyHWBitmapInto() local 83 return copyImageInto(hwBitmap->makeImage(), transform, srcRect, bitmap); in copyHWBitmapInto() 107 const Rect& srcRect, SkBitmap* bitmap) { in copyImageInto() argument 136 SkRect skiaSrcRect = srcRect.toSkRect(); in copyImageInto() 159 bool Readback::copyLayerInto(Layer* layer, const SkRect* srcRect, const SkRect* dstRect, in copyLayerInto() argument 185 tmpSurface->getCanvas(), layer, srcRect, dstRect, in copyLayerInto()
|
D | Readback.h | 50 CopyResult copySurfaceInto(Surface& surface, const Rect& srcRect, SkBitmap* bitmap); 58 const Rect& srcRect, SkBitmap* bitmap); 60 bool copyLayerInto(Layer* layer, const SkRect* srcRect, const SkRect* dstRect,
|
D | SkiaCanvas.cpp | 561 SkRect srcRect = SkRect::MakeLTRB(srcLeft, srcTop, srcRight, srcBottom); in drawBitmap() local 564 mCanvas->drawImageRect(bitmap.makeImage(), srcRect, dstRect, filterPaint(paint), in drawBitmap()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | PixelCopyWindow.java | 84 Rect srcRect = new Rect(); in takeScreenshot() local 85 decor.getGlobalVisibleRect(srcRect); in takeScreenshot() 87 (int) (srcRect.width() * .25), (int) (srcRect.height() * .25), Config.ARGB_8888); in takeScreenshot() 88 PixelCopy.request(getWindow(), srcRect, bitmap, (result) -> { in takeScreenshot() local
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | DecodeTask.java | 303 final Rect srcRect = new Rect(); // Not orientation corrected. True coordinates. in decode() local 329 1f, srcRect); in decode() 331 System.out.println("rect for this decode is: " + srcRect in decode() 340 srcRect); in decode() 342 bitmap = brd.decodeRegion(srcRect, mOpts); in decode() 407 if (!srcRect.isEmpty()) { in decode() 408 result.setLogicalWidth((srcRect.right - srcRect.left) / mOpts.inSampleSize); in decode() 410 (srcRect.bottom - srcRect.top) / mOpts.inSampleSize); in decode()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | LayerDrawable.cpp | 54 const SkRect* srcRect, const SkRect* dstRect, in DrawLayer() argument 98 if (dstRect || srcRect) { in DrawLayer() 104 if (srcRect) { in DrawLayer() 105 skiaSrcRect = *srcRect; in DrawLayer()
|
D | SkiaRecordingCanvas.cpp | 213 SkRect srcRect = SkRect::MakeLTRB(srcLeft, srcTop, srcRight, srcBottom); in drawBitmap() local 217 mRecorder.drawImageRect(image, srcRect, dstRect, filterBitmap(paint), in drawBitmap() 219 if (!bitmap.isImmutable() && image.get() && !image->unique() && !srcRect.isEmpty() && in drawBitmap()
|
D | LayerDrawable.h | 35 static bool DrawLayer(GrContext* context, SkCanvas* canvas, Layer* layer, const SkRect* srcRect,
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | YUVImage.h | 91 const Rect& srcRect, 97 const Rect& srcRect, 104 const Rect& srcRect,
|
D | YUVCanvas.h | 54 const Rect& srcRect,
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | FocusFinderTest.java | 498 private void assertBetterCandidate(int direction, Rect srcRect, in assertBetterCandidate() argument 506 expectedBetter, expectedWorse, srcRect, directionStr); in assertBetterCandidate() 509 mFocusFinder.isBetterCandidate(direction, srcRect, in assertBetterCandidate() 516 expectedWorse, expectedBetter, srcRect, directionStr); in assertBetterCandidate() 519 mFocusFinder.isBetterCandidate(direction, srcRect, in assertBetterCandidate() 533 private void assertBeamBeats(int direction, Rect srcRect, in assertBeamBeats() argument 539 rect1, rect2, srcRect, directionStr); in assertBeamBeats() 540 assertTrue(assertMsg, mFocusFinder.beamBeats(direction, srcRect, rect1, rect2)); in assertBeamBeats()
|
/frameworks/base/core/java/android/view/ |
D | FocusFinder.java | 546 boolean isCandidate(Rect srcRect, Rect destRect, int direction) { in isCandidate() argument 549 return (srcRect.right > destRect.right || srcRect.left >= destRect.right) in isCandidate() 550 && srcRect.left > destRect.left; in isCandidate() 552 return (srcRect.left < destRect.left || srcRect.right <= destRect.left) in isCandidate() 553 && srcRect.right < destRect.right; in isCandidate() 555 return (srcRect.bottom > destRect.bottom || srcRect.top >= destRect.bottom) in isCandidate() 556 && srcRect.top > destRect.top; in isCandidate() 558 return (srcRect.top < destRect.top || srcRect.bottom <= destRect.top) in isCandidate() 559 && srcRect.bottom < destRect.bottom; in isCandidate()
|
D | FocusFinderHelper.java | 44 public boolean isCandidate(Rect srcRect, Rect destRect, int direction) { in isCandidate() argument 45 return mFocusFinder.isCandidate(srcRect, destRect, direction); in isCandidate()
|
/frameworks/base/graphics/java/android/graphics/ |
D | HardwareRenderer.java | 910 public static int copySurfaceInto(Surface surface, Rect srcRect, Bitmap bitmap) { in copySurfaceInto() argument 911 if (srcRect == null) { in copySurfaceInto() 915 return nCopySurfaceInto(surface, srcRect.left, srcRect.top, in copySurfaceInto() 916 srcRect.right, srcRect.bottom, bitmap.getNativeInstance()); in copySurfaceInto()
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiObject.java | 199 Rect srcRect = getVisibleBounds(); in dragTo() local 201 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(), in dragTo() 219 Rect srcRect = getVisibleBounds(); in dragTo() local 220 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(), destX, destY, in dragTo()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/ |
D | UserIconDrawable.java | 407 RectF srcRect = new RectF(iconCX - mIntrinsicRadius, iconCY - mIntrinsicRadius, in onBoundsChange() local 409 mIconMatrix.setRectToRect(srcRect, dstRect, Matrix.ScaleToFit.FILL); in onBoundsChange()
|
/frameworks/base/core/java/android/widget/ |
D | Magnifier.java | 1061 final Rect srcRect = new Rect(0, 0, mBitmap.getWidth(), mBitmap.getHeight()); in doDraw() local 1065 canvas.drawBitmap(mBitmap, srcRect, dstRect, paint); in doDraw()
|
/frameworks/native/vulkan/api/ |
D | vulkan.api | 5389 VkRect2D srcRect
|