Home
last modified time | relevance | path

Searched refs:mBackgroundPaint (Results 1 – 4 of 4) sorted by relevance

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DSweepWatchFaceService.java89 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()
DAnalogWatchFaceService.java98 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()
DDigitalWatchFaceService.java147 Paint mBackgroundPaint; field in DigitalWatchFaceService.Engine
201 mBackgroundPaint = new Paint(); in onCreate()
202 mBackgroundPaint.setColor(mInteractiveBackgroundColor); in onCreate()
344 adjustPaintColorToCurrentMode(mBackgroundPaint, mInteractiveBackgroundColor, in onAmbientModeChanged()
419 updatePaintIfInteractive(mBackgroundPaint, color); in setInteractiveBackgroundColor()
457 canvas.drawRect(0, 0, bounds.width(), bounds.height(), mBackgroundPaint); in onDraw()
DComplicationSimpleWatchFaceService.java118 private Paint mBackgroundPaint; field in ComplicationSimpleWatchFaceService.Engine
192 mBackgroundPaint = new Paint(); in initializeBackground()
193 mBackgroundPaint.setColor(Color.BLACK); in initializeBackground()
540 canvas.drawBitmap(mGrayBackgroundBitmap, 0, 0, mBackgroundPaint); in drawBackground()
542 canvas.drawBitmap(mBackgroundBitmap, 0, 0, mBackgroundPaint); in drawBackground()
679 canvas.drawRect(mPeekCardBounds, mBackgroundPaint); in drawWatchFace()