/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | WorkspaceAccessibilityHelper.java | 51 LauncherAccessibilityDelegate.DragInfo dragInfo = mDelegate.getDragInfo(); in intersectsValidDropTarget() local 53 if (dragInfo.dragType == DragType.WIDGET && !mView.acceptsWidget()) { in intersectsValidDropTarget() 57 if (dragInfo.dragType == DragType.WIDGET) { in intersectsValidDropTarget() 64 int spanX = dragInfo.info.spanX; in intersectsValidDropTarget() 65 int spanY = dragInfo.info.spanY; in intersectsValidDropTarget() 94 if (child == null || child == dragInfo.item) { in intersectsValidDropTarget() 97 } else if (dragInfo.dragType != DragType.FOLDER) { in intersectsValidDropTarget() 113 LauncherAccessibilityDelegate.DragInfo dragInfo = mDelegate.getDragInfo(); in getConfirmationForIconDrop() local 116 if (child == null || child == dragInfo.item) { in getConfirmationForIconDrop() 133 LauncherAccessibilityDelegate.DragInfo dragInfo = mDelegate.getDragInfo(); in getLocationDescriptionForIconDrop() local [all …]
|
D | DragAndDropAccessibilityDelegate.java | 162 LauncherAccessibilityDelegate.DragInfo dragInfo = mDelegate.getDragInfo(); in getItemBounds() local 163 mView.cellToRect(cellX, cellY, dragInfo.info.spanX, dragInfo.info.spanY, mTempRect); in getItemBounds()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragController.java | 143 ItemInfo dragInfo, in startDrag() argument 150 source, dragInfo, dragOffset, dragRegion, initialDragViewScale, dragViewScaleOnDrop, in startDrag() 180 ItemInfo dragInfo, in startDrag() argument 187 source, dragInfo, dragOffset, dragRegion, initialDragViewScale, dragViewScaleOnDrop, in startDrag() 198 ItemInfo dragInfo, in startDrag() argument 273 ItemInfo dragInfo = mDragObject.dragInfo; in onAppsRemoved() local 274 if (dragInfo instanceof WorkspaceItemInfo) { in onAppsRemoved() 275 ComponentName cn = dragInfo.getTargetComponent(); in onAppsRemoved() 276 if (cn != null && matcher.matches(dragInfo, cn)) { in onAppsRemoved()
|
D | LauncherDragController.java | 62 ItemInfo dragInfo, in startDrag() argument 117 dragView.setItemInfo(dragInfo); in startDrag() 129 mDragObject.dragInfo = dragInfo; in startDrag() 130 mDragObject.originalDragInfo = mDragObject.dragInfo.makeShallowCopy(); in startDrag()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DeleteDropTarget.java | 62 setTextBasedOnDragSource(dragObject.dragInfo); in onDragStart() 63 setControlTypeBasedOnDragSource(dragObject.dragInfo); in onDragStart() 117 if (canRemove(d.dragInfo)) { in onDrop() 119 d.dragInfo.container = NO_ID; in onDrop() 128 ItemInfo item = d.dragInfo; in completeDrop()
|
D | Workspace.java | 435 if (dragObject.dragInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET in onDragStart() 445 if (page.hasReorderSolution(dragObject.dragInfo)) { in onDragStart() 455 mStatsLogManager.logger().withItemInfo(dragObject.dragInfo) in onDragStart() 1579 spanX = d.dragInfo.spanX; in acceptDrop() 1580 spanY = d.dragInfo.spanY; in acceptDrop() 1585 if (d.dragInfo instanceof PendingAddWidgetInfo) { in acceptDrop() 1586 minSpanX = ((PendingAddWidgetInfo) d.dragInfo).minSpanX; in acceptDrop() 1587 minSpanY = ((PendingAddWidgetInfo) d.dragInfo).minSpanY; in acceptDrop() 1595 if (mCreateUserFolderOnDrop && willCreateUserFolder(d.dragInfo, in acceptDrop() 1600 if (mAddToExistingFolderOnDrop && willAddToExistingUserFolder(d.dragInfo, in acceptDrop() [all …]
|
D | SecondaryDropTarget.java | 223 ComponentName target = performDropAction(getViewUnderDrag(d.dragInfo), d.dragInfo); in completeDrop() 336 mDragObject.dragInfo.user, PackageManager.MATCH_UNINSTALLED_PACKAGES) == null) { in onLauncherResume()
|
D | ButtonDropTarget.java | 174 mActive = !options.isKeyboardDrag && supportsDrop(dragObject.dragInfo); in onDragStart() 183 return supportsDrop(dragObject.dragInfo); in acceptDrop()
|
D | DropTarget.java | 59 public ItemInfo dragInfo = null; field in DropTarget.DragObject
|
D | Launcher.java | 1278 dragObject.dragInfo = info; in completeAddShortcut()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderIcon.java | 264 public boolean acceptDrop(ItemInfo dragInfo) { in acceptDrop() argument 265 return !mFolder.isDestroyed() && willAcceptItem(dragInfo); in acceptDrop() 276 public void onDragEnter(ItemInfo dragInfo) { in onDragEnter() argument 277 if (mFolder.isDestroyed() || !willAcceptItem(dragInfo)) return; in onDragEnter() 284 ((dragInfo instanceof AppInfo) in onDragEnter() 285 || (dragInfo instanceof WorkspaceItemInfo) in onDragEnter() 286 || (dragInfo instanceof PendingAddShortcutInfo))) { in onDragEnter() 487 if (d.dragInfo instanceof AppInfo) { in onDrop() 489 item = ((AppInfo) d.dragInfo).makeWorkspaceItem(); in onDrop() 492 item = new WorkspaceItemInfo((WorkspaceItemInfo) d.dragInfo); in onDrop() [all …]
|
D | Folder.java | 338 if (dragObject.dragInfo instanceof WorkspaceItemInfo) { in onDragStart() 344 mInfo.remove((WorkspaceItemInfo) dragObject.dragInfo, true); in onDragStart() 865 final ItemInfo item = d.dragInfo; in acceptDrop() 1019 WorkspaceItemInfo info = (WorkspaceItemInfo) d.dragInfo; in onDropCompleted() 1263 PendingAddShortcutInfo pasi = d.dragInfo instanceof PendingAddShortcutInfo in onDrop() 1264 ? (PendingAddShortcutInfo) d.dragInfo : null; in onDrop() 1279 } else if (d.dragInfo instanceof AppInfo) { in onDrop() 1281 si = ((AppInfo) d.dragInfo).makeWorkspaceItem(); in onDrop() 1284 si = (WorkspaceItemInfo) d.dragInfo; in onDrop() 1344 mStatsLogManager.logger().withItemInfo(d.dragInfo).withInstanceId(d.logInstanceId) in onDrop()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarActivityContext.java | 319 ItemInfo dragInfo, Point dragOffset, Rect dragRegion, float initialDragViewScale, in startDrag() argument
|