Searched refs:touchY (Results 1 - 8 of 8) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DKeyDetector.java93 final int touchY = getTouchY(y);
97 for (final Key key: mKeyboard.getNearestKeys(touchX, touchY)) {
100 if (!key.isOnKey(touchX, touchY)) {
103 final int distance = key.squaredDistanceToEdge(touchX, touchY);
H A DMoreKeysDetector.java42 final int touchY = getTouchY(y);
47 final int dist = key.squaredDistanceToEdge(touchX, touchY);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DDragView.java246 * @param touchY the y coordinate the user touched in DragLayer coordinates
248 public void show(int touchX, int touchY) { argument
258 setTranslationY(touchY - mRegistrationY);
282 * @param touchY the y coordinate the user touched in DragLayer coordinates
284 void move(int touchX, int touchY) { argument
286 setTranslationY(touchY - mRegistrationY + (int) mOffsetY);
H A DCellLayout.java711 public void setTagToCellInfoForPoint(int touchX, int touchY) { argument
715 final int y = touchY + getScrollY();
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
H A DDragView.java320 * @param touchY the y coordinate the user touched in DragLayer coordinates
322 public void show(int touchX, int touchY) { argument
331 move(touchX, touchY);
351 * @param touchY the y coordinate the user touched in DragLayer coordinates
353 public void move(int touchX, int touchY) { argument
355 mLastTouchY = touchY;
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
H A Dproximity_info.cpp134 const float touchY = static_cast<float>(y); local
135 return ProximityInfoUtils::getSquaredDistanceFloat(centerX, centerY, touchX, touchY)
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DSwipeableListView.java187 final int touchY = (int) ev.getY();
195 if (touchY >= slidingChild.getTop() && touchY <= slidingChild.getBottom()) {
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DKeyboardView.java1182 int touchY = (int) me.getY() + mVerticalCorrection - mPaddingTop;
1186 int keyIndex = getKeyIndices(touchX, touchY, null);
1212 mStartY = touchY;
1214 mLastCodeY = touchY;
1290 touchY = mLastCodeY;
1295 detectAndSendKey(mCurrentKey, touchX, touchY, eventTime);
1309 mLastY = touchY;

Completed in 211 milliseconds