Home
last modified time | relevance | path

Searched refs:oldY (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/widget/
DScrollView.java684 final int oldY = mScrollY; in onTouchEvent() local
698 final int scrolledDeltaY = mScrollY - oldY; in onTouchEvent()
705 final int pulledToY = oldY + deltaY; in onTouchEvent()
828 final int oldY = mScrollY; in onOverScrolled() local
832 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in onOverScrolled()
1331 int oldY = mScrollY; in computeScroll() local
1335 if (oldX != x || oldY != y) { in computeScroll()
1341 overScrollBy(x - oldX, y - oldY, oldX, oldY, 0, range, in computeScroll()
1343 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in computeScroll()
1346 if (y < 0 && oldY >= 0) { in computeScroll()
[all …]
DHorizontalScrollView.java626 final int oldY = mScrollY; in onTouchEvent() local
778 final int oldY = mScrollY; in onOverScrolled() local
782 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in onOverScrolled()
1310 int oldY = mScrollY; in computeScroll() local
1314 if (oldX != x || oldY != y) { in computeScroll()
1320 overScrollBy(x - oldX, y - oldY, oldX, oldY, range, 0, in computeScroll()
1322 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in computeScroll()
DStackView.java789 float oldY = ev.getY(activePointerIndex);
792 mInitialY += (y - oldY);
DPopupWindow.java2257 final int oldY = p.y;
2272 final boolean paramsChanged = oldGravity != p.gravity || oldX != p.x || oldY != p.y
/frameworks/base/core/java/android/text/method/
DTouch.java163 int oldY = widget.getScrollY(); in onTouchEvent() local
168 if (oldX != widget.getScrollX() || oldY != widget.getScrollY()) { in onTouchEvent()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java346 final float oldY = event.getY();
360 event.setLocation(oldX, oldY);
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DOverlayDisplayWindow.java438 final float oldY = event.getY();
452 event.setLocation(oldX, oldY);
/frameworks/support/core-ui/java/android/support/v4/widget/
DNestedScrollView.java819 final int oldY = getScrollY(); in onTouchEvent() local
833 final int scrolledDeltaY = getScrollY() - oldY; in onTouchEvent()
842 final int pulledToY = oldY + deltaY; in onTouchEvent()
DViewDragHelper.java517 final int oldY = mScroller.getCurrY(); in abort() local
521 mCallback.onViewPositionChanged(mCapturedView, newX, newY, newX - oldX, newY - oldY); in abort()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java1632 int oldY = mOwnScrollY; in animateScroll() local
1635 if (oldY != y) { in animateScroll()
1637 if (y < 0 && oldY >= 0 || y > range && oldY <= range) { in animateScroll()
1645 range = Math.max(range, oldY); in animateScroll()
1647 customOverScrollBy(y - oldY, oldY, range, in animateScroll()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java1618 final int oldY = getScrollY();
1622 if (oldX != x || oldY != y) {
1761 int oldY = getScrollY();
1764 if (oldX != x || oldY != y) {
/frameworks/support/core-ui/java/android/support/v4/view/
DViewPager.java1788 int oldY = getScrollY();
1792 if (oldX != x || oldY != y) {
1974 int oldY = getScrollY();
1977 if (oldX != x || oldY != y) {
/frameworks/base/core/java/android/view/
DMotionEvent.java2958 float oldY = getY(); in setLocation() local
2959 offsetLocation(x - oldX, y - oldY); in setLocation()
DView.java15167 int oldY = mScrollY;
15171 onScrollChanged(mScrollX, mScrollY, oldX, oldY);