/packages/apps/Launcher2/src/com/android/launcher2/ |
InfoDropTarget.java | 78 if (d.dragInfo instanceof ApplicationInfo) { 79 componentName = ((ApplicationInfo) d.dragInfo).componentName; 80 } else if (d.dragInfo instanceof ShortcutInfo) { 81 componentName = ((ShortcutInfo) d.dragInfo).intent.getComponent(); 82 } else if (d.dragInfo instanceof PendingAddItemInfo) { 83 componentName = ((PendingAddItemInfo) d.dragInfo).componentName; 86 if (d.dragInfo instanceof ItemInfo) { 87 user = ((ItemInfo) d.dragInfo).user;
|
DragController.java | 171 * @param dragInfo The data associated with the object that is being dragged 177 public void startDrag(View v, Bitmap bmp, DragSource source, Object dragInfo, int dragAction, 188 startDrag(bmp, dragLayerX, dragLayerY, source, dragInfo, dragAction, null, 204 * @param dragInfo The data associated with the object that is being dragged 211 DragSource source, Object dragInfo, int dragAction, Point dragOffset, Rect dragRegion, 225 listener.onDragStart(source, dragInfo, dragAction); 242 mDragObject.dragInfo = dragInfo; 334 Object rawDragInfo = mDragObject.dragInfo; 336 ShortcutInfo dragInfo = (ShortcutInfo) rawDragInfo [all...] |
DropTarget.java | 52 public Object dragInfo = null; 125 * @param dragInfo Data associated with the object being dragged 156 * @param dragInfo Data associated with the object being dragged 174 * @param dragInfo Data associated with the object being dragged
|
FolderIcon.java | 299 public boolean acceptDrop(Object dragInfo) { 300 final ItemInfo item = (ItemInfo) dragInfo; 308 public void onDragEnter(Object dragInfo) { 309 if (mFolder.isDestroyed() || !willAcceptItem((ItemInfo) dragInfo)) return; 318 public void onDragOver(Object dragInfo) { 350 public void onDragExit(Object dragInfo) { 420 if (d.dragInfo instanceof ApplicationInfo) { 422 item = ((ApplicationInfo) d.dragInfo).makeShortcut(); 424 item = (ShortcutInfo) d.dragInfo;
|
DeleteDropTarget.java | 112 return isDragSourceWorkspaceOrFolder(d) && (d.dragInfo instanceof ShortcutInfo); 115 return isDragSourceWorkspaceOrFolder(d) && (d.dragInfo instanceof LauncherAppWidgetInfo); 118 return (d.dragSource instanceof Workspace) && (d.dragInfo instanceof FolderInfo); 228 ItemInfo item = (ItemInfo) d.dragInfo;
|
Workspace.java | [all...] |
Folder.java | 503 final ItemInfo item = (ItemInfo) d.dragInfo; [all...] |
AppsCustomizePagedView.java | [all...] |
Launcher.java | [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
InfoDropTarget.java | 80 if (d.dragInfo instanceof AppInfo) { 81 componentName = ((AppInfo) d.dragInfo).componentName; 82 } else if (d.dragInfo instanceof ShortcutInfo) { 83 componentName = ((ShortcutInfo) d.dragInfo).intent.getComponent(); 84 } else if (d.dragInfo instanceof PendingAddItemInfo) { 85 componentName = ((PendingAddItemInfo) d.dragInfo).componentName; 88 if (d.dragInfo instanceof ItemInfo) { 89 user = ((ItemInfo) d.dragInfo).user;
|
DragController.java | 167 * @param dragInfo The data associated with the object that is being dragged 173 public void startDrag(View v, Bitmap bmp, DragSource source, Object dragInfo, int dragAction, 184 startDrag(bmp, dragLayerX, dragLayerY, source, dragInfo, dragAction, null, 200 * @param dragInfo The data associated with the object that is being dragged 207 DragSource source, Object dragInfo, int dragAction, Point dragOffset, Rect dragRegion, 221 listener.onDragStart(source, dragInfo, dragAction); 238 mDragObject.dragInfo = dragInfo; 330 Object rawDragInfo = mDragObject.dragInfo; 332 ShortcutInfo dragInfo = (ShortcutInfo) rawDragInfo [all...] |
DropTarget.java | 52 public Object dragInfo = null; 125 * @param dragInfo Data associated with the object being dragged 155 * @param dragInfo Data associated with the object being dragged
|
FolderIcon.java | 330 public boolean acceptDrop(Object dragInfo) { 331 final ItemInfo item = (ItemInfo) dragInfo; 339 public void onDragEnter(Object dragInfo) { 340 if (mFolder.isDestroyed() || !willAcceptItem((ItemInfo) dragInfo)) return; 349 ((dragInfo instanceof AppInfo) || (dragInfo instanceof ShortcutInfo))) { 356 mDragInfo = (ItemInfo) dragInfo; 359 public void onDragOver(Object dragInfo) { 408 public void onDragExit(Object dragInfo) { 479 if (d.dragInfo instanceof AppInfo) [all...] |
DeleteDropTarget.java | 118 return isDragSourceWorkspaceOrFolder(d) && (d.dragInfo instanceof ShortcutInfo); 121 return isDragSourceWorkspaceOrFolder(d) && (d.dragInfo instanceof LauncherAppWidgetInfo); 124 return (d.dragSource instanceof Workspace) && (d.dragInfo instanceof FolderInfo); 142 return willAcceptDrop(d.dragInfo); 286 ShortcutInfo shortcut = (ShortcutInfo) d.dragInfo; 294 ItemInfo item = (ItemInfo) d.dragInfo;
|
Workspace.java | [all...] |
Folder.java | 623 final ItemInfo item = (ItemInfo) d.dragInfo; [all...] |
Launcher.java | [all...] |
AppsCustomizePagedView.java | 789 ItemInfo itemInfo = (ItemInfo) d.dragInfo; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
MoveGesture.java | 466 GlobalCanvasDragInfo dragInfo = GlobalCanvasDragInfo.getInstance(); 468 SelectionItem[] selection = dragInfo.getCurrentSelection(); 479 } else if (dragInfo.getSourceCanvas() != null) { 551 GlobalCanvasDragInfo dragInfo = GlobalCanvasDragInfo.getInstance(); 553 Rect controlDragBounds = dragInfo.getDragBounds(); 565 int baseline = dragInfo.getDragBaseline(); [all...] |
PaletteControl.java | 788 GlobalCanvasDragInfo dragInfo = GlobalCanvasDragInfo.getInstance(); 789 dragInfo.startDrag( 794 dragInfo.setDragBounds(dragBounds); 795 dragInfo.setDragBaseline(mBaseline); [all...] |
GestureManager.java | [all...] |