Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragController.java33 import com.android.launcher3.DropTarget;
79 protected DropTarget.DragObject mDragObject;
82 private final ArrayList<DropTarget> mDropTargets = new ArrayList<>();
85 protected DropTarget mLastDropTarget;
102 void onDragStart(DropTarget.DragObject dragObject, DragOptions options); in onDragStart()
426 DropTarget dropTarget = findDropTarget(x, y, coordinates); in handleMoveEvent()
451 DropTarget dropTarget = findDropTarget(mLastTouch.x, mLastTouch.y, placeholderCoordinates); in forceTouchMove()
457 private void checkTouchMove(DropTarget dropTarget) { in checkTouchMove()
482 DropTarget dropTarget = findDropTarget(location[0], location[1], coordinates); in completeAccessibleDrag()
493 protected void drop(DropTarget dropTarget, Runnable flingAnimation) { in drop()
[all …]
DDragOptions.java21 import com.android.launcher3.DropTarget;
66 void onPreDragStart(DropTarget.DragObject dragObject); in onPreDragStart()
74 void onPreDragEnd(DropTarget.DragObject dragObject, boolean dragStarted); in onPreDragEnd()
DFlingToDeleteHelper.java26 import com.android.launcher3.DropTarget;
61 public DropTarget getDropTarget() { in getDropTarget()
65 public Runnable getFlingAnimation(DropTarget.DragObject dragObject, DragOptions options) { in getFlingAnimation()
DLauncherDragController.java34 import com.android.launcher3.DropTarget;
89 mDragObject = new DropTarget.DragObject(mActivity.getApplicationContext()); in startDrag()
180 protected DropTarget getDefaultDropTarget(int[] dropCoordinates) { in getDefaultDropTarget()
DBaseItemDragListener.java35 import com.android.launcher3.DropTarget.DragObject;
/packages/apps/Launcher3/src/com/android/launcher3/widget/dragndrop/
DAppWidgetHostViewDragListener.java18 import com.android.launcher3.DropTarget;
27 private DropTarget.DragObject mDragObject;
35 public void onDragStart(DropTarget.DragObject dragObject, DragOptions unused) { in onDragStart()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspaceLayoutManager.java134 if (child instanceof DropTarget) { in addInScreen()
135 onAddDropTarget((DropTarget) child); in addInScreen()
147 default void onAddDropTarget(DropTarget target) { } in onAddDropTarget()
DButtonDropTarget.java47 implements DropTarget, DragController.DragListener, OnClickListener {
173 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
DDragSource.java21 import com.android.launcher3.DropTarget.DragObject;
DDropTarget.java37 public interface DropTarget { interface
DWorkspace.java133 implements DropTarget, DragSource, View.OnTouchListener,
767 public void onAddDropTarget(DropTarget target) { in onAddDropTarget()
2833 if (v instanceof DropTarget) {
2834 mDragController.removeDropTarget((DropTarget) v);
3061 if (v instanceof DropTarget) { in clearDropTargets()
3062 mDragController.removeDropTarget((DropTarget) v); in clearDropTargets()
3085 if (child instanceof DropTarget) { in removeItemsByMatcher()
3086 mDragController.removeDropTarget((DropTarget) child); in removeItemsByMatcher()
DDeleteDropTarget.java60 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
DDropTargetBar.java240 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DLauncherDelegate.java30 import com.android.launcher3.DropTarget;
120 if (folder.mFolderIcon instanceof DropTarget) { in replaceFolderWithFinalItem()
121 folder.mDragController.removeDropTarget((DropTarget) folder.mFolderIcon); in replaceFolderWithFinalItem()
DFolder.java69 import com.android.launcher3.DropTarget;
116 View.OnLongClickListener, DropTarget, FolderListener, TextView.OnEditorActionListener,
332 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupContainerWithArrow.java46 import com.android.launcher3.DropTarget;
47 import com.android.launcher3.DropTarget.DragObject;
416 public void onPreDragStart(DropTarget.DragObject dragObject) { in createPreDragCondition()
428 public void onPreDragEnd(DropTarget.DragObject dragObject, boolean dragStarted) { in createPreDragCondition()
459 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) {
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarHotseatController.java22 import com.android.launcher3.DropTarget;
43 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { }
DTaskbarActivityContext.java51 import com.android.launcher3.DropTarget;
329 protected DropTarget getDefaultDropTarget(int[] dropCoordinates) { in getDefaultDropTarget()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatPredictionController.java39 import com.android.launcher3.DropTarget;
371 DropTarget.DragObject dragObject) { in removePredictedApps()
415 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
455 public void onDropCompleted(View target, DropTarget.DragObject d, boolean success) { in onDropCompleted()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetHostViewLoader.java10 import com.android.launcher3.DropTarget;
44 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
DBaseWidgetSheet.java33 import com.android.launcher3.DropTarget.DragObject;
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemLongClickListener.java31 import com.android.launcher3.DropTarget;
101 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onAllAppsItemLongClick()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DAccessibleDragListenerAdapter.java24 import com.android.launcher3.DropTarget.DragObject;
DLauncherAccessibilityDelegate.java27 import com.android.launcher3.DropTarget.DragObject;
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFlingAnimation.java14 import com.android.launcher3.DropTarget.DragObject;

12