Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DDropTarget.java114 void onDrop(DragObject dragObject, DragOptions options); in onDrop() argument
116 void onDragEnter(DragObject dragObject); in onDragEnter() argument
118 void onDragOver(DragObject dragObject); in onDragOver() argument
120 void onDragExit(DragObject dragObject); in onDragExit() argument
127 boolean acceptDrop(DragObject dragObject); in acceptDrop() argument
DButtonDropTarget.java242 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart() argument
243 mActive = supportsDrop(dragObject.dragInfo); in onDragStart()
257 public final boolean acceptDrop(DragObject dragObject) { in acceptDrop() argument
258 return supportsDrop(dragObject.dragInfo); in acceptDrop()
325 public Rect getIconRect(DragObject dragObject) { in getIconRect() argument
326 int viewWidth = dragObject.dragView.getMeasuredWidth(); in getIconRect()
327 int viewHeight = dragObject.dragView.getMeasuredHeight(); in getIconRect()
DDeleteDropTarget.java57 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart() argument
58 super.onDragStart(dragObject, options); in onDragStart()
59 setTextBasedOnDragSource(dragObject.dragInfo); in onDragStart()
60 setControlTypeBasedOnDragSource(dragObject.dragInfo); in onDragStart()
DWorkspace.java370 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart() argument
381 if (dragObject.dragView != null) { in onDragStart()
382 Bitmap preview = dragObject.dragView.getPreviewBitmap(); in onDragStart()
396 boolean addNewPage = !(options.isAccessibleDrag && dragObject.dragSource != this); in onDragStart()
402 if (dragObject.dragInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET in onDragStart()
403 && dragObject.dragSource != this) { in onDragStart()
412 if (page.hasReorderSolution(dragObject.dragInfo)) { in onDragStart()
1462 Object dragObject = child.getTag(); in beginDragShared() local
1463 if (!(dragObject instanceof ItemInfo)) { in beginDragShared()
1469 beginDragShared(child, source, (ItemInfo) dragObject, in beginDragShared()
[all …]
DCellLayout.java951 int spanX, int spanY, boolean resize, DropTarget.DragObject dragObject) { in visualizeDropLocation() argument
961 Point dragOffset = dragObject.dragView.getDragVisualizeOffset(); in visualizeDropLocation()
962 Rect dragRegion = dragObject.dragView.getDragRegion(); in visualizeDropLocation()
1020 if (dragObject.stateAnnouncer != null) { in visualizeDropLocation()
1021 dragObject.stateAnnouncer.announce(getItemMoveDescription(cellX, cellY)); in visualizeDropLocation()
DDropTargetBar.java233 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart() argument
DLauncher.java1219 DragObject dragObject = new DragObject(); in completeAddShortcut() local
1220 dragObject.dragInfo = info; in completeAddShortcut()
1221 if (mWorkspace.addToExistingFolderIfNecessary(view, layout, cellXY, 0, dragObject, in completeAddShortcut()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DBaseItemDragListener.java145 public void onPreDragStart(DragObject dragObject) { in onPreDragStart() argument
151 dragObject.dragView.setColor( in onPreDragStart()
156 public void onPreDragEnd(DragObject dragObject, boolean dragStarted) { in onPreDragEnd() argument
158 dragObject.dragView.setColor(0); in onPreDragEnd()
DDragDriver.java93 DragObject dragObject, DragOptions options) { in create() argument
95 return new SystemDragDriver(dragController, context, dragObject); in create()
110 SystemDragDriver(DragController dragController, Context context, DragObject dragObject) { in SystemDragDriver() argument
DDragOptions.java60 void onPreDragStart(DropTarget.DragObject dragObject); in onPreDragStart() argument
68 void onPreDragEnd(DropTarget.DragObject dragObject, boolean dragStarted); in onPreDragEnd() argument
DFlingToDeleteHelper.java94 public Runnable getFlingAnimation(DropTarget.DragObject dragObject, DragOptions options) { in getFlingAnimation() argument
100 return new FlingAnimation(dragObject, vel, mDropTarget, mLauncher, options); in getFlingAnimation()
DDragController.java121 void onDragStart(DropTarget.DragObject dragObject, DragOptions options); in onDragStart() argument
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupContainerWithArrow.java463 public void onPreDragStart(DropTarget.DragObject dragObject) { in createPreDragCondition() argument
475 public void onPreDragEnd(DropTarget.DragObject dragObject, boolean dragStarted) { in createPreDragCondition() argument
536 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) {
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DAccessibleDragListenerAdapter.java47 public void onDragStart(DragObject dragObject, DragOptions options) { in onDragStart() argument
DLauncherAccessibilityDelegate.java400 public void onDragStart(DragObject dragObject, DragOptions options) { in onDragStart() argument
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolder.java269 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart() argument
270 if (dragObject.dragSource != this) { in onDragStart()
275 if (dragObject.dragInfo instanceof WorkspaceItemInfo) { in onDragStart()
281 mInfo.remove((WorkspaceItemInfo) dragObject.dragInfo, true); in onDragStart()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemLongClickListener.java101 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onAllAppsItemLongClick()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetHostViewLoader.java49 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart() argument