Home
last modified time | relevance | path

Searched refs:DropTarget (Results 1 – 25 of 34) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragController.java33 import com.android.launcher3.DropTarget;
73 private DropTarget.DragObject mDragObject;
76 private ArrayList<DropTarget> mDropTargets = new ArrayList<>();
84 private DropTarget mLastDropTarget;
105 void onDragStart(DropTarget.DragObject dragObject, DragOptions options); in onDragStart()
158 mDragObject = new DropTarget.DragObject(); in startDrag()
372 DropTarget dropTarget; in onDriverDragEnd()
453 DropTarget dropTarget = findDropTarget(x, y, coordinates); in handleMoveEvent()
475 DropTarget dropTarget = findDropTarget(mLastTouch[0], mLastTouch[1], dummyCoordinates); in forceTouchMove()
481 private void checkTouchMove(DropTarget dropTarget) { in checkTouchMove()
[all …]
DDragOptions.java23 import com.android.launcher3.DropTarget;
57 void onPreDragStart(DropTarget.DragObject dragObject); in onPreDragStart()
65 void onPreDragEnd(DropTarget.DragObject dragObject, boolean dragStarted); in onPreDragEnd()
DPinItemDragListener.java37 import com.android.launcher3.DropTarget;
197 public void onPreDragStart(DropTarget.DragObject dragObject) { in onPreDragStart()
208 public void onPreDragEnd(DropTarget.DragObject dragObject, boolean dragStarted) { in onPreDragEnd()
230 public void onDropCompleted(View target, DropTarget.DragObject d, boolean isFlingToDelete, in onDropCompleted()
DFlingToDeleteHelper.java27 import com.android.launcher3.DropTarget;
90 public DropTarget getDropTarget() { in getDropTarget()
94 public Runnable getFlingAnimation(DropTarget.DragObject dragObject) { in getFlingAnimation()
DDragDriver.java23 import com.android.launcher3.DropTarget.DragObject;
/packages/apps/Launcher2/src/com/android/launcher2/
DDragController.java89 private DropTarget.DragObject mDragObject;
92 private ArrayList<DropTarget> mDropTargets = new ArrayList<DropTarget>();
94 private DropTarget mFlingToDeleteDropTarget;
108 private DropTarget mLastDropTarget;
236 mDragObject = new DropTarget.DragObject(); in startDrag()
389 void onDeferredEndFling(DropTarget.DragObject d) { in onDeferredEndFling()
489 DropTarget dropTarget = findDropTarget(x, y, coordinates); in handleMoveEvent()
504 DropTarget dropTarget = findDropTarget(mLastTouch[0], mLastTouch[1], dummyCoordinates); in forceTouchMove()
508 private void checkTouchMove(DropTarget dropTarget) { in checkTouchMove()
510 DropTarget delegate = dropTarget.getDropTargetDelegate(mDragObject); in checkTouchMove()
[all …]
DDropTarget.java28 public interface DropTarget { interface
160 DropTarget getDropTargetDelegate(DragObject dragObject); in getDropTargetDelegate()
DFolder.java58 View.OnLongClickListener, DropTarget, FolderListener, TextView.OnEditorActionListener,
757 public DropTarget getDropTargetDelegate(DragObject d) { in getDropTargetDelegate()
923 mDragController.removeDropTarget((DropTarget) this); in onCloseComplete()
961 if (mFolderIcon instanceof DropTarget) { in replaceFolderWithFinalItem()
962 mDragController.removeDropTarget((DropTarget) mFolderIcon); in replaceFolderWithFinalItem()
DButtonDropTarget.java34 public class ButtonDropTarget extends TextView implements DropTarget, DragController.DragListener {
159 public DropTarget getDropTargetDelegate(DragObject d) { in getDropTargetDelegate()
DWorkspace.java72 implements DropTarget, DragSource, DragScroller, View.OnTouchListener,
203 private DropTarget.DragEnforcer mDragEnforcer;
285 mDragEnforcer = new DropTarget.DragEnforcer(context); in Workspace()
577 if (child instanceof DropTarget) { in addInScreen()
578 mDragController.addDropTarget((DropTarget) child); in addInScreen()
2556 public DropTarget getDropTargetDelegate(DragObject d) {
3374 if (mDragInfo.cell instanceof DropTarget) {
3375 mDragController.removeDropTarget((DropTarget) mDragInfo.cell);
3635 if (v instanceof DropTarget) {
3636 mDragController.removeDropTarget((DropTarget) v);
[all …]
DDragSource.java21 import com.android.launcher2.DropTarget.DragObject;
DFolderIcon.java43 import com.android.launcher2.DropTarget.DragObject;
430 public DropTarget getDropTargetDelegate(DragObject d) {
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupContainerWithArrow.java49 import com.android.launcher3.DropTarget;
538 public void onPreDragStart(DropTarget.DragObject dragObject) { in onPreDragStart()
543 public void onPreDragEnd(DropTarget.DragObject dragObject, boolean dragStarted) { in onPreDragEnd()
706 public void onDropCompleted(View target, DropTarget.DragObject d, boolean isFlingToDelete, in onDropCompleted()
716 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsContainerView.java44 import com.android.launcher3.DropTarget;
383 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onLongClick()
414 public void onDropCompleted(View target, DropTarget.DragObject d, boolean isFlingToDelete, in onDropCompleted()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetHostViewLoader.java13 import com.android.launcher3.DropTarget;
49 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
DWidgetsBottomSheet.java36 import com.android.launcher3.DropTarget;
305 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolder.java52 import com.android.launcher3.DropTarget;
89 View.OnLongClickListener, DropTarget, FolderListener, TextView.OnEditorActionListener,
310 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
1198 if (mFolderIcon instanceof DropTarget) { in replaceFolderWithFinalItem()
1199 mDragController.removeDropTarget((DropTarget) mFolderIcon); in replaceFolderWithFinalItem()
/packages/apps/Launcher3/src/com/android/launcher3/
DButtonDropTarget.java52 implements DropTarget, DragController.DragListener, OnClickListener {
177 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
DWorkspace.java101 implements DropTarget, DragSource, View.OnTouchListener,
434 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
1168 if (child instanceof DropTarget) { in addInScreen()
1169 mDragController.addDropTarget((DropTarget) child); in addInScreen()
3646 if (v instanceof DropTarget) {
3647 mDragController.removeDropTarget((DropTarget) v);
3846 if (v instanceof DropTarget) {
3847 mDragController.removeDropTarget((DropTarget) v);
3883 if (child instanceof DropTarget) {
3884 mDragController.removeDropTarget((DropTarget) child);
DDragSource.java21 import com.android.launcher3.DropTarget.DragObject;
DDropTarget.java28 public interface DropTarget { interface
DDeleteDropTarget.java47 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
DDropTargetBar.java121 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
/packages/apps/Launcher3/src/com/android/launcher3/logging/
DUserEventDispatcher.java28 import com.android.launcher3.DropTarget;
266 public void logDragNDrop(DropTarget.DragObject dragObj, View dropTargetAsView) { in logDragNDrop()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DAccessibleDragListenerAdapter.java22 import com.android.launcher3.DropTarget.DragObject;

12