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.java123 private Paint mComplicationPaint; field in ComplicationSimpleWatchFaceService.Engine
203 mComplicationPaint = new Paint(); in initializeComplication()
204 mComplicationPaint.setColor(Color.WHITE); in initializeComplication()
205 mComplicationPaint.setTextSize(COMPLICATION_TEXT_SIZE); in initializeComplication()
206 mComplicationPaint.setTypeface(Typeface.create(Typeface.DEFAULT, Typeface.BOLD)); in initializeComplication()
207 mComplicationPaint.setAntiAlias(true); in initializeComplication()
399 mComplicationPaint.setAntiAlias(!inAmbientMode); in onAmbientModeChanged()
475 mComplicationsY = (int) ((mHeight / 2) + (mComplicationPaint.getTextSize() / 2)); in onSurfaceChanged()
576 mComplicationPaint.measureText( in drawComplications()
597 mComplicationPaint); in drawComplications()