Home
last modified time | relevance | path

Searched refs:mScrollBounds (Results 1 – 6 of 6) 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.java62 private final Rect mScrollBounds; field in ScrollCaptureConnection
89 mScrollBounds = requireNonNull(Rect.copyOrNull(selectedTarget.getScrollBounds()), in ScrollCaptureConnection()
113 mSession = new ScrollCaptureSession(surface, mScrollBounds, mPositionInWindow); in startCapture()
/frameworks/base/core/tests/coretests/src/com/android/internal/view/
DAbsCaptureHelperTest.java93 private Rect mScrollBounds; field in AbsCaptureHelperTest
170 ScrollResult result = requestScrollSync(mHelper, mScrollBounds, request); in onScrollRequested_up_fromTop()
179 ScrollResult scrollResult = requestScrollSync(mHelper, mScrollBounds, request); in onScrollRequested_down_fromTop()
193 ScrollResult scrollResult = requestScrollSync(mHelper, mScrollBounds, request); in onScrollRequested_up_fromMiddle()
207 ScrollResult scrollResult = requestScrollSync(mHelper, mScrollBounds, request); in onScrollRequested_down_fromMiddle()
221 ScrollResult scrollResult = requestScrollSync(mHelper, mScrollBounds, request); in onScrollRequested_up_fromBottom()
235 ScrollResult scrollResult = requestScrollSync(mHelper, mScrollBounds, request); in onScrollRequested_down_fromBottom()
252 ScrollResult scrollResult = requestScrollSync(mHelper, mScrollBounds, request); in onScrollRequested_offTopEdge()
270 ScrollResult scrollResult = requestScrollSync(mHelper, mScrollBounds, request); in onScrollRequested_offBottomEdge()
292 mScrollBounds = mHelper.onComputeScrollBounds(mTarget); in initHelper()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DScrollCaptureConnectionTest.java66 private final Rect mScrollBounds = new Rect(3, 4, 5, 6); field in ScrollCaptureConnectionTest
94 mTarget.setScrollBounds(mScrollBounds); in setUp()
DScrollCaptureSearchResultsTest.java333 private Rect mScrollBounds; field in ScrollCaptureSearchResultsTest.FakeScrollCaptureCallback
370 mScrollBounds = scrollBounds; in setScrollBounds()
378 return mScrollBounds; in getScrollBounds()