commit | 5421e810233ecadf0ebc7d7760dc9ac07a141e6c | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Tue Apr 11 10:40:55 2017 -0700 |
committer | Seigo Nonaka <nona@google.com> | Wed Apr 12 07:12:41 2017 -0700 |
tree | f7ad7542f603c097a9a7267f5ed3a6996f26c95d | |
parent | 1f58ad1a2f1a88fb154297080e2b97bbf47f4aa4 [diff] |
Update Typeface.Builder API to reflect API feedback. - Stop pooling and remove reset method. - Introduce overloaded constructors instead of setSource methods. - Make italic parameter boolean and treat "not called" as RESOLVE_BY_FONT_TABLE. - Remove constants and move them to Typeface with private static constant. - Fix JavaDoc. Bug: 37082657 Test: android.graphics.cts.TypefaceTest passed Change-Id: I0c50cf3e2d50c0021f7e12bbb7ed7ae89fa1c2a1