aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Walker <jewalker@google.com>2015-12-11 14:56:52 -0800
committerJeremy Walker <jewalker@google.com>2015-12-11 14:56:52 -0800
commite1da5e3d2006a31015295ebdbcc9cbb58023f6c3 (patch)
tree861e78a809f2d6207b32a3b8150e3392cfb8d58c
parent82d4f37ac922a4de084196989f60c5ac65029cb9 (diff)
downloadandroid-e1da5e3d2006a31015295ebdbcc9cbb58023f6c3.tar.gz
Fixes incorrect spelling of variables.
Change-Id: I4cefb5198f4dfdbe9483301ecdf36df983c48a7a
-rw-r--r--wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/AnalogWatchFaceService.java10
-rw-r--r--wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/InteractiveWatchFaceService.java2
-rw-r--r--wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/SweepWatchFaceService.java10
3 files changed, 11 insertions, 11 deletions
diff --git a/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/AnalogWatchFaceService.java b/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/AnalogWatchFaceService.java
index fb86ac70..9fd73a58 100644
--- a/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/AnalogWatchFaceService.java
+++ b/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/AnalogWatchFaceService.java
@@ -87,7 +87,7 @@ public class AnalogWatchFaceService extends CanvasWatchFaceService {
/* Colors for all hands (hour, minute, seconds, ticks) based on photo loaded. */
private int mWatchHandColor;
- private int mWatchHandHightlightColor;
+ private int mWatchHandHighlightColor;
private int mWatchHandShadowColor;
private Paint mHourPaint;
@@ -151,7 +151,7 @@ public class AnalogWatchFaceService extends CanvasWatchFaceService {
/* Set defaults for colors */
mWatchHandColor = Color.WHITE;
- mWatchHandHightlightColor = Color.RED;
+ mWatchHandHighlightColor = Color.RED;
mWatchHandShadowColor = Color.BLACK;
mHourPaint = new Paint();
@@ -169,7 +169,7 @@ public class AnalogWatchFaceService extends CanvasWatchFaceService {
mMinutePaint.setShadowLayer(SHADOW_RADIUS, 0, 0, mWatchHandShadowColor);
mSecondPaint = new Paint();
- mSecondPaint.setColor(mWatchHandHightlightColor);
+ mSecondPaint.setColor(mWatchHandHighlightColor);
mSecondPaint.setStrokeWidth(SECOND_TICK_STROKE_WIDTH);
mSecondPaint.setAntiAlias(true);
mSecondPaint.setStrokeCap(Paint.Cap.ROUND);
@@ -193,7 +193,7 @@ public class AnalogWatchFaceService extends CanvasWatchFaceService {
Log.d(TAG, "Palette: " + palette);
}
- mWatchHandHightlightColor = palette.getVibrantColor(Color.RED);
+ mWatchHandHighlightColor = palette.getVibrantColor(Color.RED);
mWatchHandColor = palette.getLightVibrantColor(Color.WHITE);
mWatchHandShadowColor = palette.getDarkMutedColor(Color.BLACK);
updateWatchHandStyle();
@@ -261,7 +261,7 @@ public class AnalogWatchFaceService extends CanvasWatchFaceService {
} else {
mHourPaint.setColor(mWatchHandColor);
mMinutePaint.setColor(mWatchHandColor);
- mSecondPaint.setColor(mWatchHandHightlightColor);
+ mSecondPaint.setColor(mWatchHandHighlightColor);
mTickAndCirclePaint.setColor(mWatchHandColor);
mHourPaint.setAntiAlias(true);
diff --git a/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/InteractiveWatchFaceService.java b/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/InteractiveWatchFaceService.java
index 1a6f25b5..7a50208a 100644
--- a/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/InteractiveWatchFaceService.java
+++ b/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/InteractiveWatchFaceService.java
@@ -30,7 +30,7 @@ import android.view.SurfaceHolder;
import android.view.WindowInsets;
/**
- * Demostrates interactive watch face capabilities, i.e., touching the display and registering
+ * Demonstrates interactive watch face capabilities, i.e., touching the display and registering
* three different events: touch, touch-cancel and tap. The watch face UI will show the count of
* these events as they occur. See the {@code onTapCommand} below.
*/
diff --git a/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/SweepWatchFaceService.java b/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/SweepWatchFaceService.java
index 0ba2ab93..a94097fe 100644
--- a/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/SweepWatchFaceService.java
+++ b/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/SweepWatchFaceService.java
@@ -78,7 +78,7 @@ public class SweepWatchFaceService extends CanvasWatchFaceService {
/* Colors for all hands (hour, minute, seconds, ticks) based on photo loaded. */
private int mWatchHandColor;
- private int mWatchHandHightlightColor;
+ private int mWatchHandHighlightColor;
private int mWatchHandShadowColor;
private Paint mHourPaint;
@@ -123,7 +123,7 @@ public class SweepWatchFaceService extends CanvasWatchFaceService {
/* Set defaults for colors */
mWatchHandColor = Color.WHITE;
- mWatchHandHightlightColor = Color.RED;
+ mWatchHandHighlightColor = Color.RED;
mWatchHandShadowColor = Color.BLACK;
mHourPaint = new Paint();
@@ -141,7 +141,7 @@ public class SweepWatchFaceService extends CanvasWatchFaceService {
mMinutePaint.setShadowLayer(SHADOW_RADIUS, 0, 0, mWatchHandShadowColor);
mSecondPaint = new Paint();
- mSecondPaint.setColor(mWatchHandHightlightColor);
+ mSecondPaint.setColor(mWatchHandHighlightColor);
mSecondPaint.setStrokeWidth(SECOND_TICK_STROKE_WIDTH);
mSecondPaint.setAntiAlias(true);
mSecondPaint.setStrokeCap(Paint.Cap.ROUND);
@@ -165,7 +165,7 @@ public class SweepWatchFaceService extends CanvasWatchFaceService {
Log.d(TAG, "Palette: " + palette);
}
- mWatchHandHightlightColor = palette.getVibrantColor(Color.RED);
+ mWatchHandHighlightColor = palette.getVibrantColor(Color.RED);
mWatchHandColor = palette.getLightVibrantColor(Color.WHITE);
mWatchHandShadowColor = palette.getDarkMutedColor(Color.BLACK);
updateWatchHandStyle();
@@ -226,7 +226,7 @@ public class SweepWatchFaceService extends CanvasWatchFaceService {
} else {
mHourPaint.setColor(mWatchHandColor);
mMinutePaint.setColor(mWatchHandColor);
- mSecondPaint.setColor(mWatchHandHightlightColor);
+ mSecondPaint.setColor(mWatchHandHighlightColor);
mTickAndCirclePaint.setColor(mWatchHandColor);
mHourPaint.setAntiAlias(true);