Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/webkit/
DOverScrollGlow.java61 public void pullGlow(int x, int y, int oldX, int oldY, int maxX, int maxY) { in pullGlow() argument
64 if (oldX == mHostView.getScrollX() && oldY == mHostView.getScrollY()) { in pullGlow()
84 final int pulledToY = oldY + mOverScrollDeltaY; in pullGlow()
122 public void absorbGlow(int x, int y, int oldX, int oldY, int rangeX, int rangeY) { in absorbGlow() argument
124 if (y < 0 && oldY >= 0) { in absorbGlow()
129 } else if (y > rangeY && oldY <= rangeY) { in absorbGlow()
DWebViewClassic.java3324 int oldY = getScrollY(); in onOverScrolled() local
3329 mOverScrollGlow.pullGlow(getScrollX(), getScrollY(), oldX, oldY, maxX, maxY); in onOverScrolled() local
3755 int oldY = getScrollY(); in computeScroll() local
3768 oldY = mScrollingLayerRect.top; in computeScroll()
3775 oldY = getTextScrollY(); in computeScroll()
3781 mWebViewPrivate.overScrollBy(x - oldX, y - oldY, oldX, oldY, in computeScroll()
3786 mOverScrollGlow.absorbGlow(x, y, oldX, oldY, rangeX, rangeY); in computeScroll()
3806 if (oldX != getScrollX() || oldY != getScrollY()) { in computeScroll()
5130 int oldY = mSelectDraggingCursor.y; in adjustSelectionCursors() local
5151 mSelectDraggingCursor.set(oldX, oldY); in adjustSelectionCursors()
[all …]
DZoomManager.java583 int oldY = mWebView.getScrollY();
586 float sy = ratio * oldY + (ratio - 1)
/frameworks/base/core/java/android/widget/
DScrollView.java607 final int oldY = mScrollY; in onTouchEvent() local
618 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in onTouchEvent()
621 final int pulledToY = oldY + deltaY; in onTouchEvent()
1219 int oldY = mScrollY; in computeScroll() local
1223 if (oldX != x || oldY != y) { in computeScroll()
1229 overScrollBy(x - oldX, y - oldY, oldX, oldY, 0, range, in computeScroll()
1231 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in computeScroll()
1234 if (y < 0 && oldY >= 0) { in computeScroll()
1236 } else if (y > range && oldY <= range) { in computeScroll()
DHorizontalScrollView.java579 final int oldY = mScrollY; in onTouchEvent() local
590 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in onTouchEvent()
1239 int oldY = mScrollY; in computeScroll() local
1243 if (oldX != x || oldY != y) { in computeScroll()
1249 overScrollBy(x - oldX, y - oldY, oldX, oldY, range, 0, in computeScroll()
1251 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in computeScroll()
DStackView.java783 float oldY = ev.getY(activePointerIndex);
786 mInitialY += (y - oldY);
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java693 float oldY = mInProgressY; in handleActionMove()
742 if (startY < oldY) { in handleActionMove()
744 bottom = oldY; in handleActionMove()
746 top = oldY; in handleActionMove()
763 oldY = getCenterYForRow(hitCell.row); in handleActionMove()
773 if (startY < oldY) { in handleActionMove()
775 bottom = oldY; in handleActionMove()
777 top = oldY; in handleActionMove()
/frameworks/base/core/java/android/text/method/
DTouch.java160 int oldY = widget.getScrollY(); in onTouchEvent() local
165 if (oldX != widget.getScrollX() || oldY != widget.getScrollY()) { in onTouchEvent()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java1404 int oldY = getScrollY();
1408 if (oldX != x || oldY != y) {
1522 int oldY = getScrollY();
1525 if (oldX != x || oldY != y) {
/frameworks/base/core/java/android/view/
DMotionEvent.java2702 float oldY = getY(); in setLocation() local
2703 offsetLocation(x - oldX, y - oldY); in setLocation()
DView.java9917 int oldY = mScrollY;
9921 onScrollChanged(mScrollX, mScrollY, oldX, oldY);
/frameworks/base/libs/hwui/
DOpenGLRenderer.cpp2366 const float oldY = y; in drawText() local
2394 const float sy = oldY - shadow->top + mShadowDy; in drawText()
2464 drawTextDecorations(text, bytesCount, length, oldX, oldY, paint); in drawText()