Home
last modified time | relevance | path

Searched refs:touchY (Results 1 – 8 of 8) 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/Launcher2/src/com/android/launcher2/
DDragView.java248 public void show(int touchX, int touchY) { in show() argument
258 setTranslationY(touchY - mRegistrationY); in show()
284 void move(int touchX, int touchY) { in move() argument
286 setTranslationY(touchY - mRegistrationY + (int) mOffsetY); in move()
DCellLayout.java711 public void setTagToCellInfoForPoint(int touchX, int touchY) { in setTagToCellInfoForPoint() argument
715 final int y = touchY + getScrollY(); in setTagToCellInfoForPoint()
/packages/apps/Launcher3/src/com/android/launcher3/
DDragView.java311 public void show(int touchX, int touchY) { in show() argument
321 setTranslationY(touchY - mRegistrationY); in show()
347 void move(int touchX, int touchY) { in move() argument
349 setTranslationY(touchY - mRegistrationY + (int) mOffsetY); in move()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DSwipeableListView.java187 final int touchY = (int) ev.getY(); in getChildAtPosition() local
195 if (touchY >= slidingChild.getTop() && touchY <= slidingChild.getBottom()) { in getChildAtPosition()
/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/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
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;