/frameworks/base/libs/hwui/ |
H A D | OpenGLReadback.cpp | 34 CopyResult OpenGLReadback::copySurfaceInto(Surface& surface, const Rect& srcRect, argument 62 return copyGraphicBufferInto(sourceBuffer.get(), texTransform, srcRect, bitmap); 66 Matrix4& texTransform, const Rect& srcRect, SkBitmap* bitmap) { 93 srcRect, bitmap); 104 Rect srcRect; local 108 return copyGraphicBufferInto(graphicBuffer, transform, srcRect, bitmap); 124 Texture& sourceTexture, const Matrix4& texTransform, const Rect& srcRect, 202 if (!srcRect.isEmpty()) { 203 // We flipV to convert to 0,0 top-left for the srcRect 207 croppedTexTransform.translate(srcRect 65 copyGraphicBufferInto(GraphicBuffer* graphicBuffer, Matrix4& texTransform, const Rect& srcRect, SkBitmap* bitmap) argument 123 copyTextureInto(Caches& caches, RenderState& renderState, Texture& sourceTexture, const Matrix4& texTransform, const Rect& srcRect, SkBitmap* bitmap) argument 243 copyImageInto(EGLImageKHR eglImage, const Matrix4& imgTransform, int imgWidth, int imgHeight, const Rect& srcRect, SkBitmap* bitmap) argument [all...] |
H A D | OpenGLReadback.h | 29 virtual CopyResult copySurfaceInto(Surface& surface, const Rect& srcRect, 39 int imgWidth, int imgHeight, const Rect& srcRect, SkBitmap* bitmap) = 0; 42 const Rect& srcRect, SkBitmap* bitmap); 57 int imgWidth, int imgHeight, const Rect& srcRect, SkBitmap* bitmap) override;
|
H A D | Readback.h | 44 virtual CopyResult copySurfaceInto(Surface& surface, const Rect& srcRect,
|
H A D | SkiaCanvas.cpp | 560 SkRect srcRect = SkRect::MakeLTRB(srcLeft, srcTop, srcRight, srcBottom); local 562 mCanvas->drawBitmapRect(bitmap, 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 | 35 int imgWidth, int imgHeight, const Rect& srcRect, SkBitmap* bitmap) { 70 SkRect skiaSrcRect = srcRect.toSkRect(); 74 // remove the y-flip applied to the matrix so that we can scale the srcRect. 34 copyImageInto(EGLImageKHR eglImage, const Matrix4& imgTransform, int imgWidth, int imgHeight, const Rect& srcRect, SkBitmap* bitmap) argument
|
H A D | SkiaRecordingCanvas.cpp | 201 SkRect srcRect = SkRect::MakeLTRB(srcLeft, srcTop, srcRight, srcBottom); local 208 mRecorder.drawImageRect(image, srcRect, dstRect, nonAAPaint(paint, &tmpPaint));
|
/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 | 536 boolean isCandidate(Rect srcRect, Rect destRect, int direction) { argument 539 return (srcRect.right > destRect.right || srcRect.left >= destRect.right) 540 && srcRect.left > destRect.left; 542 return (srcRect.left < destRect.left || srcRect.right <= destRect.left) 543 && srcRect.right < destRect.right; 545 return (srcRect.bottom > destRect.bottom || srcRect.top >= destRect.bottom) 546 && srcRect [all...] |
H A D | ThreadedRenderer.java | 872 public static int copySurfaceInto(Surface surface, Rect srcRect, Bitmap bitmap) { argument 873 if (srcRect == null) { 877 return nCopySurfaceInto(surface, srcRect.left, srcRect.top, 878 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/foundation/include/ |
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/ |
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 | 618 Surface* surface, Rect srcRect, SkBitmap* bitmap) { 620 args->srcRect, args->bitmap); 629 args->srcRect.set(left, top, right, bottom); 617 CREATE_BRIDGE4(copySurfaceInto, RenderThread* thread, Surface* surface, Rect srcRect, SkBitmap* bitmap) argument
|