History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/AppIconDragShadowBuilder.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
45837711c017db6cf9fc5c73a9754b3c073e8e5b 20-Jul-2015 James Cook <jamescook@google.com> Fix dragging between icons in the app shelf

Convert the icon margin into internal padding. This ensures
that DRAG_ENTERED events are created when the icon is visually
dragged between the icons.

Also change the drag shadow size computation to force it to be
square, because the icon ImageView is no longer square.

Bug: 22603558
Change-Id: I469df043448e562269b764245135fbf898f004ea
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/AppIconDragShadowBuilder.java
024a14b7f304e22ad99f2090bb855f17912905d5 21-Apr-2015 James Cook <jamescook@google.com> Allow dragging navbar app icons from recents to pinned

* Use an activity launch Intent as drag data for both pinned apps and
recent apps in the shelf
* Create an invisible placeholder app icon when dragging into the pinned
app area
* Use the drag listener on the app icons only for drag-entered; use the
entire NavigationBarApps ViewGroup for start/drop/end. This allows
centralized setup and cleanup of drags.
* Extract IconDragShadowBuilder into a shared class

Bug: 20024603
Change-Id: Iaa698500f0d66f91220e7fac0eea5115181a0156
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/AppIconDragShadowBuilder.java