commit | 19b93b7988c12a25d9a88ca808d871916263ef9f | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Sun Feb 19 20:21:37 2017 -0800 |
committer | Sunny Goyal <sunnygoyal@google.com> | Fri Mar 03 12:51:26 2017 -0800 |
tree | a82ed769d61b543100be2e162da149c63d973b74 | |
parent | 4ff3457e77915b596cfa896a4f98283ace2314de [diff] |
Updating FolderIcon drawing to avoid dependency on software layer. Instead of cliping using clipPath, using PorterDuffXfermode to clear area outside the bounds. This provides much better support for antialiasing. Software layer was also being used for drawing shadow. But since the paint color was set to transparent, no shadow was being drawn in O. Instead drawing the shadow using radial gradient. Bug: 35680116 Bug: 35428783 Change-Id: I0431664400628d5d01675fe72fe7ade01b64d611