History log of /packages/apps/Launcher3/src/com/android/launcher3/DragSource.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0f76b56865bd7b63bd21d53aaac47300396aa38f 14-Dec-2016 Sunny Goyal <sunnygoyal@google.com> Refactoring FlingToDelete

> Moving all fling related logic to FlingToDeleteHelper from DragController
> Removing fling related methods from DragSource and DropTarget
> Moving fling animation logic from DeleteDropTarget to FlingAnimation
> Simplifying DropTargetBar to directly look for all valid drop targets.
This makes it easier to add new DropTarget in xml.

Change-Id: I7214d2d30c907ab93c80d92d9f9be6dda2d63354
/packages/apps/Launcher3/src/com/android/launcher3/DragSource.java
df7ef68bbf36f8bbf015ace74fce0e00142b2e23 07-Oct-2016 Hyunyoung Song <hyunyoungs@google.com> Refactors in UserEventDispatcher

- LaunchSource -> LogContainer

Change-Id: I71bfee992fb1ba7ae80e824d419f7bf8d3020999
/packages/apps/Launcher3/src/com/android/launcher3/DragSource.java
59a238095e82fd02355f4cb53abe01655a50b051 01-Sep-2016 Hyunyoung Song <hyunyoungs@google.com> Support user event logging for drag and drop
b/30039490

Supported in this CL:
- DnD: drag from container [WORKSPACE|HOTSEAT|FOLDER|ALLAPPS|WIDGETS|DEEPSHORTCUTS]
drag to container [HOTSEAT,WORKSPACE,FOLDER,DROPTARGETS]
- Source and target can be [FOLDER_ICON, ICON, DEEPSHORTCUT, WIDGET]
- $ adb shell setprop log.tag.UserEvent DEBUG will turn on debugging

Change-Id: I0b8b879b80e6dce85bbde6e7794f9e0677832603
/packages/apps/Launcher3/src/com/android/launcher3/DragSource.java
9aae47f8a6e23f1805ee3d44512fc1f80286e6dd 01-Oct-2015 Tony Wickham <twickham@google.com> Added 'Cancel' drop target from all apps and widget picker.

- Reuse DeleteDropTarget since it's the same effect, but with "Cancel"
instead of "Remove" if supportsDeleteDropTarget() returns false.
- Rename related strings (but not their values)

Bug: 24104015
Bug: 24099531
Change-Id: Ia9fbcaa17bb17f7aa31df1f830298da01544c178
/packages/apps/Launcher3/src/com/android/launcher3/DragSource.java
3f471440a8b6b71d4c15501a96befd3b715c9e8f 09-Apr-2015 Hyunyoung Song <hyunyoungs@google.com> WidgetTray revamp work
- RecyclerView is rendering
- Animation is connected
- Drag and drop is now handled
- UI tweaking: background, margins, more to come.
- Flicker and preview not loading issue:
fixed height for the horizontal scroll view.
- Shortcuts are added
- Widget Preview loading should support shortPress for drop
- UI tweaks left: overlay of arrow when there are more items to scroll
- icons are added in the section header
- Sorting of widget sections and widget horizontal list
- Adding all the padding constants to dimen.xml file
- RecyclerView should only support one view type

For items to be addressed in follow up patches OR CLs,
TODO is added to the comment.

b/19897708

Change-Id: Ibfc4da1696a23d20bada93db46e126706eb13cdc
/packages/apps/Launcher3/src/com/android/launcher3/DragSource.java
1eeb3fc9d874d98dfb43883d17efb4202d83d88a 25-Nov-2013 Mathew Inwood <mathewi@google.com> Generalize support for 'App Info', 'Uninstall' and 'Delete'

This allows other DragSource's to allow this behaviour, instead of it being
tied to specific source types.

Change-Id: I06b7c39b1b34a0ae141245bcc13b6a0873a4c0fd
/packages/apps/Launcher3/src/com/android/launcher3/DragSource.java
eeb5bbc9409978cc2ae52d48380399fcde3d9f85 14-Nov-2013 Winson Chung <winsonc@google.com> Use the icon bounds for all calculations.

- Fixes a drag and drop issue when the dynamic
grid scales icons down, due to the drawable bounds
not being equal to their bitmap sizes.

Change-Id: If7c68b51131de7bac3195a2619e22340f7789432
/packages/apps/Launcher3/src/com/android/launcher3/DragSource.java
325dc23624160689e59fbac708cf6f222b20d025 06-Jun-2013 Daniel Sandler <dsandler@android.com> Launcher2 is now Launcher3.

Changes include
- moving from com.android.launcher{,2} to
com.android.launcher3
- removing wallpapers
- new temporary icon

Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b
/packages/apps/Launcher3/src/com/android/launcher3/DragSource.java