Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragController.java33 import com.android.launcher3.DropTarget;
82 protected DropTarget.DragObject mDragObject;
85 private final ArrayList<DropTarget> mDropTargets = new ArrayList<>();
88 protected DropTarget mLastDropTarget;
111 void onDragStart(DropTarget.DragObject dragObject, DragOptions options); in onDragStart()
472 private DropTarget checkTouchMove(final int x, final int y) { in checkTouchMove()
477 DropTarget dropTarget = findDropTarget(x, y); in checkTouchMove()
499 DropTarget dropTarget = checkTouchMove(location[0], location[1]); in completeAccessibleDrag()
507 protected void drop(DropTarget dropTarget, Runnable flingAnimation) { in drop()
544 private DropTarget findDropTarget(final int x, final int y) { in findDropTarget()
[all …]
DDragOptions.java21 import com.android.launcher3.DropTarget;
72 void onPreDragStart(DropTarget.DragObject dragObject); in onPreDragStart()
80 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.java35 import com.android.launcher3.DropTarget;
89 mDragObject = new DropTarget.DragObject(mActivity.getApplicationContext()); in startDrag()
213 protected DropTarget getDefaultDropTarget(int[] dropCoordinates) { in getDefaultDropTarget()
DBaseItemDragListener.java35 import com.android.launcher3.DropTarget.DragObject;
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DSecondaryDragController.java31 import com.android.launcher3.DropTarget;
76 mDragObject = new DropTarget.DragObject(mActivity.getApplicationContext()); in startDrag()
152 protected DropTarget getDefaultDropTarget(int[] dropCoordinates) { in getDefaultDropTarget()
153 DropTarget target = new DropTarget() { in getDefaultDropTarget()
DSecondaryDragLayer.java32 import com.android.launcher3.DropTarget;
228 public void onPreDragStart(DropTarget.DragObject dragObject) { in onIconLongClicked()
237 public void onPreDragEnd(DropTarget.DragObject dragObject, boolean dragStarted) { in onIconLongClicked()
DSecondaryDisplayLauncher.java35 import com.android.launcher3.DropTarget;
451 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { } in onDragStart()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspaceLayoutManager.java153 if (child instanceof DropTarget) { in addInScreen()
154 onAddDropTarget((DropTarget) child); in addInScreen()
171 default void onAddDropTarget(DropTarget target) { } in onAddDropTarget()
DDragSource.java21 import com.android.launcher3.DropTarget.DragObject;
DDropTarget.java36 public interface DropTarget { interface
DButtonDropTarget.java50 implements DropTarget, DragController.DragListener, OnClickListener {
193 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
DDeleteDropTarget.java61 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
DDropTargetHandler.kt6 import com.android.launcher3.DropTarget.DragObject
DWorkspace.java148 implements DropTarget, DragSource, View.OnTouchListener, CellLayoutContainer,
943 public void onAddDropTarget(DropTarget target) { in onAddDropTarget()
3137 if (v instanceof DropTarget) {
3138 mDragController.removeDropTarget((DropTarget) v);
3294 if (v instanceof DropTarget) {
3295 mDragController.removeDropTarget((DropTarget) v);
3318 if (child instanceof DropTarget) {
3319 mDragController.removeDropTarget((DropTarget) child);
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DLauncherDelegate.java28 import com.android.launcher3.DropTarget;
106 if (folder.mFolderIcon instanceof DropTarget) { in replaceFolderWithFinalItem()
107 folder.mDragController.removeDropTarget((DropTarget) folder.mFolderIcon); in replaceFolderWithFinalItem()
DFolder.java75 import com.android.launcher3.DropTarget;
123 View.OnLongClickListener, DropTarget, FolderListener, TextView.OnEditorActionListener,
358 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarDragController.java60 import com.android.launcher3.DropTarget;
227 public void onPreDragStart(DropTarget.DragObject dragObject) { in startInternalDrag()
237 public void onPreDragEnd(DropTarget.DragObject dragObject, boolean dragStarted) { in startInternalDrag()
250 (View target, DropTarget.DragObject d, boolean success) -> {} /* DragSource */, in startInternalDrag()
275 mDragObject = new DropTarget.DragObject(mActivity.getApplicationContext()); in startDrag()
735 public void addDropTarget(DropTarget target) { in addDropTarget()
741 protected DropTarget getDefaultDropTarget(int[] dropCoordinates) { in getDefaultDropTarget()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupContainerWithArrow.java46 import com.android.launcher3.DropTarget;
47 import com.android.launcher3.DropTarget.DragObject;
489 public void onPreDragStart(DropTarget.DragObject dragObject) { in createPreDragCondition()
504 public void onPreDragEnd(DropTarget.DragObject dragObject, boolean dragStarted) { in createPreDragCondition()
530 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) {
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetHostViewLoader.java9 import com.android.launcher3.DropTarget;
43 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatPredictionController.java43 import com.android.launcher3.DropTarget;
351 DropTarget.DragObject dragObject) { in removePredictedApps()
395 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
439 public void onDropCompleted(View target, DropTarget.DragObject d, boolean success) { in onDropCompleted()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DBaseAccessibilityDelegate.java27 import com.android.launcher3.DropTarget;
171 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
DAccessibleDragListenerAdapter.java26 import com.android.launcher3.DropTarget.DragObject;
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemLongClickListener.java33 import com.android.launcher3.DropTarget;
166 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onAllAppsItemLongClick()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFlingAnimation.java16 import com.android.launcher3.DropTarget.DragObject;

12