Searched refs:mBackgroundPaint (Results 1 – 4 of 4) sorted by relevance
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | SweepWatchFaceService.java | 89 private Paint mBackgroundPaint; field in SweepWatchFaceService.Engine 120 mBackgroundPaint = new Paint(); in onCreate() 121 mBackgroundPaint.setColor(Color.BLACK); in onCreate() 326 canvas.drawBitmap(mGrayBackgroundBitmap, 0, 0, mBackgroundPaint); in onDraw() 328 canvas.drawBitmap(mBackgroundBitmap, 0, 0, mBackgroundPaint); in onDraw() 407 canvas.drawRect(mPeekCardBounds, mBackgroundPaint); in onDraw()
|
D | AnalogWatchFaceService.java | 98 private Paint mBackgroundPaint; field in AnalogWatchFaceService.Engine 148 mBackgroundPaint = new Paint(); in onCreate() 149 mBackgroundPaint.setColor(Color.BLACK); in onCreate() 361 canvas.drawBitmap(mGrayBackgroundBitmap, 0, 0, mBackgroundPaint); in onDraw() 363 canvas.drawBitmap(mBackgroundBitmap, 0, 0, mBackgroundPaint); in onDraw() 442 canvas.drawRect(mPeekCardBounds, mBackgroundPaint); in onDraw()
|
D | DigitalWatchFaceService.java | 148 Paint mBackgroundPaint; field in DigitalWatchFaceService.Engine 202 mBackgroundPaint = new Paint(); in onCreate() 203 mBackgroundPaint.setColor(mInteractiveBackgroundColor); in onCreate() 348 adjustPaintColorToCurrentMode(mBackgroundPaint, mInteractiveBackgroundColor, in onAmbientModeChanged() 423 updatePaintIfInteractive(mBackgroundPaint, color); in setInteractiveBackgroundColor() 461 canvas.drawRect(0, 0, bounds.width(), bounds.height(), mBackgroundPaint); in onDraw()
|
D | ComplicationSimpleWatchFaceService.java | 120 private Paint mBackgroundPaint; field in ComplicationSimpleWatchFaceService.Engine 194 mBackgroundPaint = new Paint(); in initializeBackground() 195 mBackgroundPaint.setColor(Color.BLACK); in initializeBackground() 560 canvas.drawBitmap(mGrayBackgroundBitmap, 0, 0, mBackgroundPaint); in drawBackground() 562 canvas.drawBitmap(mBackgroundBitmap, 0, 0, mBackgroundPaint); in drawBackground() 706 canvas.drawRect(mPeekCardBounds, mBackgroundPaint); in drawWatchFace()
|