summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/graphics/DragPreviewProvider.java
Commit message (Collapse)AuthorAgeFilesLines
* Some optimizations in blur outline generatorSunny Goyal2016-09-021-5/+2
| | | | | | | | | 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
* Moving the state changes during drag-n-drop from startDrag to onDragStartSunny Goyal2016-08-151-0/+11
| | | | | | | This will allow drag controller to optinally defer drag, based on some threshold, by simply deferring the callback onDragStart Change-Id: I17c06a15e2092b9797c7e57529b12a53d2acae6e
* Launcher shortcuts animations update.Sunny Goyal2016-07-271-6/+11
| | | | | | | | | | | > 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
* Increasing the size of the drag icon when a shortcut is draggedSunny Goyal2016-07-211-0/+155
Change-Id: I7d768657300d3229e05d1eb18aec3720a9098ffc