Searched refs:dragMode (Results 1 – 2 of 2) sorted by relevance
95 public boolean processTouchEvent(MotionEvent ev, int dragMode) { in processTouchEvent() argument96 return processTouchEvent(ev, dragMode, null); in processTouchEvent()104 public boolean processTouchEvent(MotionEvent ev, int dragMode, @Nullable Float xThreshold) { in processTouchEvent() argument122 if ((dragMode == CAPTURE_LEFT_TO_RIGHT && evX <= mInitialInterceptedX) || in processTouchEvent()123 (dragMode == CAPTURE_RIGHT_TO_LEFT && evX >= mInitialInterceptedX)) { in processTouchEvent()130 if (dragMode == CAPTURE_LEFT_TO_RIGHT) { in processTouchEvent()
2054 void setDragMode(int dragMode) {2055 if (dragMode != mDragMode) {2056 if (dragMode == DRAG_MODE_NONE) {2062 } else if (dragMode == DRAG_MODE_ADD_TO_FOLDER) {2065 } else if (dragMode == DRAG_MODE_CREATE_FOLDER) {2068 } else if (dragMode == DRAG_MODE_REORDER) {2072 mDragMode = dragMode;