Searched refs:textPaint (Results 1 – 2 of 2) sorted by relevance
302 final Paint textPaint = mTextPaint; in onDraw() local326 textPaint.setStrokeJoin(Join.ROUND); in onDraw()327 textPaint.setStrokeWidth(mOutlineWidth); in onDraw()328 textPaint.setColor(mEdgeColor); in onDraw()329 textPaint.setStyle(Style.FILL_AND_STROKE); in onDraw()335 textPaint.setShadowLayer(mShadowRadius, mShadowOffsetX, mShadowOffsetY, mEdgeColor); in onDraw()343 textPaint.setColor(mForegroundColor); in onDraw()344 textPaint.setStyle(Style.FILL); in onDraw()345 textPaint.setShadowLayer(mShadowRadius, -offset, -offset, colorUp); in onDraw()351 textPaint.setShadowLayer(mShadowRadius, offset, offset, colorDown); in onDraw()[all …]
1306 TextPaint textPaint = getPaint(); in drawEdgeOutline() local1308 Paint.Style previousStyle = textPaint.getStyle(); in drawEdgeOutline()1309 Paint.Join previousJoin = textPaint.getStrokeJoin(); in drawEdgeOutline()1310 float previousWidth = textPaint.getStrokeWidth(); in drawEdgeOutline()1313 textPaint.setStyle(Paint.Style.FILL_AND_STROKE); in drawEdgeOutline()1314 textPaint.setStrokeJoin(Paint.Join.ROUND); in drawEdgeOutline()1315 textPaint.setStrokeWidth(mOutlineWidth); in drawEdgeOutline()1322 textPaint.setStyle(previousStyle); in drawEdgeOutline()1323 textPaint.setStrokeJoin(previousJoin); in drawEdgeOutline()1324 textPaint.setStrokeWidth(previousWidth); in drawEdgeOutline()[all …]