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.java87 final int touchY = getTouchY(y); in detectHitKey() local
91 for (final Key key: mKeyboard.getNearestKeys(touchX, touchY)) { in detectHitKey()
92 final boolean isOnKey = key.isOnKey(touchX, touchY); in detectHitKey()
93 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/Phone/src/com/android/phone/
DSmallerHitTargetTouchListener.java85 int touchY = (int) event.getY(); in onTouch() local
92 int touchYPercent = (int) ((float) (touchY * 100) / (float) viewHeight); in onTouch()
/packages/apps/Launcher2/src/com/android/launcher2/
DDragView.java244 public void show(int touchX, int touchY) { in show() argument
257 setTranslationY(touchY - mRegistrationY); in show()
278 void move(int touchX, int touchY) { in move() argument
280 setTranslationY(touchY - mRegistrationY + (int) mOffsetY); in move()
DCellLayout.java656 public void setTagToCellInfoForPoint(int touchX, int touchY) { in setTagToCellInfoForPoint() argument
660 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/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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DLatinIME.java982 int touchY = extraHeight; in onComputeInsets() local
987 touchY -= suggestionsHeight; in onComputeInsets()
994 outInsets.touchableRegion.set(0, touchY, touchWidth, touchHeight); in onComputeInsets()
996 outInsets.contentTopInsets = touchY; in onComputeInsets()
997 outInsets.visibleTopInsets = touchY; in onComputeInsets()