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/compat/ShortcutConfigActivityInfo.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/compat/ShortcutConfigActivityInfo.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/compat/ShortcutConfigActivityInfo.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/compat/ShortcutConfigActivityInfo.java
|
782f0c9a896db58aeaa60d15f291831b8d7b4c93 |
|
19-Jan-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Adding support for new APIs in O related to configurable shortcuts > Config activities can now return PinItemRequest which can be used to pin deep shortcuts Bug: 33584624 Change-Id: Ic0df436bd79e069615b9d60d24eb7594b824b2da
/packages/apps/Launcher3/src/com/android/launcher3/compat/ShortcutConfigActivityInfo.java
|