summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@google.com>2017-05-24 09:07:52 -0700
committerRoozbeh Pournader <roozbeh@google.com>2017-06-01 16:45:33 -0700
commit538de5bb3b3662c51c17cd9dd24e660c85e88b78 (patch)
tree7ad94ecd9e84f072e55b2356d6227c38dafe05e0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent1cdf223a0e968ead15d37cfb83f9c1ea88a54d6c (diff)
Make underlining spans independent of actual class
Previously, we had singled out UnderlineSpan for special treatment for proper kerning at span boundaries. That had the limitation that any other span that used underlining, or even subclasses of UnderlineSpan were not getting the fix. With this CL, we actually look at all the effects of applying a span's updateDrawState() and if the changes were only in underlining, we merge the pieces and call handleText() on the merged chunk of text. Change-Id: I829162c758192b80594f164d1105699224b627ba Bug: 32907446 Test: cts-tradefed run cts-dev --module CtsTextTestCases Test: cts-tradefed run cts-dev --module CtsWidgetTestCases Test: manual
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions