/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/ |
AnalogWatchFaceService.java | 94 private Paint mMinutePaint; 164 mMinutePaint = new Paint(); 165 mMinutePaint.setColor(mWatchHandColor); 166 mMinutePaint.setStrokeWidth(MINUTE_STROKE_WIDTH); 167 mMinutePaint.setAntiAlias(true); 168 mMinutePaint.setStrokeCap(Paint.Cap.ROUND); 169 mMinutePaint.setShadowLayer(SHADOW_RADIUS, 0, 0, mWatchHandShadowColor); 247 mMinutePaint.setColor(Color.WHITE); 252 mMinutePaint.setAntiAlias(false); 257 mMinutePaint.clearShadowLayer() [all...] |
SweepWatchFaceService.java | 85 private Paint mMinutePaint; 136 mMinutePaint = new Paint(); 137 mMinutePaint.setColor(mWatchHandColor); 138 mMinutePaint.setStrokeWidth(MINUTE_STROKE_WIDTH); 139 mMinutePaint.setAntiAlias(true); 140 mMinutePaint.setStrokeCap(Paint.Cap.ROUND); 141 mMinutePaint.setShadowLayer(SHADOW_RADIUS, 0, 0, mWatchHandShadowColor); 212 mMinutePaint.setColor(Color.WHITE); 217 mMinutePaint.setAntiAlias(false); 222 mMinutePaint.clearShadowLayer() [all...] |
ComplicationSimpleWatchFaceService.java | 114 private Paint mMinutePaint; 225 mMinutePaint = new Paint(); 226 mMinutePaint.setColor(mWatchHandColor); 227 mMinutePaint.setStrokeWidth(MINUTE_STROKE_WIDTH); 228 mMinutePaint.setAntiAlias(true); 229 mMinutePaint.setStrokeCap(Paint.Cap.ROUND); 230 mMinutePaint.setShadowLayer(SHADOW_RADIUS, 0, 0, mWatchHandShadowColor); 408 mMinutePaint.setColor(Color.WHITE); 413 mMinutePaint.setAntiAlias(false); 418 mMinutePaint.clearShadowLayer() [all...] |
DigitalWatchFaceService.java | 150 Paint mMinutePaint; 205 mMinutePaint = createTextPaint(mInteractiveMinuteDigitsColor); 306 mMinutePaint.setTextSize(textSize); 348 adjustPaintColorToCurrentMode(mMinutePaint, mInteractiveMinuteDigitsColor, 359 mMinutePaint.setAntiAlias(antiAlias); 392 mMinutePaint.setAlpha(alpha); 429 updatePaintIfInteractive(mMinutePaint, color); 483 canvas.drawText(minuteString, x, mYOffset, mMinutePaint); 484 x += mMinutePaint.measureText(minuteString);
|
FitDistanceWatchFaceService.java | 148 private Paint mMinutePaint; 215 mMinutePaint = createTextPaint(TEXT_HOURS_MINS_COLOR); 309 mMinutePaint.setTextSize(textSize); 349 mMinutePaint.setAntiAlias(antiAlias); 401 canvas.drawText(minuteString, x, mYOffset, mMinutePaint); 402 x += mMinutePaint.measureText(minuteString);
|
FitStepsWatchFaceService.java | 144 private Paint mMinutePaint; 212 mMinutePaint = createTextPaint(TEXT_HOURS_MINS_COLOR); 305 mMinutePaint.setTextSize(textSize); 350 mMinutePaint.setAntiAlias(antiAlias); 402 canvas.drawText(minuteString, x, mYOffset, mMinutePaint); 403 x += mMinutePaint.measureText(minuteString);
|
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/ |
AnalogWatchFaceService.java | 94 private Paint mMinutePaint; 164 mMinutePaint = new Paint(); 165 mMinutePaint.setColor(mWatchHandColor); 166 mMinutePaint.setStrokeWidth(MINUTE_STROKE_WIDTH); 167 mMinutePaint.setAntiAlias(true); 168 mMinutePaint.setStrokeCap(Paint.Cap.ROUND); 169 mMinutePaint.setShadowLayer(SHADOW_RADIUS, 0, 0, mWatchHandShadowColor); 247 mMinutePaint.setColor(Color.WHITE); 252 mMinutePaint.setAntiAlias(false); 257 mMinutePaint.clearShadowLayer() [all...] |
SweepWatchFaceService.java | 85 private Paint mMinutePaint; 136 mMinutePaint = new Paint(); 137 mMinutePaint.setColor(mWatchHandColor); 138 mMinutePaint.setStrokeWidth(MINUTE_STROKE_WIDTH); 139 mMinutePaint.setAntiAlias(true); 140 mMinutePaint.setStrokeCap(Paint.Cap.ROUND); 141 mMinutePaint.setShadowLayer(SHADOW_RADIUS, 0, 0, mWatchHandShadowColor); 212 mMinutePaint.setColor(Color.WHITE); 217 mMinutePaint.setAntiAlias(false); 222 mMinutePaint.clearShadowLayer() [all...] |
ComplicationSimpleWatchFaceService.java | 114 private Paint mMinutePaint; 225 mMinutePaint = new Paint(); 226 mMinutePaint.setColor(mWatchHandColor); 227 mMinutePaint.setStrokeWidth(MINUTE_STROKE_WIDTH); 228 mMinutePaint.setAntiAlias(true); 229 mMinutePaint.setStrokeCap(Paint.Cap.ROUND); 230 mMinutePaint.setShadowLayer(SHADOW_RADIUS, 0, 0, mWatchHandShadowColor); 408 mMinutePaint.setColor(Color.WHITE); 413 mMinutePaint.setAntiAlias(false); 418 mMinutePaint.clearShadowLayer() [all...] |
DigitalWatchFaceService.java | 150 Paint mMinutePaint; 205 mMinutePaint = createTextPaint(mInteractiveMinuteDigitsColor); 306 mMinutePaint.setTextSize(textSize); 348 adjustPaintColorToCurrentMode(mMinutePaint, mInteractiveMinuteDigitsColor, 359 mMinutePaint.setAntiAlias(antiAlias); 392 mMinutePaint.setAlpha(alpha); 429 updatePaintIfInteractive(mMinutePaint, color); 483 canvas.drawText(minuteString, x, mYOffset, mMinutePaint); 484 x += mMinutePaint.measureText(minuteString);
|
FitDistanceWatchFaceService.java | 148 private Paint mMinutePaint; 215 mMinutePaint = createTextPaint(TEXT_HOURS_MINS_COLOR); 309 mMinutePaint.setTextSize(textSize); 349 mMinutePaint.setAntiAlias(antiAlias); 401 canvas.drawText(minuteString, x, mYOffset, mMinutePaint); 402 x += mMinutePaint.measureText(minuteString);
|
FitStepsWatchFaceService.java | 144 private Paint mMinutePaint; 212 mMinutePaint = createTextPaint(TEXT_HOURS_MINS_COLOR); 305 mMinutePaint.setTextSize(textSize); 350 mMinutePaint.setAntiAlias(antiAlias); 402 canvas.drawText(minuteString, x, mYOffset, mMinutePaint); 403 x += mMinutePaint.measureText(minuteString);
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
AnalogWatchFaceService.java | 94 private Paint mMinutePaint; 164 mMinutePaint = new Paint(); 165 mMinutePaint.setColor(mWatchHandColor); 166 mMinutePaint.setStrokeWidth(MINUTE_STROKE_WIDTH); 167 mMinutePaint.setAntiAlias(true); 168 mMinutePaint.setStrokeCap(Paint.Cap.ROUND); 169 mMinutePaint.setShadowLayer(SHADOW_RADIUS, 0, 0, mWatchHandShadowColor); 247 mMinutePaint.setColor(Color.WHITE); 252 mMinutePaint.setAntiAlias(false); 257 mMinutePaint.clearShadowLayer() [all...] |
SweepWatchFaceService.java | 85 private Paint mMinutePaint; 136 mMinutePaint = new Paint(); 137 mMinutePaint.setColor(mWatchHandColor); 138 mMinutePaint.setStrokeWidth(MINUTE_STROKE_WIDTH); 139 mMinutePaint.setAntiAlias(true); 140 mMinutePaint.setStrokeCap(Paint.Cap.ROUND); 141 mMinutePaint.setShadowLayer(SHADOW_RADIUS, 0, 0, mWatchHandShadowColor); 212 mMinutePaint.setColor(Color.WHITE); 217 mMinutePaint.setAntiAlias(false); 222 mMinutePaint.clearShadowLayer() [all...] |
ComplicationSimpleWatchFaceService.java | 114 private Paint mMinutePaint; 225 mMinutePaint = new Paint(); 226 mMinutePaint.setColor(mWatchHandColor); 227 mMinutePaint.setStrokeWidth(MINUTE_STROKE_WIDTH); 228 mMinutePaint.setAntiAlias(true); 229 mMinutePaint.setStrokeCap(Paint.Cap.ROUND); 230 mMinutePaint.setShadowLayer(SHADOW_RADIUS, 0, 0, mWatchHandShadowColor); 408 mMinutePaint.setColor(Color.WHITE); 413 mMinutePaint.setAntiAlias(false); 418 mMinutePaint.clearShadowLayer() [all...] |
DigitalWatchFaceService.java | 150 Paint mMinutePaint; 205 mMinutePaint = createTextPaint(mInteractiveMinuteDigitsColor); 306 mMinutePaint.setTextSize(textSize); 348 adjustPaintColorToCurrentMode(mMinutePaint, mInteractiveMinuteDigitsColor, 359 mMinutePaint.setAntiAlias(antiAlias); 392 mMinutePaint.setAlpha(alpha); 429 updatePaintIfInteractive(mMinutePaint, color); 483 canvas.drawText(minuteString, x, mYOffset, mMinutePaint); 484 x += mMinutePaint.measureText(minuteString);
|
FitDistanceWatchFaceService.java | 148 private Paint mMinutePaint; 215 mMinutePaint = createTextPaint(TEXT_HOURS_MINS_COLOR); 309 mMinutePaint.setTextSize(textSize); 349 mMinutePaint.setAntiAlias(antiAlias); 401 canvas.drawText(minuteString, x, mYOffset, mMinutePaint); 402 x += mMinutePaint.measureText(minuteString);
|
FitStepsWatchFaceService.java | 144 private Paint mMinutePaint; 212 mMinutePaint = createTextPaint(TEXT_HOURS_MINS_COLOR); 305 mMinutePaint.setTextSize(textSize); 350 mMinutePaint.setAntiAlias(antiAlias); 402 canvas.drawText(minuteString, x, mYOffset, mMinutePaint); 403 x += mMinutePaint.measureText(minuteString);
|