Searched defs:touchX (Results 1 - 5 of 5) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
H A DDragView.java245 * @param touchX the x coordinate the user touched in DragLayer coordinates
248 public void show(int touchX, int touchY) { argument
257 setTranslationX(touchX - mRegistrationX);
281 * @param touchX the x coordinate the user touched in DragLayer coordinates
284 void move(int touchX, int touchY) { argument
285 setTranslationX(touchX - mRegistrationX + (int) mOffsetX);
H A DCellLayout.java711 public void setTagToCellInfoForPoint(int touchX, int touchY) { argument
714 final int x = touchX + getScrollX();
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
H A Dproximity_info.cpp133 const float touchX = static_cast<float>(x); local
135 return ProximityInfoUtils::getSquaredDistanceFloat(centerX, centerY, touchX, touchY)
/packages/apps/Launcher3/src/com/android/launcher3/
H A DDeviceProfile.java771 public boolean shouldIgnoreLongPressToOverview(float touchX) { argument
772 boolean touchedLhsEdge = mInsets.left == 0 && touchX < edgeMarginPx;
773 boolean touchedRhsEdge = mInsets.right == 0 && touchX > (widthPx - edgeMarginPx);
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
H A DDragView.java538 * @param touchX the x coordinate the user touched in DragLayer coordinates
541 public void show(int touchX, int touchY) { argument
550 move(touchX, touchY);
569 * @param touchX the x coordinate the user touched in DragLayer coordinates
572 public void move(int touchX, int touchY) { argument
573 if (touchX > 0 && touchY > 0 && mLastTouchX > 0 && mLastTouchY > 0
575 mTranslateX.animateToPos(mLastTouchX - touchX);
578 mLastTouchX = touchX;

Completed in 672 milliseconds