Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/view/
DScrollViewCaptureHelperTest.java122 Rect scrollBounds = svc.onComputeScrollBounds(mTarget); in onPrepareForStart() local
123 svc.onPrepareForStart(mTarget, scrollBounds); in onPrepareForStart()
184 Rect scrollBounds = svc.onComputeScrollBounds(mTarget); in onScrollRequested_up_fromTop() local
185 svc.onPrepareForStart(mTarget, scrollBounds); in onScrollRequested_up_fromTop()
187 assertTrue(scrollBounds.height() > CAPTURE_HEIGHT); in onScrollRequested_up_fromTop()
189 Rect request = new Rect(0, -CAPTURE_HEIGHT, scrollBounds.width(), 0); in onScrollRequested_up_fromTop()
191 Rect result = svc.onScrollRequested(mTarget, scrollBounds, request); in onScrollRequested_up_fromTop()
206 Rect scrollBounds = svc.onComputeScrollBounds(mTarget); in onScrollRequested_down_fromTop() local
207 svc.onPrepareForStart(mTarget, scrollBounds); in onScrollRequested_down_fromTop()
209 assertTrue(scrollBounds.height() > CAPTURE_HEIGHT); in onScrollRequested_down_fromTop()
[all …]
/frameworks/base/core/java/com/android/internal/view/
DScrollViewCaptureHelper.java45 public void onPrepareForStart(@NonNull ViewGroup view, Rect scrollBounds) { in onPrepareForStart() argument
58 public Rect onScrollRequested(@NonNull ViewGroup view, Rect scrollBounds, Rect requestRect) { in onScrollRequested() argument
106 requestedContainerBounds.offset(scrollBounds.left, scrollBounds.top); in onScrollRequested()
149 capturedRect.offset(-scrollBounds.left, -scrollBounds.top); in onScrollRequested()
DScrollCaptureViewHelper.java60 void onPrepareForStart(@NonNull V view, Rect scrollBounds); in onPrepareForStart() argument
77 Rect onScrollRequested(@NonNull V view, Rect scrollBounds, Rect requestRect); in onScrollRequested() argument
/frameworks/base/core/java/android/view/
DScrollCaptureSession.java42 public ScrollCaptureSession(Surface surface, Rect scrollBounds, Point positionInWindow, in ScrollCaptureSession() argument
45 mScrollBounds = scrollBounds; in ScrollCaptureSession()
DScrollCaptureTargetResolver.java275 ((scrollBounds) -> mHandler.post( in queryTarget()
276 () -> onScrollBoundsProvided(target, scrollBounds))))); in queryTarget()
281 private void onScrollBoundsProvided(ScrollCaptureTarget target, @Nullable Rect scrollBounds) { in onScrollBoundsProvided() argument
297 if (!nullOrEmpty(scrollBounds) && containingView.isAggregatedVisible()) { in onScrollBoundsProvided()
299 target.setScrollBounds(scrollBounds); in onScrollBoundsProvided()
DScrollCaptureTarget.java100 public void setScrollBounds(@Nullable Rect scrollBounds) { in setScrollBounds() argument
101 mScrollBounds = Rect.copyOrNull(scrollBounds); in setScrollBounds()
DIScrollCaptureController.aidl38 oneway void onClientConnected(in IScrollCaptureClient client, in Rect scrollBounds, in onClientConnected() argument
DScrollCaptureClient.java77 final Rect scrollBounds = requireNonNull(selectedTarget.getScrollBounds(), in ScrollCaptureClient() local
82 mScrollBounds = new Rect(scrollBounds); in ScrollCaptureClient()
/frameworks/base/core/tests/coretests/src/android/view/
DScrollCaptureTargetResolverTest.java434 public void setScrollBounds(@Nullable Rect scrollBounds) { in setScrollBounds() argument
435 mScrollBounds = scrollBounds; in setScrollBounds()