OSDN Git Service

Remove need for software layer drawing percentage text.
authorJohn Spurlock <jspurlock@google.com>
Wed, 5 Feb 2014 16:56:17 +0000 (11:56 -0500)
committerJohn Spurlock <jspurlock@google.com>
Wed, 5 Feb 2014 16:56:17 +0000 (11:56 -0500)
commit1fd0b933b86bbb20bad278de5c5c3fd268b4645b
treef1c68789e922dd99a21e0ca8467e381b6792ea92
parent2a1fdefe16046860fcaf524af4fc380d850d28bb
Remove need for software layer drawing percentage text.

When the text is transparent, use the same approach as the bolt
to punch it through the rest of the shape - by first rendering the
text into a path.

When the text is opaque, draw the text on top as before.

Change-Id: I50f201b1bf0f92164728e3237ec45e22eb788d52
packages/SystemUI/src/com/android/systemui/BatteryMeterView.java