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

/packages/apps/Launcher3/src/com/android/launcher3/views/
H A DRecyclerViewFastScroller.java257 private void calcTouchOffsetAndPrepToFastScroll(int downY, int lastY) { argument
263 mTouchOffsetY += (lastY - downY);
268 private void updateFastScrollSectionNameAndThumbOffset(int lastY, int y) { argument
278 updatePopupY(lastY);
/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/
H A DSwipeButtonHelper.java239 private void endMotion(boolean forceSnapBack, float lastX, float lastY) { argument
241 flingWithCurrentVelocity(forceSnapBack, lastX, lastY);
357 private void flingWithCurrentVelocity(boolean forceSnapBack, float lastX, float lastY) { argument
358 float vel = getCurrentVelocity(lastX, lastY);
549 private float getCurrentVelocity(float lastX, float lastY) { argument
557 float bY = lastY - initialTouchY;
/packages/apps/Music/src/com/android/music/
H A DMediaPlaybackActivity.java662 private int lastY; field in class:MediaPlaybackActivity
671 if (x == lastX && y == lastY)
673 else if (y == 0 && lastY == 0 && x > lastX)
675 else if (y == 0 && lastY == 0 && x < lastX)
678 else if (y == 2 && lastY == 2 && x > lastX)
680 else if (y == 2 && lastY == 2 && x < lastX)
683 else if (y < lastY && x <= 4)
685 else if (y < lastY && x >= 5)
688 else if (y > lastY && x <= 4)
690 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 277 milliseconds