summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2016-02-18 11:31:56 -0800
committerKeisuke Kuroyanagi <ksk@google.com>2016-02-18 11:31:56 -0800
commit4c8a52647814badd361ebd13813180b8db9b923e (patch)
tree01292fa461e003b87a69c7ca2a8dd4f32b9a16ef /tools/aapt2/java/JavaClassGenerator_test.cpp
parent519e0591fe59bb03571e900ee53327d132e3e4b8 (diff)
Optimize: Use measureText instead of doLayout.
measureText is a light weight method dedicated to measure text width. With this CL, breakText, doRunAdvance and doOffsetForAdvance use measureText. Bug: 24505153 Change-Id: Ibd62de2e0fe2e196cf07472f2270cc8c6325daab
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions