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.java372 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart() argument
387 if (dragObject.dragView != null) { in onDragStart()
388 Bitmap preview = dragObject.dragView.getPreviewBitmap(); in onDragStart()
402 boolean addNewPage = !(options.isAccessibleDrag && dragObject.dragSource != this); in onDragStart()
408 if (dragObject.dragInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET in onDragStart()
409 && dragObject.dragSource != this) { in onDragStart()
418 if (page.hasReorderSolution(dragObject.dragInfo)) { in onDragStart()
1453 Object dragObject = child.getTag(); in beginDragShared() local
1454 if (!(dragObject instanceof ItemInfo)) { in beginDragShared()
1460 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.java1192 DragObject dragObject = new DragObject(); in completeAddShortcut() local
1193 dragObject.dragInfo = info; in completeAddShortcut()
1194 if (mWorkspace.addToExistingFolderIfNecessary(view, layout, cellXY, 0, dragObject, in completeAddShortcut()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DBaseItemDragListener.java148 public void onPreDragStart(DragObject dragObject) { in onPreDragStart() argument
154 dragObject.dragView.setColor( in onPreDragStart()
159 public void onPreDragEnd(DragObject dragObject, boolean dragStarted) { in onPreDragEnd() argument
161 dragObject.dragView.setColor(0); in onPreDragEnd()
DDragDriver.java85 DragObject dragObject, DragOptions options) { in create() argument
87 return new SystemDragDriver(dragController, context, dragObject); in create()
102 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.java113 void onDragStart(DropTarget.DragObject dragObject, DragOptions options); in onDragStart() argument
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupContainerWithArrow.java461 public void onPreDragStart(DropTarget.DragObject dragObject) { in createPreDragCondition() argument
473 public void onPreDragEnd(DropTarget.DragObject dragObject, boolean dragStarted) { in createPreDragCondition() argument
534 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.java390 public void onDragStart(DragObject dragObject, DragOptions options) { in onDragStart() argument
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolder.java270 public void onDragStart(DropTarget.DragObject dragObject, DragOptions options) { in onDragStart() argument
271 if (dragObject.dragSource != this) { in onDragStart()
276 if (dragObject.dragInfo instanceof WorkspaceItemInfo) { in onDragStart()
282 mInfo.remove((WorkspaceItemInfo) dragObject.dragInfo, true); in onDragStart()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemLongClickListener.java87 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