Home
last modified time | relevance | path

Searched refs:mScrollBounds (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/view/
DScrollCaptureTarget.java41 private Rect mScrollBounds; field in ScrollCaptureTarget
98 return mScrollBounds; in getScrollBounds()
106 mScrollBounds = Rect.copyOrNull(scrollBounds); in setScrollBounds()
107 if (mScrollBounds == null) { in setScrollBounds()
110 if (!mScrollBounds.intersect(0, 0, in setScrollBounds()
112 mScrollBounds.setEmpty(); in setScrollBounds()
130 + ", scrollBounds=" + mScrollBounds in toString()
142 + (mScrollBounds == null ? "null" : mScrollBounds.toShortString())); in dump()
DScrollCaptureSession.java32 private final Rect mScrollBounds; field in ScrollCaptureSession
45 mScrollBounds = requireNonNull(scrollBounds); in ScrollCaptureSession()
73 return mScrollBounds; in getScrollBounds()
DScrollCaptureConnection.java52 private final Rect mScrollBounds; field in ScrollCaptureConnection
80 mScrollBounds = requireNonNull(Rect.copyOrNull(selectedTarget.getScrollBounds()), in ScrollCaptureConnection()
100 mSession = new ScrollCaptureSession(surface, mScrollBounds, mPositionInWindow); in startCapture()
/frameworks/base/core/tests/coretests/src/android/view/
DScrollCaptureConnectionTest.java58 private final Rect mScrollBounds = new Rect(3, 4, 5, 6); field in ScrollCaptureConnectionTest
81 mTarget.setScrollBounds(mScrollBounds); in setUp()
DScrollCaptureSearchResultsTest.java333 private Rect mScrollBounds; field in ScrollCaptureSearchResultsTest.FakeScrollCaptureCallback
370 mScrollBounds = scrollBounds; in setScrollBounds()
378 return mScrollBounds; in getScrollBounds()