commit | 4a787a18395764974af783bf1a52bcf8e479de88 | [log] [tgz] |
---|---|---|
author | Stevie Kideckel <kideckel@google.com> | Mon May 10 12:41:58 2021 +0000 |
committer | Stevie Kideckel <kideckel@google.com> | Wed May 12 16:55:25 2021 +0000 |
tree | 88598781b3a2355f9f40d5a1c7f66b8aea58ab67 | |
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