Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyDetector.java92 final int touchX = getTouchX(x); in detectHitKey() local
97 for (final Key key: mKeyboard.getNearestKeys(touchX, touchY)) { in detectHitKey()
100 if (!key.isOnKey(touchX, touchY)) { in detectHitKey()
103 final int distance = key.squaredDistanceToEdge(touchX, touchY); in detectHitKey()
DMoreKeysDetector.java41 final int touchX = getTouchX(x); in detectHitKey() local
47 final int dist = key.squaredDistanceToEdge(touchX, touchY); in detectHitKey()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragView.java401 public void show(int touchX, int touchY) { in show() argument
421 move(touchX, touchY); in show()
448 public void move(int touchX, int touchY) { in move() argument
449 if (touchX > 0 && touchY > 0 && mLastTouchX > 0 && mLastTouchY > 0 in move()
451 mTranslateX.animateToPos(mLastTouchX - touchX); in move()
454 mLastTouchX = touchX; in move()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info.cpp133 const float touchX = static_cast<float>(x); in getNormalizedSquaredDistanceFromCenterFloatG() local
135 return ProximityInfoUtils::getSquaredDistanceFloat(centerX, centerY, touchX, touchY) in getNormalizedSquaredDistanceFromCenterFloatG()
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java1257 int touchX = (int) me.getX() - getPaddingLeft(); in onModifiedTouchEvent() local
1263 int keyIndex = getKeyIndices(touchX, touchY, null); in onModifiedTouchEvent()
1291 mStartX = touchX; in onModifiedTouchEvent()
1293 mLastCodeX = touchX; in onModifiedTouchEvent()
1373 touchX = mLastCodeX; in onModifiedTouchEvent()
1380 detectAndSendKey(mCurrentKey, touchX, touchY, eventTime); in onModifiedTouchEvent()
1393 mLastX = touchX; in onModifiedTouchEvent()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarDragController.java370 int touchX = mRegistrationX + offsetX; in startSystemDrag()
372 if (touchX >= 0 && touchY >= 0) { in startSystemDrag()
373 shadowTouchPoint.set(touchX, touchY); in startSystemDrag()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java2605 float touchX;
2619 touchX = (((pageIndex < nextPage) && !mIsRtl) || (pageIndex > nextPage && mIsRtl))
2621 CellLayout layout = verifyInsidePage(pageIndex, touchX, touchY);