HomeSort by relevance Sort by last modified time
    Searched refs:evX (Results 1 - 2 of 2) sorted by null

  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
GmailDragHelper.java 120 final float evX = ev.getX();
122 if ((dragMode == CAPTURE_LEFT_TO_RIGHT && evX <= mInitialInterceptedX) ||
123 (dragMode == CAPTURE_RIGHT_TO_LEFT && evX >= mInitialInterceptedX)) {
131 passedThreshold = evX > xThreshold;
133 passedThreshold = evX < xThreshold;
138 final float deltaX = Math.abs(evX - mInitialInterceptedX);
142 setDragging(true, evX);
159 private void setDragging(boolean dragging, float evX) {
163 mStartDragX = evX;
166 // Here velocity is in pixel/second, let's take that into account for evX
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
RecentsViewTouchHandler.java 212 float evX = ev.getX();
214 float x = evX - mTaskViewOffset.x;
219 mIsDragging = Math.hypot(evX - mDownPos.x, evY - mDownPos.y) > mDragSlop;
229 if (mLastDropTarget.acceptsDrop((int) evX, (int) evY, width, height,
238 if (target.acceptsDrop((int) evX, (int) evY, width, height,

Completed in 84 milliseconds