Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/src/com/android/launcher3/
DDropTarget.java38 class DragObject { class
83 public DragObject(Context context) { in DragObject() method in DropTarget.DragObject
129 void onDrop(DragObject dragObject, DragOptions options); in onDrop()
131 void onDragEnter(DragObject dragObject); in onDragEnter()
133 void onDragOver(DragObject dragObject); in onDragOver()
135 void onDragExit(DragObject dragObject); in onDragExit()
142 boolean acceptDrop(DragObject dragObject); in acceptDrop()
DButtonDropTarget.java144 public final void onDragEnter(DragObject d) { in onDragEnter()
176 public void onDragOver(DragObject d) { in onDragOver()
181 public final void onDragExit(DragObject d) { in onDragExit()
193 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
207 public final boolean acceptDrop(DragObject dragObject) { in acceptDrop()
238 public void onDrop(final DragObject d, final DragOptions options) { in onDrop()
272 public abstract void completeDrop(DragObject d); in completeDrop()
284 public Rect getIconRect(DragObject dragObject) { in getIconRect()
DDragSource.java21 import com.android.launcher3.DropTarget.DragObject;
32 void onDropCompleted(View target, DragObject d, boolean success); in onDropCompleted()
DDeleteDropTarget.java61 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
120 public void onDrop(DragObject d, DragOptions options) { in onDrop()
130 public void completeDrop(DragObject d) { in completeDrop()
DSecondaryDropTarget.java223 public void onDrop(DragObject d, DragOptions options) { in onDrop()
244 public void completeDrop(final DragObject d) { in completeDrop()
350 private DragObject mDragObject;
358 public void onDropCompleted(View target, DragObject d, in onDropCompleted()
DDropTargetHandler.kt6 import com.android.launcher3.DropTarget.DragObject
30 fun onSecondaryTargetCompleteDrop(target: ComponentName?, d: DragObject) { in onSecondaryTargetCompleteDrop()
DWorkspace.java464 public void onDragStart(DragObject dragObject, DragOptions options) { in onDragStart()
698 private void addExtraEmptyScreenOnDrag(DragObject dragObject) { in addExtraEmptyScreenOnDrag()
1644 @Nullable DragObject dragObject) { in startDrag()
1782 public boolean acceptDrop(DragObject d) { in acceptDrop()
1910 int[] targetCell, float distance, boolean external, DragObject d) { in createUserFolderIfNecessary()
1967 float distance, DragObject d, boolean external) { in addToExistingFolderIfNecessary()
1994 public void onDrop(final DragObject d, DragOptions options) { in onDrop()
2273 public void onDragEnter(DragObject d) {
2287 public void onDragExit(DragObject d) {
2432 private boolean isDragWidget(DragObject d) {
[all …]
DDropTargetBar.java324 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DSecondaryDragController.java76 mDragObject = new DropTarget.DragObject(mActivity.getApplicationContext()); in startDrag()
160 public void onDrop(DragObject dragObject, DragOptions options) { in getDefaultDropTarget()
167 public void onDragEnter(DragObject dragObject) { in getDefaultDropTarget()
176 public void onDragOver(DragObject dragObject) { } in getDefaultDropTarget()
179 public void onDragExit(DragObject dragObject) { } in getDefaultDropTarget()
182 public boolean acceptDrop(DragObject dragObject) { in getDefaultDropTarget()
DSecondaryDragLayer.java228 public void onPreDragStart(DropTarget.DragObject dragObject) { in onIconLongClicked()
237 public void onPreDragEnd(DropTarget.DragObject dragObject, boolean dragStarted) { in onIconLongClicked()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DBaseItemDragListener.java35 import com.android.launcher3.DropTarget.DragObject;
140 public void onPreDragStart(DragObject dragObject) { in onPreDragStart()
149 public void onPreDragEnd(DragObject dragObject, boolean dragStarted) { in onPreDragEnd()
156 public void onDropCompleted(View target, DragObject d, boolean success) { in onDropCompleted()
DDragOptions.java72 void onPreDragStart(DropTarget.DragObject dragObject); in onPreDragStart()
80 void onPreDragEnd(DropTarget.DragObject dragObject, boolean dragStarted); in onPreDragEnd()
DFlingToDeleteHelper.java65 public Runnable getFlingAnimation(DropTarget.DragObject dragObject, DragOptions options) { in getFlingAnimation()
DDragController.java82 protected DropTarget.DragObject mDragObject;
111 void onDragStart(DropTarget.DragObject dragObject, DragOptions options); in onDragStart()
DLauncherDragController.java89 mDragObject = new DropTarget.DragObject(mActivity.getApplicationContext()); in startDrag()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DAccessibleDragListenerAdapter.java26 import com.android.launcher3.DropTarget.DragObject;
53 public void onDragStart(DragObject dragObject, DragOptions options) { in onDragStart()
80 protected void enableAccessibleDrag(boolean enable, @Nullable DragObject dragObject) { in enableAccessibleDrag()
DBaseAccessibilityDelegate.java171 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolder.java343 @Nullable DragObject dragObject) { in startDrag()
358 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
909 public boolean acceptDrop(DragObject d) { in acceptDrop()
915 public void onDragEnter(DragObject d) { in onDragEnter()
934 private int getTargetRank(DragObject d, float[] recycle) { in getTargetRank()
941 public void onDragOver(DragObject d) { in onDragOver()
982 private void showScrollHint(int direction, DragObject d) { in showScrollHint()
1024 public void onDragExit(DragObject d) { in onDragExit()
1054 public void onDropCompleted(final View target, final DragObject d, in onDropCompleted()
1279 public void onDrop(DragObject d, DragOptions options) { in onDrop()
[all …]
DFolderIcon.java54 import com.android.launcher3.DropTarget.DragObject;
306 final ItemInfo srcInfo, final DragObject d, Rect dstRect, in performCreateAnimation()
332 private void onDrop(final ItemInfo item, DragObject d, Rect finalRect, in onDrop()
476 public void onDrop(DragObject d, boolean itemReturnedOnFailedDrop) { in onDrop()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFlingAnimation.java16 import com.android.launcher3.DropTarget.DragObject;
33 protected final DragObject mDragObject;
46 public FlingAnimation(DragObject d, PointF vel, ButtonDropTarget dropTarget, Launcher launcher, in FlingAnimation()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupContainerWithArrow.java47 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()
527 public void onDropCompleted(View target, DragObject d, boolean success) { }
530 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) {
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatPredictionController.java351 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/quickstep/src/com/android/launcher3/taskbar/
DTaskbarDragController.java227 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()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetHostViewLoader.java43 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemLongClickListener.java166 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onAllAppsItemLongClick()

12