OSDN Git Service

Updating the virtual preloader UX.
authorSunny Goyal <sunnygoyal@google.com>
Mon, 4 Aug 2014 17:53:22 +0000 (10:53 -0700)
committerSunny Goyal <sunnygoyal@google.com>
Mon, 11 Aug 2014 19:32:04 +0000 (12:32 -0700)
commit95abbb330ce9bbaf23594245f0f8a795c8118038
tree3d72a2655eb05efd10c9d5c5e29cc40d2b40838b
parent6551b7ef07b4d73c096cbfb22002e080b498cbbb
Updating the virtual preloader UX.

> No click feedback when in preloader mode
> No preloader UI when drawn in drag layer
> The preloader consists of a background 9 patch image and a circular progress
is drawn in the content region of the background.
> The preloader is drawn in a slightly larget area than the actual bounds to
make the circular progress more prominent compared to the icon.

issue: 15835307
Change-Id: Ifec3d93ecf1fac994d1128b517da3797247e7ed6
12 files changed:
res/drawable-xxhdpi/virtual_preload.9.png [new file with mode: 0644]
res/drawable-xxhdpi/virtual_preload_folder.9.png [new file with mode: 0644]
res/values/attrs.xml
res/values/styles.xml
src/com/android/launcher3/BubbleTextView.java
src/com/android/launcher3/DragLayer.java
src/com/android/launcher3/FastBitmapDrawable.java
src/com/android/launcher3/Folder.java
src/com/android/launcher3/FolderIcon.java
src/com/android/launcher3/PreloadIconDrawable.java
src/com/android/launcher3/Utilities.java
src/com/android/launcher3/Workspace.java