Home
last modified time | relevance | path

Searched refs:dragMode (Results 1 – 3 of 3) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DGmailDragHelper.java95 public boolean processTouchEvent(MotionEvent ev, int dragMode) { in processTouchEvent() argument
96 return processTouchEvent(ev, dragMode, null); in processTouchEvent()
104 public boolean processTouchEvent(MotionEvent ev, int dragMode, @Nullable Float xThreshold) { in processTouchEvent() argument
122 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()
/packages/apps/Launcher2/src/com/android/launcher2/
DWorkspace.java2511 void setDragMode(int dragMode) {
2512 if (dragMode != mDragMode) {
2513 if (dragMode == DRAG_MODE_NONE) {
2519 } else if (dragMode == DRAG_MODE_ADD_TO_FOLDER) {
2522 } else if (dragMode == DRAG_MODE_CREATE_FOLDER) {
2525 } else if (dragMode == DRAG_MODE_REORDER) {
2529 mDragMode = dragMode;
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java3089 void setDragMode(int dragMode) {
3090 if (dragMode != mDragMode) {
3091 if (dragMode == DRAG_MODE_NONE) {
3097 } else if (dragMode == DRAG_MODE_ADD_TO_FOLDER) {
3100 } else if (dragMode == DRAG_MODE_CREATE_FOLDER) {
3103 } else if (dragMode == DRAG_MODE_REORDER) {
3107 mDragMode = dragMode;