Searched refs:touchY (Results 1 – 10 of 10) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyDetector.java | 97 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()
|
D | MoreKeysDetector.java | 38 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/ |
D | DragView.java | 248 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()
|
D | CellLayout.java | 711 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/ |
D | noisefield.rs | 67 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/ |
D | SmallerHitTargetTouchListener.java | 65 final int touchY = (int) event.getY(); in onTouch() local 94 touchY < minTouchY || touchY > maxTouchY) { in onTouch()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | KeyboardView.java | 1182 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/ |
D | SwipeableListView.java | 122 int touchY = (int) ev.getY(); in getChildAtPosition() local 130 if (touchY >= slidingChild.getTop() && touchY <= slidingChild.getBottom()) { in getChildAtPosition()
|
/packages/inputmethods/LatinIME/native/jni/src/ |
D | proximity_info.cpp | 150 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/ |
D | LatinIME.java | 1119 final int touchY = mainKeyboardView.isShowingMoreKeysPanel() ? 0 : visibleTopY; in onComputeInsets() local 1125 outInsets.touchableRegion.set(0, touchY, touchWidth, touchHeight); in onComputeInsets()
|