commit | 43cbf55800c932c1225772a4b1ec0eb0b8c3d5d9 | [log] [tgz] |
---|---|---|
author | Aaron Whyte <awhyte@google.com> | Fri Jun 12 10:27:20 2015 -0700 |
committer | Aaron Whyte <awhyte@google.com> | Fri Jun 12 10:27:20 2015 -0700 |
tree | 2836860f0645419e9d56199c0a2f332290cf6db9 | |
parent | 43d67af6bbd5037e03b6bce2ea82512d281c0565 [diff] |
Fixed the tilt watchface left/right reversal. Fixed a reversed sign in the tilt watchface that cause the minute and hour hands to be left/right inverted. Bug: 21732906 Change-Id: I174fabf006b793c907817ea0469050aa02b352f8
diff --git a/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/TiltWatchFaceService.java b/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/TiltWatchFaceService.java index ffb0b6c..879473c 100644 --- a/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/TiltWatchFaceService.java +++ b/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/TiltWatchFaceService.java
@@ -45,7 +45,7 @@ private static final long FPS = 60; /** Z distance from the camera to the watchface. */ - private static final float EYE_Z = 2.3f; + private static final float EYE_Z = -2.3f; /** How long each frame is displayed at expected frame rate. */ private static final long FRAME_PERIOD_MS = TimeUnit.SECONDS.toMillis(1) / FPS;