Searched refs:scrollDelta (Results 1 – 10 of 10) sorted by relevance
61 int scrollDelta = view.getScrollY() - mOriginScrollY; in onScrollRequested() local66 result.scrollDelta = scrollDelta; in onScrollRequested()76 mRequestWebViewLocal.offset(0, -scrollDelta); in onScrollRequested()87 scrollDelta = view.getScrollY() - mOriginScrollY; in onScrollRequested()89 result.scrollDelta = scrollDelta; in onScrollRequested()93 result.availableArea.offset(0, result.scrollDelta); in onScrollRequested()
101 int scrollDelta = view.getScrollY() - mStartScrollY; in onScrollRequested() local105 result.scrollDelta = scrollDelta; in onScrollRequested()122 requestedContainerBounds.offset(0, -scrollDelta); in onScrollRequested()152 scrollDelta = view.getScrollY() - mStartScrollY; in onScrollRequested()153 result.scrollDelta = scrollDelta; in onScrollRequested()179 available.offset(0, scrollDelta); in onScrollRequested()
54 public int scrollDelta; // visible top offset from start field in ScrollCaptureViewHelper.ScrollResult61 + ", scrollDelta=" + scrollDelta in toString()
70 result.scrollDelta = mScrollDelta; in onScrollRequested()109 result.scrollDelta = mScrollDelta; in onScrollRequested()
71 result.scrollDelta = mScrollDelta; in onScrollRequested()117 result.scrollDelta = mScrollDelta; in onScrollRequested()
273 viewCaptureArea.offset(0, -scrollResult.scrollDelta); in onScrollResult()
83 public fun handleScrollHaptic(scrollDelta: Float) in handleScrollHaptic()89 public fun handleSnapHaptic(scrollDelta: Float) in handleScrollHaptic()112 override fun handleScrollHaptic(scrollDelta: Float) { in handleScrollHaptic()113 if ((scrollDelta > 0 && !scrollableState.canScrollForward) || in handleScrollHaptic()114 (scrollDelta < 0 && !scrollableState.canScrollBackward) in handleScrollHaptic()122 currScrollPosition += scrollDelta in handleScrollHaptic()132 override fun handleSnapHaptic(scrollDelta: Float) { in handleScrollHaptic()133 if ((scrollDelta > 0 && !scrollableState.canScrollForward) || in handleScrollHaptic()134 (scrollDelta < 0 && !scrollableState.canScrollBackward) in handleScrollHaptic()200 override fun handleScrollHaptic(scrollDelta: Float) { in <lambda>()[all …]
184 assertThat(scrollResult.scrollDelta).isEqualTo((WINDOW_HEIGHT / 2) + (CAPTURE_HEIGHT / 2)); in onScrollRequested_down_fromTop()197 assertThat(scrollResult.scrollDelta).isEqualTo( in onScrollRequested_up_fromMiddle()211 assertThat(scrollResult.scrollDelta).isEqualTo( in onScrollRequested_down_fromMiddle()225 assertThat(scrollResult.scrollDelta).isEqualTo( in onScrollRequested_up_fromBottom()259 assertThat(scrollResult.scrollDelta).isEqualTo(0); in onScrollRequested_offTopEdge()275 assertThat(scrollResult.scrollDelta).isEqualTo(0); in onScrollRequested_offBottomEdge()341 localAvailable.offset(0, -result.scrollDelta); // make relative to view top in assertAvailableAreaCompletelyVisible()350 requested.offset(0, -result.scrollDelta); // make relative in assertAvailableAreaPartiallyVisible()
1270 int scrollDelta = computeScrollDeltaToGetChildRectOnScreen(mTempRect); in arrowScroll() local1271 doScrollX(scrollDelta); in arrowScroll()1275 int scrollDelta = maxJump; in arrowScroll() local1277 if (direction == View.FOCUS_LEFT && getScrollX() < scrollDelta) { in arrowScroll()1278 scrollDelta = getScrollX(); in arrowScroll()1286 scrollDelta = daRight - screenRight; in arrowScroll()1289 if (scrollDelta == 0) { in arrowScroll()1292 doScrollX(direction == View.FOCUS_RIGHT ? scrollDelta : -scrollDelta); in arrowScroll()1547 int scrollDelta = computeScrollDeltaToGetChildRectOnScreen(mTempRect); in scrollToChild() local1549 if (scrollDelta != 0) { in scrollToChild()[all …]
1354 int scrollDelta = computeScrollDeltaToGetChildRectOnScreen(mTempRect); in arrowScroll() local1355 doScrollY(scrollDelta); in arrowScroll()1359 int scrollDelta = maxJump; in arrowScroll() local1361 if (direction == View.FOCUS_UP && getScrollY() < scrollDelta) { in arrowScroll()1362 scrollDelta = getScrollY(); in arrowScroll()1368 scrollDelta = daBottom - screenBottom; in arrowScroll()1372 if (scrollDelta == 0) { in arrowScroll()1375 doScrollY(direction == View.FOCUS_DOWN ? scrollDelta : -scrollDelta); in arrowScroll()1646 int scrollDelta = computeScrollDeltaToGetChildRectOnScreen(mTempRect); in scrollToDescendant() local1648 if (scrollDelta != 0) { in scrollToDescendant()[all …]