summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@google.com>2016-06-09 18:36:47 -0700
committerRoozbeh Pournader <roozbeh@google.com>2016-06-09 18:46:31 -0700
commit8823c85f0a98988a21bddedf1e1c3fb725258ba1 (patch)
treea4098bf7fadca9890dd90305e5cc598b06134439 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentce9b1fa9e2c808907d5a2fea37527a805334731b (diff)
Clean up TextUtils.doesNotNeedBidi()
One of the signatures of the method that used CharSequence was unused. The other's implementation was too crude, resulting in too many false negatives. The new code now shares logic with BoringLayout in order to detect potential bidi-affecting characters. The logic is intentionally rough in order to be efficient: we still have false negatives, but not as many as before. Bug: 29254696 Change-Id: I106133369e93e49d7b2fe82ffc433e4556740ee8
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions