Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyDetector.java92 final int touchX = getTouchX(x); 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.java41 final int touchX = getTouchX(x); in detectHitKey() local
47 final int dist = key.squaredDistanceToEdge(touchX, touchY); in detectHitKey()
/packages/apps/Launcher3/src/com/android/launcher3/
DDragView.java257 public void show(int touchX, int touchY) { in show() argument
266 setTranslationX(touchX - mRegistrationX); in show()
293 void move(int touchX, int touchY) { in move() argument
294 setTranslationX(touchX - mRegistrationX + (int) mOffsetX); in move()
/packages/apps/Launcher2/src/com/android/launcher2/
DDragView.java248 public void show(int touchX, int touchY) { in show() argument
257 setTranslationX(touchX - mRegistrationX); in show()
284 void move(int touchX, int touchY) { in move() argument
285 setTranslationX(touchX - mRegistrationX + (int) mOffsetX); in move()
DCellLayout.java711 public void setTagToCellInfoForPoint(int touchX, int touchY) { in setTagToCellInfoForPoint() argument
714 final int x = touchX + getScrollX(); in setTagToCellInfoForPoint()
/packages/apps/InCallUI/src/com/android/incallui/
DSmallerHitTargetTouchListener.java63 final int touchX = (int) event.getX(); in onTouch() local
92 if (touchX < minTouchX || touchX > maxTouchX || in onTouch()
/packages/wallpapers/NoiseField/src/com/android/noisefield/
Dnoisefield.rs66 static float touchX = 0;
187 touchX = x/rsgGetWidth() * wRatio * 2 - wRatio;
224 float touchDist = sqrt(pow(touchX - particle->position.x, 2) +
232 rads = atan2(touchX - particle->position.x + noiseval,
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
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/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info.cpp140 const float touchX = static_cast<float>(x); in getNormalizedSquaredDistanceFromCenterFloatG() local
142 return ProximityInfoUtils::getSquaredDistanceFloat(centerX, centerY, touchX, touchY) in getNormalizedSquaredDistanceFromCenterFloatG()