summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2014-11-17 12:32:06 -0800
committerRaph Levien <raph@google.com>2014-11-17 12:32:06 -0800
commit396879f3f88e6384588c421c7e57ceef932aad59 (patch)
treebdfa2668c15d23d33b5d520828f4080455aa394c /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent705c9c131a6df977a2e9430cacb84788ef0cecbf (diff)
Fix missing ellipsis when just one character is truncated
The "moreChars" test in StaticLayout's generate method would evaluate to false when the last character in a word caused the break. This in turn suppressed the ellipsis in this case. The proposed fix is always to set moreChars true in the code path where the line is broken because more text wouldn't fit. Bug: 17738112 Change-Id: Ifa1a69841ca952da4d1937dc8326778179b026b3
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions