diff options
author | Stevie Kideckel <kideckel@google.com> | 2021-05-10 12:41:58 +0000 |
---|---|---|
committer | Stevie Kideckel <kideckel@google.com> | 2021-05-12 16:55:25 +0000 |
commit | 4a787a18395764974af783bf1a52bcf8e479de88 (patch) | |
tree | 88598781b3a2355f9f40d5a1c7f66b8aea58ab67 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c2baf8f5e4b836c37706a247a986c8feb6f241ee (diff) |
Performance/jank improvements to AnalogClock
This addresses rounding of the seconds hand fraction to avoid
advancing by inconsistent amounts.
It also moves to a less janky 30FPS update rate.
This also optimizes seconds ticking to only schedule callbacks as needed
and avoids spurious updates to the content description.
Also, potential NPE fix and dead code removed.
Bug: 186099601
Test: Local testing with sample app
Change-Id: I771b4c3f1d18f7836cd42202810a1495d25a9db5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions