Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DScrollView.java790 final int oldY = mScrollY; in onTouchEvent() local
804 final int scrolledDeltaY = mScrollY - oldY; in onTouchEvent()
811 final int pulledToY = oldY + deltaY; in onTouchEvent()
934 final int oldY = mScrollY; in onOverScrolled() local
938 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in onOverScrolled()
1437 int oldY = mScrollY; in computeScroll() local
1441 if (oldX != x || oldY != y) { in computeScroll()
1447 overScrollBy(x - oldX, y - oldY, oldX, oldY, 0, range, in computeScroll()
1449 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in computeScroll()
1452 if (y < 0 && oldY >= 0) { in computeScroll()
[all …]
DHorizontalScrollView.java724 final int oldY = mScrollY; in onTouchEvent() local
876 final int oldY = mScrollY; in onOverScrolled() local
880 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in onOverScrolled()
1408 int oldY = mScrollY; in computeScroll() local
1412 if (oldX != x || oldY != y) { in computeScroll()
1418 overScrollBy(x - oldX, y - oldY, oldX, oldY, range, 0, in computeScroll()
1420 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in computeScroll()
DStackView.java790 float oldY = ev.getY(activePointerIndex);
793 mInitialY += (y - oldY);
DPopupWindow.java2408 final int oldY = p.y;
2423 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/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java1919 int oldY = mLastScrollerY;
1921 int deltaY = y - oldY;
1931 customOverScrollBy(deltaY, oldY, 0, (int) mMaxOverScroll);
1935 int oldY = mOwnScrollY;
1938 if (oldY != y) {
1940 if (y < 0 && oldY >= 0 || y > range && oldY <= range) {
1947 range = Math.max(range, oldY);
1949 customOverScrollBy(y - oldY, oldY, range,
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java1626 final int oldY = getScrollY();
1630 if (oldX != x || oldY != y) {
1769 int oldY = getScrollY();
1772 if (oldX != x || oldY != y) {
/frameworks/base/core/java/android/view/
DMotionEvent.java3169 float oldY = getY(); in setLocation() local
3170 offsetLocation(x - oldX, y - oldY); in setLocation()
DView.java17841 int oldY = mScrollY; in scrollTo() local
17845 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in scrollTo()