OSDN Git Service

Add badges to folders
authorTony Wickham <twickham@google.com>
Thu, 2 Feb 2017 20:42:50 +0000 (12:42 -0800)
committerTony Wickham <twickham@google.com>
Tue, 7 Feb 2017 18:09:10 +0000 (10:09 -0800)
commit11ba507eab83f591b924ae42d42fa47073b78917
treeda2d6a2c9ee62264c20c514ae8989aafed0c3f3c
parentdb7b82960a54b85510aaeba2f543b37b4dc59fc8
Add badges to folders

- The folder badge contains the sum of the badge counts within.
- This is represented by FolderBadgeInfo, a subclass of BadgeInfo.

Bug: 34828806
Bug: 32410600
Change-Id: I977a69cc7baf80a7207af9adf98dddb0a3509c47
src/com/android/launcher3/Workspace.java
src/com/android/launcher3/badge/FolderBadgeInfo.java [new file with mode: 0644]
src/com/android/launcher3/folder/FolderIcon.java
src/com/android/launcher3/graphics/IconPalette.java