diff options
author | Raph Levien <raph@google.com> | 2015-04-30 15:27:57 -0700 |
---|---|---|
committer | Raph Levien <raph@google.com> | 2015-04-30 15:38:17 -0700 |
commit | ebd66ca600dc2c43edb0830bcf1a92fafec30a5a (patch) | |
tree | 01fce310f007651a8d7a23991f64e34215d70a41 /rs/java/android/renderscript/RenderScript.java | |
parent | 5b8b0df7bfcbeb8a6ac165fcbcad57aa2b597004 (diff) |
Make Paint a required field of StaticLayout Builder
This patch moves the Paint parameter from being an option set from
setPaint to being a required field passed into the obtain() method
of StaticLayout.Builder. Thus, it is now possible to get a valid
StaticLayout object just doing .build() on the Builder; all other
fields are optional.
This is in preparation for exposing the builder publicly, but that
is to be a separate CL.
Bug: 20190561
Change-Id: Iefd7800203004e565d068b0c76502cf7cf52d91f
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions