History log of /packages/apps/Launcher3/src/com/android/launcher3/graphics/DragPreviewProvider.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1322f9cb9a8715d463094e13079af7e6e689429a 23-Jun-2017 Hyunyoung Song <hyunyoungs@google.com> Fixing drag outline not getting drawn when the shortcuts popup is shown.

Shortucts popup uses predrag listener to manage the transient state of
the icon. Fixing the order of PredragListener, such that predragEnd gets
called before dragStart. This allows the transient state to be cleared
before any other state changes are done by onDragStart.

Bug: 62544416
Change-Id: I77c9a1aa17a15fe6f9f342af7a7fe3092a9d026b
/packages/apps/Launcher3/src/com/android/launcher3/graphics/DragPreviewProvider.java
3d706ad70365052e3224fc4f4b0e7d1f5e8abf22 07-Mar-2017 Sunny Goyal <sunnygoyal@google.com> Separating the config and flags in different directories so that
it is easier to override one or the other

Bug: 36001650
Change-Id: I713f4f5dbcf902614ce9f6c7a73bdace7bdf1ea0
/packages/apps/Launcher3/src/com/android/launcher3/graphics/DragPreviewProvider.java
96ac68a481ce5b794b5227e09ace7c30d6dd5e7b 03-Feb-2017 Sunny Goyal <sunnygoyal@google.com> Updating the PreloadIconDrawable

> The drawable gets the path from MaskIconDrawable path, instead of
using a circle
> The progress changes are animated as well

Bug: 34831873
Change-Id: I4e7f0b610f4fd94de8e0cfcf8b179b775cf0b4d8
/packages/apps/Launcher3/src/com/android/launcher3/graphics/DragPreviewProvider.java
bf8a265deb093e147a5289e0958cc9b1bc50a6e3 30-Dec-2016 Jonathan Miranda <jonmiranda@google.com> Merge "Fix widget reorder animations in multi-window mode." into ub-launcher3-master
c9c57631a985a8e1a4eac17ef0952bd344e281a2 13-Oct-2016 Jon Miranda <jonmiranda@google.com> Fix clipping of drag outline by increasing padding.

Low resolution will be addressed in future CL.

Bug: 31915722
Change-Id: I6bdd32b7a30819fde1f15473a63ac280029b6715
/packages/apps/Launcher3/src/com/android/launcher3/graphics/DragPreviewProvider.java
2126691ce23b4c62e6d17cb9643faf4c2b3886da 19-Dec-2016 Jon Miranda <jonmiranda@google.com> Fix widget reorder animations in multi-window mode.

The original animation assumed that the views are not
translated and not scaled. In multi-window mode this
assumption is no longer valid, because app widgets are
scaled and translated to fit center within their cells.

Bug: 32176631
Change-Id: Id60c793730d982277c9d91860e9fb0e6a0df7d38
/packages/apps/Launcher3/src/com/android/launcher3/graphics/DragPreviewProvider.java
f7ff3fe58a5daea94cbb641aa09a0eb4a5d2f8c3 05-Dec-2016 Jon Miranda <jonmiranda@google.com> Scale widgets when dragging and dropping in multi-window mode.

This change mimics the non-MW mode behavior when dragging and
dropping widgets by taking the app widget scale into consideration.
This ensures a consistant drag and drop experience between
MW mode and non-MW mode.

* Uses cell data (cell height/width, spanX/Y) to get the expected
widget sizes.
* Scales sizes when necessary.

Bug: 32176631
Change-Id: Icdaf73ecd89a30e57fe7f405292d793f2d6a3ee8
/packages/apps/Launcher3/src/com/android/launcher3/graphics/DragPreviewProvider.java
0de011705b132eacdd10f7bfb5cdc4bd79a147e8 06-Oct-2016 Hyunyoung Song <hyunyoungs@google.com> Code sanitization

- Removed bad method/class name typos

Change-Id: Ie6900e9e3d9ce9b550d2a2442a5dac3f7050a573
/packages/apps/Launcher3/src/com/android/launcher3/graphics/DragPreviewProvider.java
10629b077c65b648be6a8603a092322d8a2c2c50 01-Sep-2016 Sunny Goyal <sunnygoyal@google.com> Moving some image handling classes to .graphics package

Change-Id: Id6d3d0b9c345a503ff2e09f073eb4b6449e21c7e
/packages/apps/Launcher3/src/com/android/launcher3/graphics/DragPreviewProvider.java
f28e6afafdc8b5afbdf99910668a38f9252bfb47 01-Sep-2016 Sunny Goyal <sunnygoyal@google.com> Some optimizations in blur outline generator

1) Using ALPHA_8 as the start and end bitmap. This removes one extra
bitmap generation step
2) Using ByteBuffer on ALPHA_8 bitmap for clipAlpha. This allows us
to use byteArray instead of intArray for representing pixels

Change-Id: I1b654c439fd491b6b91180ddc562bb97fad857aa
/packages/apps/Launcher3/src/com/android/launcher3/graphics/DragPreviewProvider.java
06e21a25877db7207b5393ab163028bb4116df4f 12-Aug-2016 Sunny Goyal <sunnygoyal@google.com> Moving the state changes during drag-n-drop from startDrag to onDragStart

This will allow drag controller to optinally defer drag, based on some
threshold, by simply deferring the callback onDragStart

Change-Id: I17c06a15e2092b9797c7e57529b12a53d2acae6e
/packages/apps/Launcher3/src/com/android/launcher3/graphics/DragPreviewProvider.java
a2454ad2d8dcffa94f670853eb464726c73597f1 22-Jul-2016 Sunny Goyal <sunnygoyal@google.com> Launcher shortcuts animations update.

> The shortcut container closes with an animation
> When opening/closing the animation only the icon scales
and not the title and drag handle
> When dragging the icon, it starts from the original icon position and
moves under the user finger. The container grows to follow the drag view.

Bug: 28980830
Change-Id: Ic0353c30b682d1f018cbf4d62e8a6e8e7d7d4664
/packages/apps/Launcher3/src/com/android/launcher3/graphics/DragPreviewProvider.java
157793dda450b69da388b859d1c1a7a1083c4ec9 20-Jul-2016 Sunny Goyal <sunnygoyal@google.com> Increasing the size of the drag icon when a shortcut is dragged

Change-Id: I7d768657300d3229e05d1eb18aec3720a9098ffc
/packages/apps/Launcher3/src/com/android/launcher3/graphics/DragPreviewProvider.java