Home
last modified time | relevance | path

Searched refs:mDragController (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragDriver.java168 private final DragController mDragController; field in DragDriver.InternalDragDriver
172 mDragController = dragController; in InternalDragDriver()
182 mEventListener.onDriverDragMove(mDragController.getX(ev), in onTouchEvent()
183 mDragController.getY(ev)); in onTouchEvent()
186 mEventListener.onDriverDragMove(mDragController.getX(ev), in onTouchEvent()
187 mDragController.getY(ev)); in onTouchEvent()
188 mEventListener.onDriverDragEnd(mDragController.getX(ev), in onTouchEvent()
189 mDragController.getY(ev)); in onTouchEvent()
206 mEventListener.onDriverDragEnd(mDragController.getX(ev), in onInterceptTouchEvent()
207 mDragController.getY(ev)); in onInterceptTouchEvent()
DBaseItemDragListener.java63 private DragController mDragController; field in BaseItemDragListener
84 mDragController = launcher.getDragController(); in init()
90 if (mLauncher == null || mDragController == null) { in onDrag()
94 if (event.getAction() == DragEvent.ACTION_DRAG_STARTED || !mDragController.isDragging()) { in onDrag()
102 return mDragController.onDragEvent(event); in onDrag()
DDragLayer.java79 private DragController mDragController; field in DragLayer
116 mDragController = dragController; in setup()
133 return mDragController.dispatchKeyEvent(event) || super.dispatchKeyEvent(event); in dispatchKeyEvent()
405 mDragController.onDeferredEndDrag(mDropView); in clearAnimatedView()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/overlay/
DTaskbarOverlayContext.java47 private final TaskbarDragController mDragController; field in TaskbarOverlayContext
62 mDragController = new TaskbarDragController(this); in TaskbarOverlayContext()
63 mDragController.init(controllers); in TaskbarOverlayContext()
89 return mDragController.isSystemDragInProgress() in isAnySystemDragInProgress()
105 return mDragController; in getDragController()
130 return mDragController::startDragOnLongClick; in getAllAppsItemLongClickListener()
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DSecondaryDisplayLauncher.java74 private SecondaryDragController mDragController; field in SecondaryDisplayLauncher
92 mDragController = new SecondaryDragController(this); in onCreate()
131 mDragController.addDragListener(this); in initUi()
141 mDragController.cancelDrag(); in onPause()
162 return mDragController; in getDragController()
171 if (mDragController.isDragging()) { in onBackPressed()
172 mDragController.cancelDrag(); in onBackPressed()
268 mDragController.cancelDrag(); in startBinding()
424 mDragController.startDrag( in beginDragShared()
436 mDragController.startDrag( in beginDragShared()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolder.java202 protected DragController mDragController; field in Folder
337 mDragController.addDragListener(this); in startDrag()
339 mDragController.addDragListener(new AccessibleDragListenerAdapter( in startDrag()
381 mDragController.removeDragListener(this); in onDragEnd()
462 mDragController = dragController; in setDragController()
640 mDragController.addDragListener(this); in beginExternalDrag()
687 mDragController.addDropTarget(this); in animateOpen()
770 if (mDragController.isDragging()) { in animateOpen()
771 mDragController.forceTouchMove(); in animateOpen()
873 mDragController.removeDropTarget(this); in closeComplete()
DLauncherDelegate.java107 folder.mDragController.removeDropTarget((DropTarget) folder.mFolderIcon); in replaceFolderWithFinalItem()
122 ((Optional<InstanceId>) folder.mDragController.getLogInstanceId()) in replaceFolderWithFinalItem()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java393 protected DragController mDragController; field in Launcher
650 if (mDragController.isDragging()) { in getOnBackAnimationCallback()
651 return mDragController::cancelDrag; in getOnBackAnimationCallback()
750 mDragController = new LauncherDragController(this);
1313 mDragController.cancelDrag();
1377 mDragLayer.setup(mDragController, mWorkspace);
1379 mWorkspace.setup(mDragController);
1386 mDragController.addDragListener(mWorkspace);
1399 mDropTargetBar.setup(mDragController);
1822 return mDragController;
[all …]
DWorkspace.java221 DragController mDragController; field in Workspace
944 mDragController.addDropTarget(target); in onAddDropTarget()
1226 if (mDragController.isDragging()) { in onPageEndTransition()
1230 mDragController.forceTouchMove(); in onPageEndTransition()
1403 if (!workspaceInModalState() && !mIsSwitchingState && !mDragController.isDragging()) { in updatePageAlphaValues()
1640 mDragController.addDragListener( in startDrag()
1746 dv = mDragController.startDrag( in beginDragShared()
1758 dv = mDragController.startDrag( in beginDragShared()
3086 mDragController = dragController;
3138 mDragController.removeDropTarget((DropTarget) v);
[all …]