Home
last modified time | relevance | path

Searched refs:lastY (Results 1 – 7 of 7) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DPointerTracker.java793 final long eventTime, final Key oldKey, final int lastX, final int lastY) { in processPhantomSuddenMoveHack() argument
798 getDistance(x, y, lastX, lastY), in processPhantomSuddenMoveHack()
799 lastX, lastY, Constants.printableCode(oldKey.getCode()), in processPhantomSuddenMoveHack()
807 final long eventTime, final Key oldKey, final int lastX, final int lastY) { in processProximateBogusDownMoveUpEventHack() argument
818 lastX, lastY, Constants.printableCode(oldKey.getCode()), in processProximateBogusDownMoveUpEventHack()
833 final long eventTime, final Key oldKey, final int lastX, final int lastY) { in dragFingerFromOldKeyToNewKey() argument
847 && getDistance(x, y, lastX, lastY) >= mPhantomSuddenMoveThreshold) { in dragFingerFromOldKeyToNewKey()
848 processPhantomSuddenMoveHack(key, x, y, eventTime, oldKey, lastX, lastY); in dragFingerFromOldKeyToNewKey()
855 processProximateBogusDownMoveUpEventHack(key, x, y, eventTime, oldKey, lastX, lastY); in dragFingerFromOldKeyToNewKey()
893 final int lastY = mLastY; in onMoveEventInternal() local
[all …]
/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/
DSwipeButtonHelper.java239 private void endMotion(boolean forceSnapBack, float lastX, float lastY) { in endMotion() argument
241 flingWithCurrentVelocity(forceSnapBack, lastX, lastY); in endMotion()
357 private void flingWithCurrentVelocity(boolean forceSnapBack, float lastX, float lastY) { in flingWithCurrentVelocity() argument
358 float vel = getCurrentVelocity(lastX, lastY); in flingWithCurrentVelocity()
549 private float getCurrentVelocity(float lastX, float lastY) { in getCurrentVelocity() argument
557 float bY = lastY - initialTouchY; in getCurrentVelocity()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DActualKeyboardBuilder.java62 int lastY = filteredSortedKeys.get(0).getY(); in buildKeyboard() local
64 if (lastY != key.getY()) { in buildKeyboard()
66 lastY = key.getY(); in buildKeyboard()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStrokeRecognitionPoints.java236 final int lastY = mYCoordinates.get(lastIndex); in detectFastMove() local
237 final int dist = getDistance(lastX, lastY, x, y); in detectFastMove()
240 final int pixels = getDistance(lastX, lastY, x, y); in detectFastMove()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DRecyclerViewFastScroller.java274 private void calcTouchOffsetAndPrepToFastScroll(int downY, int lastY) { in calcTouchOffsetAndPrepToFastScroll() argument
279 mTouchOffsetY += (lastY - downY); in calcTouchOffsetAndPrepToFastScroll()
284 private void updateFastScrollSectionNameAndThumbOffset(int lastY, int y) { in updateFastScrollSectionNameAndThumbOffset() argument
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DUsageGraph.java207 int lastY = localPaths.valueAt(localPaths.size() - 1); in calculateLocalPaths() local
208 if (lastY != PATH_DELIM && !hasDiff(lastX, lx) && !hasDiff(lastY, ly)) { in calculateLocalPaths()
/packages/apps/Settings/src/com/android/settings/widget/
DUsageGraph.java207 int lastY = localPaths.valueAt(localPaths.size() - 1); in calculateLocalPaths() local
208 if (lastY != PATH_DELIM && !hasDiff(lastX, lx) && !hasDiff(lastY, ly)) { in calculateLocalPaths()