Home
last modified time | relevance | path

Searched refs:dragObject (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DDropTarget.java128 void onDrop(DragObject dragObject); in onDrop() argument
130 void onDragEnter(DragObject dragObject); in onDragEnter() argument
132 void onDragOver(DragObject dragObject); in onDragOver() argument
134 void onDragExit(DragObject dragObject); in onDragExit() argument
141 void onFlingToDelete(DragObject dragObject, int x, int y, PointF vec); in onFlingToDelete() argument
160 DropTarget getDropTargetDelegate(DragObject dragObject); in getDropTargetDelegate() argument
177 boolean acceptDrop(DragObject dragObject); in acceptDrop() argument
DLauncher.java1157 DragObject dragObject = new DragObject(); in completeAddShortcut() local
1158 dragObject.dragInfo = info; in completeAddShortcut()
1159 if (mWorkspace.addToExistingFolderIfNecessary(view, layout, cellXY, 0, dragObject, in completeAddShortcut()
/packages/apps/Launcher3/src/com/android/launcher3/
DButtonDropTarget.java177 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart() argument
178 mActive = supportsDrop(dragObject.dragSource, dragObject.dragInfo); in onDragStart()
193 public final boolean acceptDrop(DragObject dragObject) { in acceptDrop() argument
194 return supportsDrop(dragObject.dragSource, dragObject.dragInfo); in acceptDrop()
254 public Rect getIconRect(DragObject dragObject) { in getIconRect() argument
255 int viewWidth = dragObject.dragView.getMeasuredWidth(); in getIconRect()
256 int viewHeight = dragObject.dragView.getMeasuredHeight(); in getIconRect()
DDropTarget.java109 void onDrop(DragObject dragObject); in onDrop() argument
111 void onDragEnter(DragObject dragObject); in onDragEnter() argument
113 void onDragOver(DragObject dragObject); in onDragOver() argument
115 void onDragExit(DragObject dragObject); in onDragExit() argument
122 boolean acceptDrop(DragObject dragObject); in acceptDrop() argument
DWorkspace.java434 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart() argument
461 boolean addNewPage = !(options.isAccessibleDrag && dragObject.dragSource != this); in onDragStart()
467 if (dragObject.dragInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET in onDragStart()
468 && dragObject.dragSource != this) { in onDragStart()
477 if (page.hasReorderSolution(dragObject.dragInfo)) { in onDragStart()
2221 Object dragObject = child.getTag(); in beginDragShared() local
2222 if (!(dragObject instanceof ItemInfo)) { in beginDragShared()
2228 beginDragShared(child, source, (ItemInfo) dragObject, in beginDragShared()
2233 public DragView beginDragShared(View child, DragSource source, ItemInfo dragObject, in beginDragShared() argument
2286 dragObject, dragVisualizeOffset, dragRect, scale, dragOptions); in beginDragShared()
[all …]
DDeleteDropTarget.java47 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart() argument
48 super.onDragStart(dragObject, options); in onDragStart()
49 setTextBasedOnDragSource(dragObject.dragSource); in onDragStart()
DCellLayout.java993 int spanX, int spanY, boolean resize, DropTarget.DragObject dragObject) { in visualizeDropLocation() argument
1003 Point dragOffset = dragObject.dragView.getDragVisualizeOffset(); in visualizeDropLocation()
1004 Rect dragRegion = dragObject.dragView.getDragRegion(); in visualizeDropLocation()
1062 if (dragObject.stateAnnouncer != null) { in visualizeDropLocation()
1063 dragObject.stateAnnouncer.announce(getItemMoveDescription(cellX, cellY)); in visualizeDropLocation()
DDropTargetBar.java121 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart() argument
DLauncher.java1491 DragObject dragObject = new DragObject(); in completeAddShortcut() local
1492 dragObject.dragInfo = info; in completeAddShortcut()
1493 if (mWorkspace.addToExistingFolderIfNecessary(view, layout, cellXY, 0, dragObject, in completeAddShortcut()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragDriver.java86 DragObject dragObject, DragOptions options) { in create() argument
88 return new SystemDragDriver(dragController, context, dragObject); in create()
106 public SystemDragDriver(DragController dragController, Context context, DragObject dragObject) { in SystemDragDriver() argument
108 mDragObject = dragObject; in SystemDragDriver()
DPinItemDragListener.java197 public void onPreDragStart(DropTarget.DragObject dragObject) { in onPreDragStart() argument
203 dragObject.dragView.setColor( in onPreDragStart()
208 public void onPreDragEnd(DropTarget.DragObject dragObject, boolean dragStarted) { in onPreDragEnd() argument
210 dragObject.dragView.setColor(0); in onPreDragEnd()
DDragOptions.java57 void onPreDragStart(DropTarget.DragObject dragObject); in onPreDragStart() argument
65 void onPreDragEnd(DropTarget.DragObject dragObject, boolean dragStarted); in onPreDragEnd() argument
DFlingToDeleteHelper.java94 public Runnable getFlingAnimation(DropTarget.DragObject dragObject) { in getFlingAnimation() argument
99 return new FlingAnimation(dragObject, vel, mDropTarget, mLauncher); in getFlingAnimation()
DDragController.java105 void onDragStart(DropTarget.DragObject dragObject, DragOptions options); in onDragStart() argument
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolder.java310 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart() argument
311 if (dragObject.dragSource != this) { in onDragStart()
316 if (dragObject.dragInfo instanceof ShortcutInfo) { in onDragStart()
322 mInfo.remove((ShortcutInfo) dragObject.dragInfo, true); in onDragStart()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupContainerWithArrow.java538 public void onPreDragStart(DropTarget.DragObject dragObject) { in onPreDragStart() argument
543 public void onPreDragEnd(DropTarget.DragObject dragObject, boolean dragStarted) { in onPreDragEnd() argument
716 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart() argument
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DAccessibleDragListenerAdapter.java47 public void onDragStart(DragObject dragObject, DragOptions options) { in onDragStart() argument
DLauncherAccessibilityDelegate.java391 public void onDragStart(DragObject dragObject, DragOptions options) { in onDragStart() argument
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetHostViewLoader.java49 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart() argument
DWidgetsBottomSheet.java305 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart() argument
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsContainerView.java383 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onLongClick()