summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2015-04-30 16:29:59 -0700
committerRaph Levien <raph@google.com>2015-05-01 15:15:48 -0700
commit531c30c62b14881aab31a5133920a971b1fbb50e (patch)
tree71dbfc0935e9b5ce5df3c50ddb9c4099be83b04e /rs/java/android/renderscript/RenderScript.java
parentebd66ca600dc2c43edb0830bcf1a92fafec30a5a (diff)
Expose StaticLayout.Builder publicly
Expose the new Builder pattern for creating StaticLayout. This allows access to a number of features that have been available to TextView through a hidden constructor. Some of these features have existed for a while (mostly maxLines), while others are new (breakStrategy, indents). The builder is cleaner and has a better upgrade path than the old pattern of lots of constructors with varying numbers of arguments. Bug: 20190561 Change-Id: Ia3cd124825ab0cb469d22d1fc576ad26454545b8
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions