commit | 938643a5dcda870b1884339da464fe6bad0b6a0f | [log] [tgz] |
---|---|---|
author | Aaron Whyte <awhyte@google.com> | Wed May 13 16:31:18 2015 -0700 |
committer | Aaron Whyte <awhyte@google.com> | Thu May 14 16:18:11 2015 -0700 |
tree | dd2b24906538af90fb2f346c8eff251b64027600 | |
parent | d32b4e42dc01c51e9c4cc97cfb59b5388bd8f7ca [diff] |
Replaced deprecated "Time" with Calendar. Some other minor tweaks: - Clarified analog watch-hand trig, like changing "minute / 30f * (float) Math.PI" to "minute / 60 * TWO_PI". - Made the Canvas analog minute hands move on every redraw, like a real analog watch. - Replaced a deprecated getDrawable() call. - Added 24-hour format support to digital clock. Bug: 20012980 Change-Id: I58f070301c0d706b6c93794caa6fe3c310e605b1