Searched refs:touchY (Results 1 – 5 of 5) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyDetector.java | 93 final int touchY = getTouchY(y); 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()
|
D | MoreKeysDetector.java | 42 final int touchY = getTouchY(y); in detectHitKey() local 47 final int dist = key.squaredDistanceToEdge(touchX, touchY); in detectHitKey()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragView.java | 485 public void show(int touchX, int touchY) { in show() argument 494 move(touchX, touchY); in show() 516 public void move(int touchX, int touchY) { in move() argument 517 if (touchX > 0 && touchY > 0 && mLastTouchX > 0 && mLastTouchY > 0 in move() 520 mTranslateY.animateToPos(mLastTouchY - touchY); in move() 523 mLastTouchY = touchY; in move()
|
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/ |
D | KeyboardView.java | 1258 int touchY = (int) me.getY() - getPaddingTop(); in onModifiedTouchEvent() local 1259 if (touchY >= -mVerticalCorrection) in onModifiedTouchEvent() 1260 touchY += mVerticalCorrection; in onModifiedTouchEvent() 1263 int keyIndex = getKeyIndices(touchX, touchY, null); in onModifiedTouchEvent() 1292 mStartY = touchY; in onModifiedTouchEvent() 1294 mLastCodeY = touchY; in onModifiedTouchEvent() 1374 touchY = mLastCodeY; in onModifiedTouchEvent() 1380 detectAndSendKey(mCurrentKey, touchX, touchY, eventTime); in onModifiedTouchEvent() 1394 mLastY = touchY; in onModifiedTouchEvent()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
D | proximity_info.cpp | 134 const float touchY = static_cast<float>(y); in getNormalizedSquaredDistanceFromCenterFloatG() local 135 return ProximityInfoUtils::getSquaredDistanceFloat(centerX, centerY, touchX, touchY) in getNormalizedSquaredDistanceFromCenterFloatG()
|