Home
last modified time | relevance | path

Searched refs:mMinutePaint (Results 1 – 6 of 6) sorted by relevance

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DSweepWatchFaceService.java85 private Paint mMinutePaint; field in SweepWatchFaceService.Engine
136 mMinutePaint = new Paint(); in onCreate()
137 mMinutePaint.setColor(mWatchHandColor); in onCreate()
138 mMinutePaint.setStrokeWidth(MINUTE_STROKE_WIDTH); in onCreate()
139 mMinutePaint.setAntiAlias(true); in onCreate()
140 mMinutePaint.setStrokeCap(Paint.Cap.ROUND); in onCreate()
141 mMinutePaint.setShadowLayer(SHADOW_RADIUS, 0, 0, mWatchHandShadowColor); in onCreate()
212 mMinutePaint.setColor(Color.WHITE); in updateWatchHandStyle()
217 mMinutePaint.setAntiAlias(false); in updateWatchHandStyle()
222 mMinutePaint.clearShadowLayer(); in updateWatchHandStyle()
[all …]
DAnalogWatchFaceService.java94 private Paint mMinutePaint; field in AnalogWatchFaceService.Engine
164 mMinutePaint = new Paint(); in onCreate()
165 mMinutePaint.setColor(mWatchHandColor); in onCreate()
166 mMinutePaint.setStrokeWidth(MINUTE_STROKE_WIDTH); in onCreate()
167 mMinutePaint.setAntiAlias(true); in onCreate()
168 mMinutePaint.setStrokeCap(Paint.Cap.ROUND); in onCreate()
169 mMinutePaint.setShadowLayer(SHADOW_RADIUS, 0, 0, mWatchHandShadowColor); in onCreate()
247 mMinutePaint.setColor(Color.WHITE); in updateWatchHandStyle()
252 mMinutePaint.setAntiAlias(false); in updateWatchHandStyle()
257 mMinutePaint.clearShadowLayer(); in updateWatchHandStyle()
[all …]
DComplicationSimpleWatchFaceService.java116 private Paint mMinutePaint; field in ComplicationSimpleWatchFaceService.Engine
227 mMinutePaint = new Paint(); in initializeWatchFace()
228 mMinutePaint.setColor(mWatchHandColor); in initializeWatchFace()
229 mMinutePaint.setStrokeWidth(MINUTE_STROKE_WIDTH); in initializeWatchFace()
230 mMinutePaint.setAntiAlias(true); in initializeWatchFace()
231 mMinutePaint.setStrokeCap(Paint.Cap.ROUND); in initializeWatchFace()
232 mMinutePaint.setShadowLayer(SHADOW_RADIUS, 0, 0, mWatchHandShadowColor); in initializeWatchFace()
428 mMinutePaint.setColor(Color.WHITE); in updateWatchHandStyle()
433 mMinutePaint.setAntiAlias(false); in updateWatchHandStyle()
438 mMinutePaint.clearShadowLayer(); in updateWatchHandStyle()
[all …]
DDigitalWatchFaceService.java151 Paint mMinutePaint; field in DigitalWatchFaceService.Engine
207 mMinutePaint = createTextPaint(mInteractiveMinuteDigitsColor); in onCreate()
310 mMinutePaint.setTextSize(textSize); in onApplyWindowInsets()
352 adjustPaintColorToCurrentMode(mMinutePaint, mInteractiveMinuteDigitsColor, in onAmbientModeChanged()
363 mMinutePaint.setAntiAlias(antiAlias); in onAmbientModeChanged()
396 mMinutePaint.setAlpha(alpha); in onInterruptionFilterChanged()
433 updatePaintIfInteractive(mMinutePaint, color); in setInteractiveMinuteDigitsColor()
487 canvas.drawText(minuteString, x, mYOffset, mMinutePaint); in onDraw()
488 x += mMinutePaint.measureText(minuteString); in onDraw()
DFitDistanceWatchFaceService.java148 private Paint mMinutePaint; field in FitDistanceWatchFaceService.Engine
215 mMinutePaint = createTextPaint(TEXT_HOURS_MINS_COLOR); in onCreate()
309 mMinutePaint.setTextSize(textSize); in onApplyWindowInsets()
349 mMinutePaint.setAntiAlias(antiAlias); in onAmbientModeChanged()
401 canvas.drawText(minuteString, x, mYOffset, mMinutePaint); in onDraw()
402 x += mMinutePaint.measureText(minuteString); in onDraw()
DFitStepsWatchFaceService.java144 private Paint mMinutePaint; field in FitStepsWatchFaceService.Engine
212 mMinutePaint = createTextPaint(TEXT_HOURS_MINS_COLOR); in onCreate()
305 mMinutePaint.setTextSize(textSize); in onApplyWindowInsets()
350 mMinutePaint.setAntiAlias(antiAlias); in onAmbientModeChanged()
402 canvas.drawText(minuteString, x, mYOffset, mMinutePaint); in onDraw()
403 x += mMinutePaint.measureText(minuteString); in onDraw()