Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DScrollView.java668 final int oldY = mScrollY; in onTouchEvent() local
682 final int scrolledDeltaY = mScrollY - oldY; in onTouchEvent()
689 final int pulledToY = oldY + deltaY; in onTouchEvent()
807 final int oldY = mScrollY; in onOverScrolled() local
811 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in onOverScrolled()
1306 int oldY = mScrollY; in computeScroll() local
1310 if (oldX != x || oldY != y) { in computeScroll()
1316 overScrollBy(x - oldX, y - oldY, oldX, oldY, 0, range, in computeScroll()
1318 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in computeScroll()
1321 if (y < 0 && oldY >= 0) { in computeScroll()
[all …]
DHorizontalScrollView.java606 final int oldY = mScrollY; in onTouchEvent() local
753 final int oldY = mScrollY; in onOverScrolled() local
757 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in onOverScrolled()
1282 int oldY = mScrollY; in computeScroll() local
1286 if (oldX != x || oldY != y) { in computeScroll()
1292 overScrollBy(x - oldX, y - oldY, oldX, oldY, range, 0, in computeScroll()
1294 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in computeScroll()
DStackView.java789 float oldY = ev.getY(activePointerIndex);
792 mInitialY += (y - oldY);
/frameworks/support/v4/java/android/support/v4/widget/
DNestedScrollView.java744 final int oldY = getScrollY(); in onTouchEvent() local
759 final int scrolledDeltaY = getScrollY() - oldY; in onTouchEvent()
767 final int pulledToY = oldY + deltaY; in onTouchEvent()
1342 int oldY = getScrollY(); in computeScroll() local
1346 if (oldX != x || oldY != y) { in computeScroll()
1352 overScrollByCompat(x - oldX, y - oldY, oldX, oldY, 0, range, in computeScroll()
1357 if (y <= 0 && oldY > 0) { in computeScroll()
1359 } else if (y >= range && oldY < range) { in computeScroll()
DViewDragHelper.java515 final int oldY = mScroller.getCurrY(); in abort() local
519 mCallback.onViewPositionChanged(mCapturedView, newX, newY, newX - oldX, newY - oldY); in abort()
/frameworks/base/core/java/android/text/method/
DTouch.java173 int oldY = widget.getScrollY(); in onTouchEvent() local
180 if (oldX != widget.getScrollX() || oldY != widget.getScrollY()) { in onTouchEvent()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java343 final float oldY = event.getY();
357 event.setLocation(oldX, oldY);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java1099 int oldY = mOwnScrollY; in computeScroll() local
1103 if (oldX != x || oldY != y) { in computeScroll()
1105 if (y < 0 && oldY >= 0 || y > range && oldY <= range) { in computeScroll()
1112 overScrollBy(x - oldX, y - oldY, oldX, oldY, 0, range, in computeScroll()
1114 onScrollChanged(mScrollX, mOwnScrollY, oldX, oldY); in computeScroll()
1262 final int oldY = mOwnScrollY; in onOverScrolled() local
1268 onScrollChanged(mScrollX, mOwnScrollY, oldX, oldY); in onOverScrolled()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java1647 int oldY = getScrollY();
1651 if (oldX != x || oldY != y) {
1827 int oldY = getScrollY();
1830 if (oldX != x || oldY != y) {
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java1629 final int oldY = getScrollY();
1633 if (oldX != x || oldY != y) {
1772 int oldY = getScrollY();
1775 if (oldX != x || oldY != y) {
/frameworks/base/core/java/android/view/
DMotionEvent.java2812 float oldY = getY(); in setLocation() local
2813 offsetLocation(x - oldX, y - oldY); in setLocation()
DView.java12411 int oldY = mScrollY;
12415 onScrollChanged(mScrollX, mScrollY, oldX, oldY);
/frameworks/base/libs/hwui/
DOpenGLRenderer.cpp2220 const float oldY = y;
2239 alpha, oldX, oldY);
2288 drawTextDecorations(totalAdvance, oldX, oldY, paint);