summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@google.com>2017-08-25 15:53:33 -0700
committerRoozbeh Pournader <roozbeh@google.com>2017-08-25 15:53:33 -0700
commit53aba29e425a62878ee1670d7d146ba94b25a0fd (patch)
tree4f9944e3e14c89aafa804fb19ca321ad51ac46a9 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent69332c48b9e314b0957332694f4a0b85585735f4 (diff)
Correct missed use of work paint for hyphenation
The change in I0b95a10c05711350950d6c8d6501f6af9414d413 copied the Paint to a work paint to make sure we don't modify it, but missed actually using that Paint, resulting in hyphenation basically getting ignored in getLineExtent(). Now we correctly pass the work paint to the TextLine used. Change-Id: Ida89ba2b11d35d93012abb0adf9bb29d1b09c2d2 Fixes: 64998667 Bug: 33388205 Bug: 64452136 Test: bit FrameworksCoreTests:android.widget.TextViewTest Test: bit FrameworksCoreTests:android.text. Test: bit CtsTextTestCases:android.text.cts.
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions