Lines Matching refs:srcRect
133 public static void request(@NonNull SurfaceView source, @Nullable Rect srcRect, in request() argument
136 request(source.getHolder().getSurface(), srcRect, in request() local
180 public static void request(@NonNull Surface source, @Nullable Rect srcRect, in request() argument
187 if (srcRect != null && srcRect.isEmpty()) { in request()
190 HardwareRenderer.copySurfaceInto(source, new HardwareRenderer.CopyRequest(srcRect, dest) { in request()
256 public static void request(@NonNull Window source, @Nullable Rect srcRect, in request() argument
262 request(surface, adjustSourceRectForInsets(insets, srcRect), dest, listener, in request()
302 private static Rect adjustSourceRectForInsets(Rect insets, Rect srcRect) { in adjustSourceRectForInsets() argument
303 if (srcRect == null) { in adjustSourceRectForInsets()
307 srcRect.offset(insets.left, insets.top); in adjustSourceRectForInsets()
309 return srcRect; in adjustSourceRectForInsets()
472 public @NonNull Builder setSourceRect(@Nullable Rect srcRect) { in setSourceRect() argument
474 mRequest.mSrcRect = srcRect; in setSourceRect()