summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorSeigo Nonaka <nona@google.com>2020-09-22 23:40:18 -0700
committerSeigo Nonaka <nona@google.com>2020-10-12 16:56:58 -0700
commit96860dea80caa34a5459ccc6609302678e4b9671 (patch)
tree23bdefd0a57912ef3b624f3c2365653bb2d022c1 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent9d6c55961016822bd728af5c13a9a7e23329efef (diff)
Call minikin::getBounds instead of using Layout.
This is a 2nd attempt of I3f77d2cc3843ac504c7475c7800f2526b403d933 The bounding box is not necessary for drawing text, so it is no longer stored in the Layout object. Instead, calculate by minikin::getBounds function. Bug: 169114687 Test: atest PaintTest Test: atest Paint_TextBoundsTest Change-Id: Ib7c132b1d65369af54b636155c3bdb675415ea55
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions