History log of /packages/apps/Launcher3/src/com/android/launcher3/dragndrop/AddItemActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
64a75aa305bdd1ca8f22d2b48dedc5cada8fabc5 03-Jul-2017 Sunny Goyal <sunnygoyal@google.com> Adding A feature flag to disable widgets and a corresponding build
target Launcher3Go without widgets support

Bug: 62353159
Change-Id: Ia03d2235a9bcf75f9ef191924f81630e63a2c684
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/AddItemActivity.java
80fa41f00f0c468b4ca5bfed801164ec654459cd 22-Jun-2017 Sunny Goyal <sunnygoyal@google.com> Fixing PinItemActivity not getting dismissed when starting drag-and-drop in multi-window mode

Change-Id: Ic5a74dab7cc374efcd32d4c73faa9eb28e9327a4
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/AddItemActivity.java
22ca9ec137ec8eb70026f90591ae01af7669a3b7 19-May-2017 Sunny Goyal <sunnygoyal@google.com> Removing various reflection calls with final APIs

Change-Id: Ibf48d6015d808f86bc79ccf64e3077eb5b6ccaff
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/AddItemActivity.java
1188b89dc421afabd06c1bbf23e3c7f281cfec36 30-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fixing multiwindow drag operation during with rotation." into ub-launcher3-dorval
5a81c3806b31c7763734e287d4cf2ed11294281d 20-Mar-2017 Sunny Goyal <sunnygoyal@google.com> Fixing multiwindow drag operation during with rotation.

> Finishing activity when rotation preference change. This ensures that
any prefenrece change is immediately applied instead of waiting for resume
as the new activity is always started with proper setting.
> Clearing task when starting drag in landscape mode. This ensures that a new
activity instance is started in this case, which overrides previous locked
rotation by launcher activity.
> Handling drag request in onCreate and enabling rotation based on it.
> Clearing any request from the launcher intent once the drag operation
is complete

Bug: 36226746
Change-Id: I69f56c13827c25f3e1bc84935cb2acc59b6bd349
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/AddItemActivity.java
778634c81870ae2013907950a98bb7793802e6c7 21-Mar-2017 Sunny Goyal <sunnygoyal@google.com> Adding logging for various interaction in PinItemRequest UI

Bug: 34766840
Change-Id: Ib29d7d4b53ab99cdf3ff253976ef55345729487b
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/AddItemActivity.java
c65a0085d77edd8e8821254f081eb94e9dcc5e75 08-Mar-2017 Sunny Goyal <sunnygoyal@google.com> Adding support for showing the widget preview based on the provided RemoteViews

Bug: 35811129
Change-Id: I336e48cd00cfec2e617ac73bd8a81419b0944aa7
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/AddItemActivity.java
dec3a908bfa395095e80e4a532cff98612b624de 26-Jan-2017 Sunny Goyal <sunnygoyal@google.com> Updating the preview generation logic so that it aligns better with
the drag source image

> Using common code for pending item drag (WidgetContainerView and PinItemDragListener)
> Adding a shortcut-circuit in Workspace when a pendingItem can create a shortcut
directly. Previously the multi-window drop was routing through onActivityResult which
was causing some state information to be lost.

Bug: 33584624
Change-Id: I0259870032185713caa9bff27092dbae6ce91199
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/AddItemActivity.java
b38fab75735c601b61765ecae61494c8637aaef4 21-Jan-2017 Sunny Goyal <sunnygoyal@google.com> Adding support for drag and drop for requestPinItem.

On long pressing, the confirmation activity starts a system
drag-n-drop and focuses the launcher activity. We then drive
the launcher drag controller using the system drag event

Caveats:
> We use a transparent preview for system drag and drop and use
a view inside launcher for actual preview. This gives us better
control over various animations.
> The parameters for drag operation are passed to the Launcher
activity using the intent. Since onNewIntent and onDragEvent
come at different times and are not associated, a random uuid
is used as mime-type to match the drag event with intent params
> If the workspace is locked (eg, loader is running) the drag
operation is simply dropped. Will be imporved in follow up cls

Bug: 33584624
Change-Id: I0bb5b25b690f86b6af31a14e11beb669fcb3a281
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/AddItemActivity.java
65513ba58c7d22bae2db82be6a2bfd243d844be9 20-Jan-2017 Sunny Goyal <sunnygoyal@google.com> Using WidgetCell in the Pin Item confirmation prompt for a consistent UI
Also fixing some platform API changes in PinItemRequestCompat

Bug: 33584624
Change-Id: I255829f0079f1a3967bf8d6a337da12c890eb7ec
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/AddItemActivity.java
278359539c02ca160caf1df54ce96053a2a2ef59 13-Jan-2017 Sunny Goyal <sunnygoyal@google.com> Adding support for requesting addition of shortcut/widget
on the workspace.

Bug: 33584624
Change-Id: I664366822fe8088742faff2cce006239ab0771bc
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/AddItemActivity.java