Home
last modified time | relevance | path

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

/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()
DButtonDropTarget.java34 public class ButtonDropTarget extends TextView implements DropTarget, DragController.DragListener {
159 public DropTarget getDropTargetDelegate(DragObject d) { in getDropTargetDelegate()
DDragSource.java21 import com.android.launcher2.DropTarget.DragObject;
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()
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 …]
DFolderIcon.java43 import com.android.launcher2.DropTarget.DragObject;
430 public DropTarget getDropTargetDelegate(DragObject d) {
DCellLayout.java163 private DropTarget.DragEnforcer mDragEnforcer;
179 mDragEnforcer = new DropTarget.DragEnforcer(context); in CellLayout()
DAppsCustomizePagedView.java58 import com.android.launcher2.DropTarget.DragObject;
DLauncher.java100 import com.android.launcher2.DropTarget.DragObject;
2402 mDragController.addDropTarget((DropTarget) folder); in openFolder()
/packages/apps/Launcher3/src/com/android/launcher3/
DDragController.java95 private DropTarget.DragObject mDragObject;
98 private ArrayList<DropTarget> mDropTargets = new ArrayList<DropTarget>();
100 private DropTarget mFlingToDeleteDropTarget;
114 private DropTarget mLastDropTarget;
240 mDragObject = new DropTarget.DragObject(); in startDrag()
405 public void onDeferredEndFling(DropTarget.DragObject d) { in onDeferredEndFling()
512 DropTarget dropTarget = findDropTarget(x, y, coordinates); in handleMoveEvent()
526 DropTarget dropTarget = findDropTarget(mLastTouch[0], mLastTouch[1], dummyCoordinates); in forceTouchMove()
532 private void checkTouchMove(DropTarget dropTarget) { in checkTouchMove()
657 DropTarget dropTarget = findDropTarget(location[0], location[1], coordinates);
[all …]
DDragSource.java21 import com.android.launcher3.DropTarget.DragObject;
DDropTarget.java28 public interface DropTarget { interface
DWorkspace.java91 implements DropTarget, DragSource, DragScroller, View.OnTouchListener,
1046 if (child instanceof DropTarget) { in addInScreen()
1047 mDragController.addDropTarget((DropTarget) child); in addInScreen()
3916 if (v instanceof DropTarget) {
3917 mDragController.removeDropTarget((DropTarget) v);
4251 if (v instanceof DropTarget) {
4252 mDragController.removeDropTarget((DropTarget) v);
4355 if (child instanceof DropTarget) {
4356 mDragController.removeDropTarget((DropTarget) child);
DFolder.java72 View.OnLongClickListener, DropTarget, FolderListener, TextView.OnEditorActionListener,
1145 if (mFolderIcon instanceof DropTarget) { in replaceFolderWithFinalItem()
1146 mDragController.removeDropTarget((DropTarget) mFolderIcon); in replaceFolderWithFinalItem()
DButtonDropTarget.java48 implements DropTarget, DragController.DragListener, OnClickListener {
DFolderIcon.java44 import com.android.launcher3.DropTarget.DragObject;
DLauncher.java97 import com.android.launcher3.DropTarget.DragObject;
3164 mDragController.addDropTarget((DropTarget) folder); in openFolder()
DCellLayout.java1059 int spanY, boolean resize, DropTarget.DragObject dragObject) { in visualizeDropLocation()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFlingAnimation.java12 import com.android.launcher3.DropTarget.DragObject;
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsContainerView.java41 import com.android.launcher3.DropTarget;
485 public void onDropCompleted(View target, DropTarget.DragObject d, boolean isFlingToDelete, in onDropCompleted()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsContainerView.java36 import com.android.launcher3.DropTarget.DragObject;