Home
last modified time | relevance | path

Searched refs:touchX (Results 1 – 5 of 5) 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.java392 public void show(int touchX, int touchY) { in show() argument
405 move(touchX, touchY); in show()
422 public void move(int touchX, int touchY) { in move() argument
423 if (touchX > 0 && touchY > 0 && mLastTouchX > 0 && mLastTouchY > 0 in move()
425 mTranslateX.animateToPos(mLastTouchX - touchX); in move()
428 mLastTouchX = touchX; in move()
/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/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()