Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java605 final int oldX = mScrollX; in onTouchEvent() local
621 final int pulledToX = oldX + deltaX; in onTouchEvent()
752 final int oldX = mScrollX; in onOverScrolled() local
757 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in onOverScrolled()
1281 int oldX = mScrollX; 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()
1297 if (x < 0 && oldX >= 0) { in computeScroll()
1299 } else if (x > range && oldX <= range) { in computeScroll()
DScrollView.java806 final int oldX = mScrollX; in onOverScrolled() local
811 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in onOverScrolled()
1305 int oldX = mScrollX; 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()
DStackView.java788 float oldX = ev.getX(activePointerIndex);
793 mInitialX += (x - oldX);
/frameworks/base/core/java/android/text/method/
DTouch.java172 int oldX = widget.getScrollX(); in onTouchEvent() local
180 if (oldX != widget.getScrollX() || oldY != widget.getScrollY()) { in onTouchEvent()
/frameworks/base/libs/hwui/font/
DCacheTexture.cpp290 uint16_t oldX = cacheBlock->mX; in fitBitmap() local
297 CacheBlock* newBlock = new CacheBlock(oldX, glyphH + TEXTURE_BORDER_SIZE, in fitBitmap()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java342 final float oldX = event.getX();
357 event.setLocation(oldX, oldY);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java1098 int oldX = mScrollX; in computeScroll() local
1103 if (oldX != x || oldY != y) { in computeScroll()
1112 overScrollBy(x - oldX, y - oldY, oldX, oldY, 0, range, in computeScroll()
1114 onScrollChanged(mScrollX, mOwnScrollY, oldX, oldY); in computeScroll()
1261 final int oldX = mScrollX; in onOverScrolled() local
1268 onScrollChanged(mScrollX, mOwnScrollY, oldX, oldY); in onOverScrolled()
/frameworks/support/v4/java/android/support/v4/widget/
DNestedScrollView.java1341 int oldX = getScrollX(); in computeScroll() local
1346 if (oldX != x || oldY != y) { in computeScroll()
1352 overScrollByCompat(x - oldX, y - oldY, oldX, oldY, 0, range, in computeScroll()
DViewDragHelper.java514 final int oldX = mScroller.getCurrX(); in abort() local
519 mCallback.onViewPositionChanged(mCapturedView, newX, newY, newX - oldX, newY - oldY); in abort()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java1646 int oldX = getScrollX();
1651 if (oldX != x || oldY != y) {
1826 int oldX = getScrollX();
1830 if (oldX != x || oldY != y) {
1832 if (x != oldX) {
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java1628 final int oldX = getScrollX();
1633 if (oldX != x || oldY != y) {
1771 int oldX = getScrollX();
1775 if (oldX != x || oldY != y) {
/frameworks/base/core/java/android/view/
DMotionEvent.java2811 float oldX = getX(); in setLocation() local
2813 offsetLocation(x - oldX, y - oldY); in setLocation()
DView.java12410 int oldX = mScrollX;
12415 onScrollChanged(mScrollX, mScrollY, oldX, oldY);
/frameworks/base/libs/hwui/
DOpenGLRenderer.cpp2219 const float oldX = x;
2239 alpha, oldX, oldY);
2288 drawTextDecorations(totalAdvance, oldX, oldY, paint);