Searched refs:mSecondPaint (Results 1 – 6 of 6) sorted by relevance
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | SweepWatchFaceService.java | 86 private Paint mSecondPaint; field in SweepWatchFaceService.Engine 143 mSecondPaint = new Paint(); in onCreate() 144 mSecondPaint.setColor(mWatchHandHighlightColor); in onCreate() 145 mSecondPaint.setStrokeWidth(SECOND_TICK_STROKE_WIDTH); in onCreate() 146 mSecondPaint.setAntiAlias(true); in onCreate() 147 mSecondPaint.setStrokeCap(Paint.Cap.ROUND); in onCreate() 148 mSecondPaint.setShadowLayer(SHADOW_RADIUS, 0, 0, mWatchHandShadowColor); in onCreate() 213 mSecondPaint.setColor(Color.WHITE); in updateWatchHandStyle() 218 mSecondPaint.setAntiAlias(false); in updateWatchHandStyle() 223 mSecondPaint.clearShadowLayer(); in updateWatchHandStyle() [all …]
|
D | AnalogWatchFaceService.java | 95 private Paint mSecondPaint; field in AnalogWatchFaceService.Engine 171 mSecondPaint = new Paint(); in onCreate() 172 mSecondPaint.setColor(mWatchHandHighlightColor); in onCreate() 173 mSecondPaint.setStrokeWidth(SECOND_TICK_STROKE_WIDTH); in onCreate() 174 mSecondPaint.setAntiAlias(true); in onCreate() 175 mSecondPaint.setStrokeCap(Paint.Cap.ROUND); in onCreate() 176 mSecondPaint.setShadowLayer(SHADOW_RADIUS, 0, 0, mWatchHandShadowColor); in onCreate() 248 mSecondPaint.setColor(Color.WHITE); in updateWatchHandStyle() 253 mSecondPaint.setAntiAlias(false); in updateWatchHandStyle() 258 mSecondPaint.clearShadowLayer(); in updateWatchHandStyle() [all …]
|
D | ComplicationSimpleWatchFaceService.java | 117 private Paint mSecondPaint; field in ComplicationSimpleWatchFaceService.Engine 234 mSecondPaint = new Paint(); in initializeWatchFace() 235 mSecondPaint.setColor(mWatchHandHighlightColor); in initializeWatchFace() 236 mSecondPaint.setStrokeWidth(SECOND_TICK_STROKE_WIDTH); in initializeWatchFace() 237 mSecondPaint.setAntiAlias(true); in initializeWatchFace() 238 mSecondPaint.setStrokeCap(Paint.Cap.ROUND); in initializeWatchFace() 239 mSecondPaint.setShadowLayer(SHADOW_RADIUS, 0, 0, mWatchHandShadowColor); in initializeWatchFace() 429 mSecondPaint.setColor(Color.WHITE); in updateWatchHandStyle() 434 mSecondPaint.setAntiAlias(false); in updateWatchHandStyle() 439 mSecondPaint.clearShadowLayer(); in updateWatchHandStyle() [all …]
|
D | DigitalWatchFaceService.java | 152 Paint mSecondPaint; field in DigitalWatchFaceService.Engine 208 mSecondPaint = createTextPaint(mInteractiveSecondDigitsColor); in onCreate() 311 mSecondPaint.setTextSize(textSize); in onApplyWindowInsets() 356 adjustPaintColorToCurrentMode(mSecondPaint, mInteractiveSecondDigitsColor, in onAmbientModeChanged() 364 mSecondPaint.setAntiAlias(antiAlias); in onAmbientModeChanged() 438 updatePaintIfInteractive(mSecondPaint, color); in setInteractiveSecondDigitsColor() 498 mCalendar.get(Calendar.SECOND)), x, mYOffset, mSecondPaint); in onDraw()
|
D | FitStepsWatchFaceService.java | 145 private Paint mSecondPaint; field in FitStepsWatchFaceService.Engine 213 mSecondPaint = createTextPaint(TEXT_SECONDS_COLOR); in onCreate() 306 mSecondPaint.setTextSize(textSize); in onApplyWindowInsets() 351 mSecondPaint.setAntiAlias(antiAlias); in onAmbientModeChanged() 412 mCalendar.get(Calendar.SECOND)), x, mYOffset, mSecondPaint); in onDraw() local
|
D | FitDistanceWatchFaceService.java | 149 private Paint mSecondPaint; field in FitDistanceWatchFaceService.Engine 216 mSecondPaint = createTextPaint(TEXT_SECONDS_COLOR); in onCreate() 310 mSecondPaint.setTextSize(textSize); in onApplyWindowInsets() 350 mSecondPaint.setAntiAlias(antiAlias); in onAmbientModeChanged() 411 mCalendar.get(Calendar.SECOND)), x, mYOffset, mSecondPaint); in onDraw() local
|