Searched defs:lastY (Results 1 - 3 of 3) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
H A DBaseRecyclerViewFastScrollBar.java171 public void handleTouchEvent(MotionEvent ev, int downX, int downY, int lastY) { argument
187 isNearThumb(downX, lastY) &&
194 mTouchOffset += (lastY - downY);
207 mRv.invalidate(mPopup.updateFastScrollerBounds(lastY));
/packages/apps/Music/src/com/android/music/
H A DMediaPlaybackActivity.java697 private int lastY; field in class:MediaPlaybackActivity
707 if(x == lastX && y == lastY) dir = 0;
708 else if (y == 0 && lastY == 0 && x > lastX) dir = 1;
709 else if (y == 0 && lastY == 0 && x < lastX) dir = -1;
711 else if (y == 2 && lastY == 2 && x > lastX) dir = -1;
712 else if (y == 2 && lastY == 2 && x < lastX) dir = 1;
714 else if (y < lastY && x <= 4) dir = 1;
715 else if (y < lastY && x >= 5) dir = -1;
717 else if (y > lastY && x <= 4) dir = -1;
718 else if (y > lastY
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DPointerTracker.java793 final long eventTime, final Key oldKey, final int lastX, final int lastY) {
798 getDistance(x, y, lastX, lastY),
799 lastX, lastY, Constants.printableCode(oldKey.getCode()),
807 final long eventTime, final Key oldKey, final int lastX, final int lastY) {
818 lastX, lastY, Constants.printableCode(oldKey.getCode()),
833 final long eventTime, final Key oldKey, final int lastX, final int lastY) {
847 && getDistance(x, y, lastX, lastY) >= mPhantomSuddenMoveThreshold) {
848 processPhantomSuddenMoveHack(key, x, y, eventTime, oldKey, lastX, lastY);
855 processProximateBogusDownMoveUpEventHack(key, x, y, eventTime, oldKey, lastX, lastY);
893 final int lastY
792 processPhantomSuddenMoveHack(final Key key, final int x, final int y, final long eventTime, final Key oldKey, final int lastX, final int lastY) argument
806 processProximateBogusDownMoveUpEventHack(final Key key, final int x, final int y, final long eventTime, final Key oldKey, final int lastX, final int lastY) argument
832 dragFingerFromOldKeyToNewKey(final Key key, final int x, final int y, final long eventTime, final Key oldKey, final int lastX, final int lastY) argument
[all...]

Completed in 198 milliseconds