/frameworks/base/libs/hwui/ |
H A D | OpenGLReadback.h | 32 virtual CopyResult copySurfaceInto(Surface& surface, const Rect& srcRect, 42 int imgWidth, int imgHeight, const Rect& srcRect, SkBitmap* bitmap) = 0; 45 const Rect& srcRect, SkBitmap* bitmap); 60 int imgWidth, int imgHeight, const Rect& srcRect, SkBitmap* bitmap) override;
|
H A D | OpenGLReadback.cpp | 35 CopyResult OpenGLReadback::copySurfaceInto(Surface& surface, const Rect& srcRect, argument 63 return copyGraphicBufferInto(sourceBuffer.get(), texTransform, srcRect, bitmap); 67 Matrix4& texTransform, const Rect& srcRect, SkBitmap* bitmap) { 89 srcRect, bitmap); 100 Rect srcRect; local 104 return copyGraphicBufferInto(graphicBuffer, transform, srcRect, bitmap); 120 Texture& sourceTexture, const Matrix4& texTransform, const Rect& srcRect, 205 if (!srcRect.isEmpty()) { 206 // We flipV to convert to 0,0 top-left for the srcRect 210 croppedTexTransform.translate(srcRect 66 copyGraphicBufferInto(GraphicBuffer* graphicBuffer, Matrix4& texTransform, const Rect& srcRect, SkBitmap* bitmap) argument 119 copyTextureInto(Caches& caches, RenderState& renderState, Texture& sourceTexture, const Matrix4& texTransform, const Rect& srcRect, SkBitmap* bitmap) argument 248 copyImageInto(EGLImageKHR eglImage, const Matrix4& imgTransform, int imgWidth, int imgHeight, const Rect& srcRect, SkBitmap* bitmap) argument [all...] |
H A D | Readback.h | 44 virtual CopyResult copySurfaceInto(Surface& surface, const Rect& srcRect,
|
H A D | SkiaCanvas.cpp | 545 SkRect srcRect = SkRect::MakeLTRB(srcLeft, srcTop, srcRight, srcBottom); local 547 mCanvas->drawImageRect(hwuiBitmap.makeImage(), srcRect, dstRect, paint);
|
/frameworks/base/graphics/java/android/view/ |
H A D | PixelCopy.java | 120 * @param srcRect The area of the source to copy from. If this is null 129 public static void request(@NonNull SurfaceView source, @Nullable Rect srcRect, argument 132 request(source.getHolder().getSurface(), srcRect, 167 * @param srcRect The area of the source to copy from. If this is null 176 public static void request(@NonNull Surface source, @Nullable Rect srcRect, argument 183 if (srcRect != null && srcRect.isEmpty()) { 187 int result = ThreadedRenderer.copySurfaceInto(source, srcRect, dest); 245 * @param srcRect The area of the source to copy from. If this is null 254 public static void request(@NonNull Window source, @Nullable Rect srcRect, argument [all...] |
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaOpenGLReadback.h | 30 int imgWidth, int imgHeight, const Rect& srcRect, SkBitmap* bitmap) override;
|
H A D | SkiaOpenGLReadback.cpp | 36 int imgWidth, int imgHeight, const Rect& srcRect, SkBitmap* bitmap) { 81 SkRect skiaSrcRect = srcRect.toSkRect(); 35 copyImageInto(EGLImageKHR eglImage, const Matrix4& imgTransform, int imgWidth, int imgHeight, const Rect& srcRect, SkBitmap* bitmap) argument
|
H A D | SkiaRecordingCanvas.cpp | 185 SkRect srcRect = SkRect::MakeLTRB(srcLeft, srcTop, srcRight, srcBottom); local 189 mRecorder.drawImageRect(image, srcRect, dstRect, nonAAPaint(paint, &tmpPaint)); 190 if (!hwuiBitmap.isImmutable() && image.get() && !image->unique() && !srcRect.isEmpty()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | FrameImage2D.java | 145 FrameImage2D srcImage, FrameImage2D dstImage, RectF srcRect, RectF dstRect) { 149 idShader.setSourceRect(srcRect); 158 FrameImage2D srcImage, FrameImage2D dstImage, RectF srcRect, RectF dstRect) { 160 Rect srcIRect = new Rect((int) srcRect.left * srcImage.getWidth(), 161 (int) srcRect.top * srcImage.getHeight(), 162 (int) srcRect.right * srcImage.getWidth(), 163 (int) srcRect.bottom * srcImage.getHeight()); 144 gpuImageCopy( FrameImage2D srcImage, FrameImage2D dstImage, RectF srcRect, RectF dstRect) argument 157 cpuImageCopy( FrameImage2D srcImage, FrameImage2D dstImage, RectF srcRect, RectF dstRect) argument
|
/frameworks/base/core/java/android/view/ |
H A D | FocusFinderHelper.java | 44 public boolean isCandidate(Rect srcRect, Rect destRect, int direction) { argument 45 return mFocusFinder.isCandidate(srcRect, destRect, direction);
|
H A D | FocusFinder.java | 546 boolean isCandidate(Rect srcRect, Rect destRect, int direction) { argument 549 return (srcRect.right > destRect.right || srcRect.left >= destRect.right) 550 && srcRect.left > destRect.left; 552 return (srcRect.left < destRect.left || srcRect.right <= destRect.left) 553 && srcRect.right < destRect.right; 555 return (srcRect.bottom > destRect.bottom || srcRect.top >= destRect.bottom) 556 && srcRect [all...] |
H A D | ThreadedRenderer.java | 898 public static int copySurfaceInto(Surface surface, Rect srcRect, Bitmap bitmap) { argument 899 if (srcRect == null) { 903 return nCopySurfaceInto(surface, srcRect.left, srcRect.top, 904 srcRect.right, srcRect.bottom, bitmap);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | PixelCopyWindow.java | 84 Rect srcRect = new Rect(); 85 decor.getGlobalVisibleRect(srcRect); 87 (int) (srcRect.width() * .25), (int) (srcRect.height() * .25), Config.ARGB_8888); 88 PixelCopy.request(getWindow(), srcRect, bitmap, (result) -> {
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
H A D | FocusStrategy.java | 295 private static boolean isCandidate(@NonNull Rect srcRect, @NonNull Rect destRect, argument 299 return (srcRect.right > destRect.right || srcRect.left >= destRect.right) 300 && srcRect.left > destRect.left; 302 return (srcRect.left < destRect.left || srcRect.right <= destRect.left) 303 && srcRect.right < destRect.right; 305 return (srcRect.bottom > destRect.bottom || srcRect.top >= destRect.bottom) 306 && srcRect [all...] |
/frameworks/av/include/media/stagefright/ |
H A D | YUVImage.h | 91 const Rect& srcRect, 97 const Rect& srcRect, 104 const Rect& srcRect,
|
H A D | YUVCanvas.h | 54 const Rect& srcRect,
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
H A D | YUVImage.h | 91 const Rect& srcRect, 97 const Rect& srcRect, 104 const Rect& srcRect,
|
H A D | YUVCanvas.h | 54 const Rect& srcRect,
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | DecodeTask.java | 303 final Rect srcRect = new Rect(); // Not orientation corrected. True coordinates. 329 1f, srcRect); 331 System.out.println("rect for this decode is: " + srcRect 340 srcRect); 342 bitmap = brd.decodeRegion(srcRect, mOpts); 406 // srcRect is non-empty when using the cropping BitmapRegionDecoder codepath 407 if (!srcRect.isEmpty()) { 408 result.setLogicalWidth((srcRect.right - srcRect.left) / mOpts.inSampleSize); 410 (srcRect [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | FocusFinderTest.java | 493 * @param srcRect The src rectangle. 497 private void assertBetterCandidate(int direction, Rect srcRect, argument 505 expectedBetter, expectedWorse, srcRect, directionStr); 508 mFocusFinder.isBetterCandidate(direction, srcRect, 515 expectedWorse, expectedBetter, srcRect, directionStr); 518 mFocusFinder.isBetterCandidate(direction, srcRect, 532 private void assertBeamBeats(int direction, Rect srcRect, argument 538 rect1, rect2, srcRect, directionStr); 539 assertTrue(assertMsg, mFocusFinder.beamBeats(direction, srcRect, rect1, rect2));
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiObject.java | 199 Rect srcRect = getVisibleBounds(); 201 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(), 219 Rect srcRect = getVisibleBounds(); 220 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(), destX, destY,
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/ |
H A D | UserIconDrawable.java | 386 RectF srcRect = new RectF(iconCX - mIntrinsicRadius, iconCY - mIntrinsicRadius, 388 mIconMatrix.setRectToRect(srcRect, dstRect, Matrix.ScaleToFit.FILL);
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderProxy.cpp | 608 Surface* surface, Rect srcRect, SkBitmap* bitmap) { 610 args->srcRect, args->bitmap); 619 args->srcRect.set(left, top, right, bottom); 607 CREATE_BRIDGE4(copySurfaceInto, RenderThread* thread, Surface* surface, Rect srcRect, SkBitmap* bitmap) argument
|
/frameworks/native/vulkan/include/vulkan/ |
H A D | vulkan.h | 3753 VkRect2D srcRect; member in struct:VkDisplayPresentInfoKHR
|