Home
last modified time | relevance | path

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

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DTextActivity.java41 private final Paint mSkewPaint; field in TextActivity.CustomTextView
66 mSkewPaint = new Paint(); in CustomTextView()
67 mSkewPaint.setAntiAlias(true); in CustomTextView()
68 mSkewPaint.setTextSize(16.0f); in CustomTextView()
69 mSkewPaint.setShadowLayer(3.0f, 3.0f, 3.0f, 0xff000000); in CustomTextView()
137 mSkewPaint.setTextSkewX(-0.25f); in onDraw()
138 canvas.drawText("Hello OpenGL renderer!", 980, 200, mSkewPaint); in onDraw()
139 mSkewPaint.setTextSkewX(0.5f); in onDraw()
140 canvas.drawText("Hello OpenGL renderer!", 980, 230, mSkewPaint); in onDraw()
141 mSkewPaint.setTextSkewX(0.0f); in onDraw()
[all …]