Tony Wickham
9a8d11f930
FastBitmapDrawable can draw an icon badge (notification count)
...
- Added BadgeInfo to contain data to be shown in a badge
(currently just notification count).
- Added BadgeRenderer in DeviceProfile to contain things
relevant to drawing the badge, such as size and Paint's.
- Added IconPalette to compute colors for the badge based
on a dominant color (will also be used for notifications)
- FastBitmapDrawable uses these classes to draw the badge.
Bug: 32410600
Change-Id: I6595a4879943357590f7d20c22594691a573ecaf
2017-01-13 10:58:10 -08:00
..
2016-12-29 15:12:14 -08:00
2017-01-11 00:26:29 +00:00
2016-10-26 18:34:21 -07:00
2017-01-13 10:58:10 -08:00
2017-01-03 15:58:53 -08:00
2016-12-29 21:29:31 +00:00
2016-11-08 09:37:34 -08:00
2016-12-16 15:05:09 -08:00
2017-01-13 10:58:10 -08:00
2016-12-16 15:05:09 -08:00
2017-01-09 14:27:56 -08:00
2017-01-10 13:53:50 -08:00
2016-11-24 15:32:45 +05:30
2017-01-09 14:27:56 -08:00
2016-10-18 11:44:21 +01:00
2017-01-03 15:58:53 -08:00
2016-09-13 14:22:31 -07:00
2017-01-10 13:53:50 -08:00
2016-12-29 21:29:31 +00:00
2016-10-10 13:36:03 -07:00
2016-09-02 18:28:20 +00:00
2016-12-15 22:06:10 -08:00
2016-12-13 23:39:16 -08:00
2016-12-12 17:01:11 +00:00
2017-01-03 15:58:53 -08:00
2017-01-09 19:48:01 +00:00
2017-01-10 13:53:50 -08:00
2016-11-19 23:40:07 +05:30
2016-11-02 16:56:52 -07:00
2016-10-18 21:36:29 +01:00
2017-01-03 14:22:26 -08:00
2017-01-13 10:58:10 -08:00
2016-12-16 15:05:09 -08:00
2016-12-30 00:42:11 +00:00
2016-06-29 17:48:46 -07:00
2016-07-20 16:21:24 -07:00
2014-12-05 16:18:41 -08:00
2017-01-05 14:07:58 -08:00
2015-04-23 16:18:40 -07:00
2016-12-13 23:39:16 -08:00
2017-01-13 10:58:10 -08:00
2016-12-13 23:39:16 -08:00
2016-12-13 23:39:16 -08:00
2016-12-13 23:39:16 -08:00
2016-10-10 13:36:03 -07:00
2017-01-13 10:58:10 -08:00
2015-03-20 11:15:54 -07:00
2016-10-12 14:38:43 -07:00
2016-12-15 22:06:10 -08:00
2016-12-15 09:30:35 -08:00
2017-01-05 13:55:35 -08:00
2016-12-12 17:01:11 +00:00
2016-12-29 15:12:14 -08:00
2015-04-08 19:01:34 -07:00
2016-07-01 16:55:52 -07:00
2017-01-10 13:53:50 -08:00
2015-03-20 11:15:54 -07:00
2016-11-21 15:20:16 +05:30
2016-12-15 22:06:10 -08:00
2017-01-03 15:58:53 -08:00
2017-01-10 13:53:50 -08:00
2015-10-12 13:34:28 -07:00
2016-12-16 15:05:09 -08:00
2016-12-29 15:12:14 -08:00
2017-01-09 14:42:52 -08:00
2016-12-15 22:06:10 -08:00
2016-12-29 15:12:14 -08:00
2017-01-09 14:27:56 -08:00
2016-09-13 14:22:31 -07:00
2016-09-13 14:22:31 -07:00
2016-07-09 16:19:26 -07:00
2017-01-10 13:53:50 -08:00
2016-12-29 15:12:14 -08:00
2016-10-18 11:44:21 +01:00
2016-07-20 10:17:08 -07:00
2015-04-15 09:10:18 +01:00
2016-07-09 16:19:26 -07:00
2016-12-16 15:05:09 -08:00
2015-08-05 12:04:06 -07:00
2016-05-04 00:21:45 +00:00
2016-05-04 00:21:45 +00:00
2014-04-16 14:16:14 +02:00
2014-01-09 14:08:49 -08:00
2016-12-15 09:30:35 -08:00
2017-01-04 09:29:16 -08:00
2015-05-22 08:46:41 -07:00
2016-10-06 10:57:29 -07:00
2017-01-05 13:55:35 -08:00
2016-12-15 09:30:35 -08:00
2016-03-17 19:17:34 +00:00
2016-11-14 17:43:31 -08:00
2016-12-08 14:13:27 -08:00
2016-06-08 12:00:02 -07:00
2016-12-20 09:31:47 -08:00
2017-01-10 13:51:01 -08:00
2015-08-21 11:18:14 -07:00
2015-08-24 17:20:59 +00:00
2016-12-16 15:05:09 -08:00
2017-01-13 10:58:10 -08:00
2016-12-16 15:05:09 -08:00
2017-01-13 10:58:10 -08:00
2016-11-24 15:32:45 +05:30