Searched refs:mLabelPaint (Results 1 – 3 of 3) sorted by relevance
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | UnicodeChart.java | 39 private Paint mLabelPaint; field in UnicodeChart.SampleView 58 mLabelPaint = new Paint(Paint.ANTI_ALIAS_FLAG); in SampleView() 59 mLabelPaint.setTextSize(8); in SampleView() 60 mLabelPaint.setTextAlign(Paint.Align.CENTER); in SampleView() 89 computeX(i), computeY(i), mLabelPaint); in drawChart() local
|
D | ScaleToFit.java | 35 private final Paint mLabelPaint = new Paint(Paint.ANTI_ALIAS_FLAG); field in ScaleToFit.SampleView 67 mLabelPaint.setTextSize(16); in SampleView() 115 canvas.drawText(sFitLabels[j], 0, HEIGHT*2/3, mLabelPaint); in onDraw()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
D | SpriteTextRenderer.java | 47 mLabelPaint = new Paint(); in SpriteTextRenderer() 48 mLabelPaint.setTextSize(32); in SpriteTextRenderer() 49 mLabelPaint.setAntiAlias(true); in SpriteTextRenderer() 50 mLabelPaint.setARGB(0xff, 0x00, 0x00, 0x00); in SpriteTextRenderer() 121 mLabelA = mLabels.add(gl, "A", mLabelPaint); in onSurfaceCreated() 122 mLabelB = mLabels.add(gl, "B", mLabelPaint); in onSurfaceCreated() 123 mLabelC = mLabels.add(gl, "C", mLabelPaint); in onSurfaceCreated() 124 mLabelMsPF = mLabels.add(gl, "ms/f", mLabelPaint); in onSurfaceCreated() 132 mNumericSprite.initialize(gl, mLabelPaint); in onSurfaceCreated() 270 private Paint mLabelPaint; field in SpriteTextRenderer
|