Home
last modified time | relevance | path

Searched refs:touchY (Results 1 – 10 of 10) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyDetector.java97 final int touchY = getTouchY(y); in detectHitKey() local
101 for (final Key key: mKeyboard.getNearestKeys(touchX, touchY)) { in detectHitKey()
104 if (!key.isOnKey(touchX, touchY)) { in detectHitKey()
107 final int distance = key.squaredDistanceToEdge(touchX, touchY); in detectHitKey()
DMoreKeysDetector.java38 final int touchY = getTouchY(y); in detectHitKey() local
43 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/wallpapers/NoiseField/src/com/android/noisefield/
Dnoisefield.rs67 static float touchY = 0;
188 touchY = -(y/rsgGetHeight() * hRatio * 2 - hRatio);
225 pow(touchY - particle->position.y, 2));
233 touchY - particle->position.y + noiseval);
/packages/apps/Phone/src/com/android/phone/
DSmallerHitTargetTouchListener.java65 final int touchY = (int) event.getY(); in onTouch() local
94 touchY < minTouchY || touchY > maxTouchY) { in onTouch()
/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;
/packages/apps/DeskClock/src/com/android/deskclock/widget/swipeablelistview/
DSwipeableListView.java122 int touchY = (int) ev.getY(); in getChildAtPosition() local
130 if (touchY >= slidingChild.getTop() && touchY <= slidingChild.getBottom()) { in getChildAtPosition()
/packages/inputmethods/LatinIME/native/jni/src/
Dproximity_info.cpp150 const float touchY = static_cast<float>(y); in getNormalizedSquaredDistanceFromCenterFloatG() local
152 return ProximityInfoUtils::getSquaredDistanceFloat(centerX, centerY, touchX, touchY) in getNormalizedSquaredDistanceFromCenterFloatG()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DLatinIME.java1119 final int touchY = mainKeyboardView.isShowingMoreKeysPanel() ? 0 : visibleTopY; in onComputeInsets() local
1125 outInsets.touchableRegion.set(0, touchY, touchWidth, touchHeight); in onComputeInsets()