Searched refs:mLargePaint (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | TextActivity.java | 38 private final Paint mLargePaint; field in TextActivity.CustomTextView 52 mLargePaint = new Paint(); in CustomTextView() 53 mLargePaint.setAntiAlias(true); in CustomTextView() 54 mLargePaint.setTextSize(36.0f); in CustomTextView() 109 canvas.drawText("Hello OpenGL renderer!", 100, 200, mLargePaint); in onDraw() 111 mLargePaint.setShadowLayer(2.5f, 3.0f, 3.0f, 0xff000000); in onDraw() 112 canvas.drawText("Hello OpenGL renderer!", 100, 400, mLargePaint); in onDraw() 113 mLargePaint.setShadowLayer(3.0f, 3.0f, 3.0f, 0xff00ff00); in onDraw() 114 mLargePaint.setAlpha(100); in onDraw() 115 canvas.drawText("Hello OpenGL renderer!", 100, 500, mLargePaint); in onDraw() [all …]
|
D | PosTextActivity.java | 36 private final Paint mLargePaint; field in PosTextActivity.CustomTextView 50 mLargePaint = new Paint(); in CustomTextView() 51 mLargePaint.setAntiAlias(true); in CustomTextView() 52 mLargePaint.setTextSize(36.0f); in CustomTextView() 62 canvas.drawLine(100.0f, 0.0f, 100.0f, getHeight(), mLargePaint); in onDraw() 65 mLargePaint.setTextAlign(Paint.Align.LEFT); in onDraw() 66 canvas.drawPosText(mText, mPos, mLargePaint); in onDraw() 69 mLargePaint.setTextAlign(Paint.Align.CENTER); in onDraw() 70 canvas.drawPosText(mText, mPos, mLargePaint); in onDraw() 73 mLargePaint.setTextAlign(Paint.Align.RIGHT); in onDraw() [all …]
|
D | MoreShadersActivity.java | 57 private Paint mLargePaint; field in MoreShadersActivity.ShadersView 104 mLargePaint = new Paint(); in ShadersView() 105 mLargePaint.setAntiAlias(true); in ShadersView() 106 mLargePaint.setTextSize(36.0f); in ShadersView() 107 mLargePaint.setColor(0xff000000); in ShadersView() 108 mLargePaint.setShadowLayer(3.0f, 0.0f, 3.0f, 0x7f00ff00); in ShadersView() 133 mLargePaint.setShader(mHorGradient); in onDraw() 134 canvas.drawText("OpenGL rendering", 0.0f, 20.0f, mLargePaint); in onDraw() 136 mLargePaint.setShader(mScaled2Shader); in onDraw() 137 canvas.drawText("OpenGL rendering", 0.0f, 60.0f, mLargePaint); in onDraw() [all …]
|
D | PathsActivity.java | 44 private final Paint mLargePaint; field in PathsActivity.PathsView 76 mLargePaint = new Paint(); in PathsView() 77 mLargePaint.setAntiAlias(true); in PathsView() 78 mLargePaint.setColor(0x7f00ff00); in PathsView() 79 mLargePaint.setStrokeWidth(15.0f); in PathsView() 80 mLargePaint.setStyle(Paint.Style.FILL); in PathsView() 120 mLargePaint.setShader(mShader); in onDraw() 122 canvas.drawPath(mPath, mLargePaint); in onDraw() 123 mLargePaint.setShader(null); in onDraw() 137 mLargePaint.setShader(mShader); in onDraw() [all …]
|
D | LinesActivity.java | 61 private final Paint mLargePaint; field in LinesActivity.LinesView 84 mLargePaint = new Paint(); in LinesView() 85 mLargePaint.setAntiAlias(LINE_AA); in LinesView() 86 mLargePaint.setColor(0xff00ff00); in LinesView() 87 mLargePaint.setStrokeWidth(15.0f); in LinesView() 123 canvas.drawLine(22.0f, 0.0f, 162.0f, 400.0f, mLargePaint); in onDraw() 125 mLargePaint.setShader(mShader); in onDraw() 126 canvas.drawLine(42.0f, 0.0f, 222.0f, 400.0f, mLargePaint); in onDraw() 130 y * (15.0f + mOffset), mLargePaint); in onDraw() 133 mLargePaint.setShader(null); in onDraw()
|