diff options
author | Raph Levien <raph@google.com> | 2014-08-28 12:53:10 -0700 |
---|---|---|
committer | Raph Levien <raph@google.com> | 2014-08-28 12:56:51 -0700 |
commit | 26c87cfb584d4533c9b47f7cbf75f6921c52b928 (patch) | |
tree | f683b3a7606c17e902af4b6a55f84de04c079c73 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | d266368435ea2e8b59f918b0f3f8154d991dfce7 (diff) |
Ignore width of trailing whitespace for computing ellipsis
We used the full width of a line, including trailing spaces, to compute
ellipsis, sometimes causing spurious ellipsization when the space pushed
it past the layout width. This patch uses only the width up to the last
graphing character.
Fix for bug 17186801 "First line of title text is getting truncated even
if there's space on second line"
Change-Id: I49d07c18c8dd1d3b279f591224d23e10645dc8c0
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions