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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DMoreKeysDetector.java37 final int touchX = getTouchX(x);
43 final int dist = key.squaredDistanceToEdge(touchX, touchY);
H A DKeyDetector.java96 final int touchX = getTouchX(x);
101 for (final Key key: mKeyboard.getNearestKeys(touchX, touchY)) {
104 if (!key.isOnKey(touchX, touchY)) {
107 final int distance = key.squaredDistanceToEdge(touchX, touchY);
/packages/apps/InCallUI/src/com/android/incallui/
H A DSmallerHitTargetTouchListener.java63 final int touchX = (int) event.getX();
92 if (touchX < minTouchX || touchX > maxTouchX ||
/packages/services/Telephony/src/com/android/phone/
H A DSmallerHitTargetTouchListener.java64 final int touchX = (int) event.getX();
93 if (touchX < minTouchX || touchX > maxTouchX ||
/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/
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.java697 public void setTagToCellInfoForPoint(int touchX, int touchY) { argument
700 final int x = touchX + getScrollX();
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
H A Dproximity_info.cpp140 const float touchX = static_cast<float>(x); local
142 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/UnifiedEmail/src/com/android/mail/browse/
H A DConversationItemView.java2140 public ShadowBuilder(View view, int count, int touchX, int touchY) { argument
2145 mTouchX = touchX;

Completed in 1299 milliseconds