Home
last modified time | relevance | path

Searched refs:requestRect (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/
DListViewCaptureHelper.java54 Rect requestRect) { in onScrollRequested() argument
57 + "requestRect=" + requestRect + ")"); in onScrollRequested()
60 result.requestedArea = new Rect(requestRect); in onScrollRequested()
71 transformFromRequestToContainer(mScrollDelta, scrollBounds, requestRect); in onScrollRequested()
106 transformFromRequestToContainer(mScrollDelta, scrollBounds, requestRect)); in onScrollRequested()
DScrollCaptureViewSupport.java100 Rect requestRect) { in transformFromRequestToContainer() argument
101 Rect requestedContainerBounds = new Rect(requestRect); in transformFromRequestToContainer()
118 Rect requestRect = new Rect(containerRect); in transformFromContainerToRequest() local
119 requestRect.offset(-requestBounds.left, -requestBounds.top); in transformFromContainerToRequest()
120 requestRect.offset(0, scrollY); in transformFromContainerToRequest()
121 return requestRect; in transformFromContainerToRequest()
236 CancellationSignal signal, Rect requestRect, Consumer<Rect> onComplete) { in onScrollCaptureImageRequest() argument
251 requestRect); in onScrollCaptureImageRequest()
DScrollViewCaptureHelper.java59 Rect requestRect) { in onScrollRequested() argument
96 result.requestedArea = new Rect(requestRect); in onScrollRequested()
112 Rect requestedContainerBounds = new Rect(requestRect); in onScrollRequested()
DRecyclerViewCaptureHelper.java59 Rect requestRect) { in onScrollRequested() argument
61 result.requestedArea = new Rect(requestRect); in onScrollRequested()
71 Rect requestedContainerBounds = new Rect(requestRect); in onScrollRequested()
DScrollCaptureViewHelper.java118 @NonNull Rect requestRect); in onScrollRequested() argument
/frameworks/base/core/tests/coretests/src/com/android/internal/view/
DScrollViewCaptureHelperTest.java346 static void assertRequestedRectCompletelyVisible(int startScrollY, Rect requestRect, in assertRequestedRectCompletelyVisible() argument
351 if (!captured.contains(requestRect)) { in assertRequestedRectCompletelyVisible()
352 fail("Not true that all of " + requestRect + " is contained by " + captured); in assertRequestedRectCompletelyVisible()
355 static void assertRequestedRectPartiallyVisible(int startScrollY, Rect requestRect, in assertRequestedRectPartiallyVisible() argument
360 if (!Rect.intersects(captured, requestRect)) { in assertRequestedRectPartiallyVisible()
361 fail("Not true that any of " + requestRect + " intersects " + captured); in assertRequestedRectPartiallyVisible()
DScrollCaptureViewSupportTest.java41 @NonNull Rect requestRect) {
/frameworks/base/core/java/android/view/
DScrollCaptureConnection.java122 public ICancellationSignal requestImage(Rect requestRect) throws RemoteException { in requestImage() argument
133 mSession, mCancellation, new Rect(requestRect), listener)); in requestImage()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1655 Rect requestRect = requestRegions[i].getRect(); in getExpectedOutputRegion() local
1658 resultRect.setIntersect(requestRect, cropRect)); in getExpectedOutputRegion()