Home
last modified time | relevance | path

Searched refs:touchY (Results 1 – 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyDetector.java93 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()
DMoreKeysDetector.java42 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/
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()
426 mTranslateY.animateToPos(mLastTouchY - touchY); in move()
429 mLastTouchY = touchY; in move()
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java1258 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/
Dproximity_info.cpp134 const float touchY = static_cast<float>(y); in getNormalizedSquaredDistanceFromCenterFloatG() local
135 return ProximityInfoUtils::getSquaredDistanceFloat(centerX, centerY, touchX, touchY) in getNormalizedSquaredDistanceFromCenterFloatG()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DEdgeBackGesturePanel.java611 private void updatePosition(float touchY) { in updatePosition() argument
612 float positionY = touchY - mFingerOffset; in updatePosition()