Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DScrollView.java151 private final int[] mScrollOffset = new int[2]; field in ScrollView
663 if (dispatchNestedPreScroll(0, deltaY, mScrollConsumed, mScrollOffset)) { in onTouchEvent()
665 vtev.offsetLocation(0, mScrollOffset[1]); in onTouchEvent()
666 mNestedYOffset += mScrollOffset[1]; in onTouchEvent()
682 mLastMotionY = y - mScrollOffset[1]; in onTouchEvent()
700 if (dispatchNestedScroll(0, scrolledDeltaY, 0, unconsumedY, mScrollOffset)) { in onTouchEvent()
701 mLastMotionY -= mScrollOffset[1]; in onTouchEvent()
702 vtev.offsetLocation(0, mScrollOffset[1]); in onTouchEvent()
703 mNestedYOffset += mScrollOffset[1]; in onTouchEvent()
DAbsListView.java634 private final int[] mScrollOffset = new int[2]; field in AbsListView
3517 mScrollConsumed, mScrollOffset)) { in scrollIfNeeded()
3519 scrollOffsetCorrection = -mScrollOffset[1]; in scrollIfNeeded()
3522 vtev.offsetLocation(0, mScrollOffset[1]); in scrollIfNeeded()
3523 mNestedYOffset += mScrollOffset[1]; in scrollIfNeeded()
3589 mScrollOffset)) { in scrollIfNeeded()
3590 lastYCorrection -= mScrollOffset[1]; in scrollIfNeeded()
3592 vtev.offsetLocation(0, mScrollOffset[1]); in scrollIfNeeded()
3593 mNestedYOffset += mScrollOffset[1]; in scrollIfNeeded()
/frameworks/support/core-ui/java/android/support/v4/widget/
DNestedScrollView.java157 private final int[] mScrollOffset = new int[2]; field in NestedScrollView
797 if (dispatchNestedPreScroll(0, deltaY, mScrollConsumed, mScrollOffset, in onTouchEvent()
800 vtev.offsetLocation(0, mScrollOffset[1]); in onTouchEvent()
801 mNestedYOffset += mScrollOffset[1]; in onTouchEvent()
817 mLastMotionY = y - mScrollOffset[1]; in onTouchEvent()
835 if (dispatchNestedScroll(0, scrolledDeltaY, 0, unconsumedY, mScrollOffset, in onTouchEvent()
837 mLastMotionY -= mScrollOffset[1]; in onTouchEvent()
838 vtev.offsetLocation(0, mScrollOffset[1]); in onTouchEvent()
839 mNestedYOffset += mScrollOffset[1]; in onTouchEvent()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java458 private final int[] mScrollOffset = new int[2]; field in RecyclerView
1674 if (dispatchNestedScroll(consumedX, consumedY, unconsumedX, unconsumedY, mScrollOffset)) { in scrollByInternal()
1676 mLastTouchX -= mScrollOffset[0]; in scrollByInternal()
1677 mLastTouchY -= mScrollOffset[1]; in scrollByInternal()
1679 ev.offsetLocation(mScrollOffset[0], mScrollOffset[1]); in scrollByInternal()
1681 mNestedOffsets[0] += mScrollOffset[0]; in scrollByInternal()
1682 mNestedOffsets[1] += mScrollOffset[1]; in scrollByInternal()
2795 if (dispatchNestedPreScroll(dx, dy, mScrollConsumed, mScrollOffset)) { in onTouchEvent()
2798 vtev.offsetLocation(mScrollOffset[0], mScrollOffset[1]); in onTouchEvent()
2800 mNestedOffsets[0] += mScrollOffset[0]; in onTouchEvent()
[all …]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DRecyclerView.java492 private final int[] mScrollOffset = new int[2]; field in RecyclerView
1802 if (dispatchNestedScroll(consumedX, consumedY, unconsumedX, unconsumedY, mScrollOffset, in scrollByInternal()
1805 mLastTouchX -= mScrollOffset[0]; in scrollByInternal()
1806 mLastTouchY -= mScrollOffset[1]; in scrollByInternal()
1808 ev.offsetLocation(mScrollOffset[0], mScrollOffset[1]); in scrollByInternal()
1810 mNestedOffsets[0] += mScrollOffset[0]; in scrollByInternal()
1811 mNestedOffsets[1] += mScrollOffset[1]; in scrollByInternal()
2960 if (dispatchNestedPreScroll(dx, dy, mScrollConsumed, mScrollOffset, TYPE_TOUCH)) { in onTouchEvent()
2963 vtev.offsetLocation(mScrollOffset[0], mScrollOffset[1]); in onTouchEvent()
2965 mNestedOffsets[0] += mScrollOffset[0]; in onTouchEvent()
[all …]