Searched refs:touchX (Results 1 - 9 of 9) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DKeyDetector.java92 final int touchX = getTouchX(x);
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.java41 final int touchX = getTouchX(x);
47 final int dist = key.squaredDistanceToEdge(touchX, touchY);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DDragView.java245 * @param touchX the x coordinate the user touched in DragLayer coordinates
248 public void show(int touchX, int touchY) { argument
257 setTranslationX(touchX - mRegistrationX);
281 * @param touchX the x coordinate the user touched in DragLayer coordinates
284 void move(int touchX, int touchY) { argument
285 setTranslationX(touchX - mRegistrationX + (int) mOffsetX);
H A DCellLayout.java711 public void setTagToCellInfoForPoint(int touchX, int touchY) { argument
714 final int x = touchX + getScrollX();
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
H A DDragView.java538 * @param touchX the x coordinate the user touched in DragLayer coordinates
541 public void show(int touchX, int touchY) { argument
550 move(touchX, touchY);
569 * @param touchX the x coordinate the user touched in DragLayer coordinates
572 public void move(int touchX, int touchY) { argument
573 if (touchX > 0 && touchY > 0 && mLastTouchX > 0 && mLastTouchY > 0
575 mTranslateX.animateToPos(mLastTouchX - touchX);
578 mLastTouchX = touchX;
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
H A Dproximity_info.cpp133 const float touchX = static_cast<float>(x); local
135 return ProximityInfoUtils::getSquaredDistanceFloat(centerX, centerY, touchX, touchY)
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DKeyboardView.java1181 int touchX = (int) me.getX() - mPaddingLeft;
1186 int keyIndex = getKeyIndices(touchX, touchY, null);
1211 mStartX = touchX;
1213 mLastCodeX = touchX;
1289 touchX = mLastCodeX;
1295 detectAndSendKey(mCurrentKey, touchX, touchY, eventTime);
1308 mLastX = touchX;
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
H A DKeyboardView.java1254 int touchX = (int) me.getX() - getPaddingLeft();
1260 int keyIndex = getKeyIndices(touchX, touchY, null);
1288 mStartX = touchX;
1290 mLastCodeX = touchX;
1370 touchX = mLastCodeX;
1377 detectAndSendKey(mCurrentKey, touchX, touchY, eventTime);
1390 mLastX = touchX;
/packages/apps/Launcher3/src/com/android/launcher3/
H A DDeviceProfile.java771 public boolean shouldIgnoreLongPressToOverview(float touchX) { argument
772 boolean touchedLhsEdge = mInsets.left == 0 && touchX < edgeMarginPx;
773 boolean touchedRhsEdge = mInsets.right == 0 && touchX > (widthPx - edgeMarginPx);

Completed in 414 milliseconds