summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMatthew Bouyack <mbouyack@google.com>2016-10-24 14:01:26 -0700
committerMatthew Bouyack <mbouyack@google.com>2016-10-24 16:09:15 -0700
commit8dd88f649b0cee33588a154a942195c0920d59a1 (patch)
treefd51f3ca651b31b8456ec72679afc91fa6736602 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent593f9cdde081631edf57433c8372d03a2e688126 (diff)
Avoid redundant setMatrix calls from setMatrixInTransaction
This matches the behavior of setPositionInTransaction and setSizeInTransaction. By eliminating calls to setMatrix, we avoid triggering redundant SurfaceFlinger invalidates. This is particularly noteworthy on Android Wear where we must update the minute hand every 60 seconds, but want the device to spend as much time sleeping as possible. See b/31489482 Change-Id: I424bb9f60c3033921fa04e7abcfc552500114f1f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions