Home
last modified time | relevance | path

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

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DComplicationSimpleWatchFaceService.java125 private Paint mComplicationPaint; field in ComplicationSimpleWatchFaceService.Engine
205 mComplicationPaint = new Paint(); in initializeComplication()
206 mComplicationPaint.setColor(Color.WHITE); in initializeComplication()
207 mComplicationPaint.setTextSize(COMPLICATION_TEXT_SIZE); in initializeComplication()
208 mComplicationPaint.setTypeface(Typeface.create(Typeface.DEFAULT, Typeface.BOLD)); in initializeComplication()
209 mComplicationPaint.setAntiAlias(true); in initializeComplication()
419 mComplicationPaint.setAntiAlias(!inAmbientMode); in onAmbientModeChanged()
495 mComplicationsY = (int) ((mHeight / 2) + (mComplicationPaint.getTextSize() / 2)); in onSurfaceChanged()
602 mComplicationPaint.measureText( in drawComplications()
623 mComplicationPaint); in drawComplications()