Home
last modified time | relevance | path

Searched defs:srcRect (Results 1 – 25 of 624) sorted by relevance

12345678910>>...25

/aosp_15_r20/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowPixelCopy.java60 @Nullable Rect srcRect, in request()
83 @Nullable Rect srcRect, in request()
90 takeScreenshot(source.getDecorView(), dest, srcRect); in request() local
97 @Nullable Rect srcRect, in request()
159 private static void takeScreenshot(View view, Bitmap screenshot, @Nullable Rect srcRect) { in takeScreenshot()
233 Rect adjustSourceRectForInsets(Rect insets, Rect srcRect); in adjustSourceRectForInsets()
/aosp_15_r20/external/skia/src/gpu/ganesh/
H A DSurfaceContext.cpp236 auto srcRect = SkIRect::MakePtSize(pt, dst.dimensions()); in readPixels() local
515 SkIRect srcRect = SkIRect::MakeSize(srcBase.dimensions()); in internalWritePixels() local
591 const SkIRect& srcRect, in asyncRescaleAndReadPixels()
737 const SkIRect& srcRect, in asyncRescaleAndReadPixelsYUV420()
1037 SkIRect srcRect, in copy()
1049 SkIRect srcRect, in copyScaled()
1119 SkIRect srcRect, in rescale()
1140 SkIRect srcRect, in rescaleInto()
1160 auto ensureTexturable = [this](GrSurfaceProxyView texView, SkIRect srcRect) { in rescaleInto()
1370 auto srcRect = rect; in transferPixels() local
H A DGrCopyRenderTask.cpp26 SkIRect srcRect, in Make()
49 SkIRect srcRect, in GrCopyRenderTask()
99 SkIRect srcRect = GrNativeRect::MakeIRectRelativeTo(fOrigin, srcSurface->height(), fSrcRect); in onExecute() local
H A DDevice_drawTexture.cpp84 bool has_aligned_samples(const SkRect& srcRect, const SkRect& transformedRect) { in has_aligned_samples()
95 bool may_color_bleed(const SkRect& srcRect, in may_color_bleed()
170 const SkRect& srcRect, in draw_texture()
459 const SkRect& srcRect, in drawImageQuadDirect()
/aosp_15_r20/frameworks/base/graphics/java/android/view/
H A DPixelCopy.java133 public static void request(@NonNull SurfaceView source, @Nullable Rect srcRect, in request()
136 request(source.getHolder().getSurface(), srcRect, in request() local
180 public static void request(@NonNull Surface source, @Nullable Rect srcRect, in request()
256 public static void request(@NonNull Window source, @Nullable Rect srcRect, in request()
302 private static Rect adjustSourceRectForInsets(Rect insets, Rect srcRect) { in adjustSourceRectForInsets()
472 public @NonNull Builder setSourceRect(@Nullable Rect srcRect) { in setSourceRect()
/aosp_15_r20/frameworks/base/libs/hwui/
H A DReadback.cpp123 SkRect srcRect = request->srcRect.toSkRect(); in copySurfaceInto() local
277 Rect srcRect; in copyHWBitmapInto() local
302 Rect srcRect; in copyImageInto() local
306 CopyResult Readback::copyImageInto(const sk_sp<SkImage>& image, const Rect& srcRect, in copyImageInto()
346 bool Readback::copyLayerInto(Layer* layer, const SkRect* srcRect, const SkRect* dstRect, in copyLayerInto()
/aosp_15_r20/external/skia/tests/graphite/
H A DImageOriginTest.cpp38 SkRect srcRect, in test_draw()
130 for (auto srcRect: kTestSrcRects) { in test_draw_fn() local
143 SkRect srcRect, in draw_image()
155 SkRect srcRect, in draw_image_with_shader()
/aosp_15_r20/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DFocusFinder.java49 static boolean isPartiallyInDirection(Rect srcRect, Rect destRect, int direction) { in isPartiallyInDirection()
73 static boolean isInDirection(Rect srcRect, Rect destRect, int direction) { in isInDirection()
126 static boolean isCandidate(Rect srcRect, Rect destRect, int direction) { in isCandidate()
345 private static boolean isStrictlyInDirection(Rect srcRect, Rect destRect, int direction) { in isStrictlyInDirection()
/aosp_15_r20/external/skia/src/gpu/graphite/task/
H A DCopyTask.cpp64 SkIRect srcRect, in Make()
79 SkIRect srcRect, in CopyTextureToBufferTask()
124 SkIRect srcRect, in Make()
139 SkIRect srcRect, in CopyTextureToTextureTask()
/aosp_15_r20/external/skia/src/gpu/graphite/
H A DContext.cpp258 const SkIRect& srcRect, in asyncRescaleAndReadPixels()
270 const SkIRect& srcRect, in asyncRescaleAndReadPixels()
366 const SkIRect& srcRect, in asyncRescaleAndReadPixelsYUV420()
386 const SkIRect& srcRect, in asyncRescaleAndReadPixelsYUV420()
411 const SkIRect& srcRect, in asyncRescaleAndReadPixelsYUVA420()
430 const SkIRect& srcRect, in asyncRescaleAndReadPixelsYUVA420()
650 const SkIRect& srcRect) { in transferPixels()
H A DSurface_Graphite.cpp74 SkIRect srcRect = subset ? *subset : SkIRect::MakeSize(this->imageInfo().dimensions()); in makeImageCopy() local
86 SkIRect srcRect, in onAsyncRescaleAndReadPixels()
98 SkIRect srcRect, in onAsyncRescaleAndReadPixelsYUV420()
/aosp_15_r20/external/skia/gm/
H A Dasyncrescaleandread.cpp135 SkIRect srcRect, in readAndScaleRGBA()
202 SkIRect srcRect, in readAndScaleYUVA()
330 SkIRect srcRect, in drawRescaleGrid()
420 SkIRect srcRect, in AsyncRescaleAndReadGridGM()
601 const auto srcRect = SkIRect::MakeXYWH(kBorder, kBorder, kInner, kInner); in onDraw() local
H A Dtileimagefilter.cpp66 SkRect srcRect = SkRect::MakeXYWH(SkIntToScalar(image->width()/4), in onDraw() local
99 SkRect srcRect = SkRect::MakeWH(SkIntToScalar(fBitmap->width()), in onDraw() local
123 SkRect srcRect = SkRect::MakeXYWH(0, 0, 50, 50); in onDraw() local
/aosp_15_r20/frameworks/base/libs/hwui/pipeline/skia/
H A DLayerDrawable.cpp41 SkRect srcRect = layer->getCurrentCropRect(); in onDraw() local
52 static bool shouldFilterRect(const SkMatrix& matrix, const SkRect& srcRect, const SkRect& dstRect) { in shouldFilterRect()
110 const SkRect* srcRect, in DrawLayer()
/aosp_15_r20/external/skia/src/gpu/graphite/geom/
H A DAnalyticBlurMask.cpp43 const SkRect& srcRect) { in outset_bounds()
82 const SkRect srcRect = srcRRect.rect(); in Make() local
103 const SkRect& srcRect) { in MakeRect()
203 const SkRect& srcRect, in MakeCircle()
/aosp_15_r20/external/deqp/modules/gles3/functional/
H A Des3fFramebufferBlitTests.cpp60 const IVec4 &srcRect, const IVec2 &dstSize, const IVec4 &dstRect, int cellSize = 8) in BlitRectCase()
182 … const IVec2 &srcSize, const IVec4 &srcRect, in BlitNearestFilterConsistencyCase()
482 … uint32_t stencilFormat, uint32_t srcBuffers, const IVec2 &srcSize, const IVec4 &srcRect, in BlitDepthStencilCase()
970 IVec4 srcRect; in init() member
981 IVec4 srcRect; in init() member
1017 … IVec4 srcRect = copyRects[rectNdx].srcRect.swizzle(srcSwz[0], srcSwz[1], srcSwz[2], srcSwz[3]); in init() local
1036 IVec4 srcRect = in init() local
/aosp_15_r20/cts/libs/deviceutillegacy/src/com/android/compatibility/common/util/
H A DSynchronousPixelCopy.java54 public int request(Surface source, Rect srcRect, Bitmap dest) { in request()
70 public int request(SurfaceView source, Rect srcRect, Bitmap dest) { in request()
86 public int request(Window source, Rect srcRect, Bitmap dest) { in request()
/aosp_15_r20/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
H A DAnimatedVectorDrawableParameterizedTest.java151 final Rect srcRect = new Rect(); in testAnimationOnLayer() local
312 final Rect srcRect = new Rect(); in testInfiniteAVD() local
348 private Bitmap takeScreenshot(Rect srcRect) { in takeScreenshot()
/aosp_15_r20/external/skia/src/image/
H A DSkSurface.cpp140 const SkIRect& srcRect, in asyncRescaleAndReadPixels()
156 const SkIRect& srcRect, in asyncRescaleAndReadPixelsYUV420()
180 const SkIRect& srcRect, in asyncRescaleAndReadPixelsYUVA420()
H A DSkImage.cpp84 const SkIRect& srcRect, in asyncRescaleAndReadPixels()
100 const SkIRect& srcRect, in asyncRescaleAndReadPixelsYUV420()
124 const SkIRect& srcRect, in asyncRescaleAndReadPixelsYUVA420()
/aosp_15_r20/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
H A DPixelCopyWindow.java84 Rect srcRect = new Rect(); in takeScreenshot() local
88 PixelCopy.request(getWindow(), srcRect, bitmap, (result) -> { in takeScreenshot() local
/aosp_15_r20/external/skia/src/gpu/
H A DTiledTextureUtils.cpp33 size_t get_tile_count(const SkIRect& srcRect, int tileSize) { in get_tile_count()
93 const SkRect& srcRect, in draw_tiled_image()
360 const SkRect& srcRect, in DrawAsTiledImageRect()
/aosp_15_r20/frameworks/base/libs/hwui/platform/host/
H A DReadback.cpp39 CopyResult Readback::copyImageInto(const sk_sp<SkImage>& image, const Rect& srcRect, in copyImageInto()
44 bool Readback::copyLayerInto(Layer* layer, const SkRect* srcRect, const SkRect* dstRect, in copyLayerInto()
/aosp_15_r20/cts/tests/tests/view/src/android/view/cts/
H A DViewAnimationMatrixTest.java122 Rect srcRect = new Rect(0, 0, width, height); in captureView() local
129 PixelCopy.request(mRule.getActivity().getWindow(), srcRect, dest, onCopyFinished, in captureView() local
/aosp_15_r20/external/skia/src/effects/imagefilters/
H A DSkImageImageFilter.cpp33 const SkRect& srcRect, in SkImageImageFilter()
78 const SkRect& srcRect, in Image()

12345678910>>...25