commit | f665a3295000941e98175ab5d2f355d4b46959ce | [log] [tgz] |
---|---|---|
author | Hyunyoung Song <hyunyoungs@google.com> | Mon Jan 09 15:07:26 2017 -0800 |
committer | Hyunyoung Song <hyunyoungs@google.com> | Tue Jan 24 12:00:02 2017 -0800 |
tree | 27b6da2212a5152f08ac0280175005cb0d1d9cc7 | |
parent | a132bbd5a8651746d6fe3a4cd23e413785ed15d7 [diff] |
Adds MaskableIconDrawable class to android.graphics.drawable package Test: manual test ag/1774462, cts tests ag/1813947 Bug: 32063838 Design doc: http://go/layered-icons-eng - Reads in the mask path from config. - If <maskable-icon> is dynamically created, clip the drawable using the mask path. - Instead of using clipPath method, used BitmapShader for performance. Change-Id: If5b4a24127bf823477c6c5d8a81d5093501d58e7