summaryrefslogtreecommitdiffstats
path: root/tests/HwAccelerationTest
diff options
context:
space:
mode:
Diffstat (limited to 'tests/HwAccelerationTest')
-rw-r--r--tests/HwAccelerationTest/src/com/google/android/test/hwui/TextActivity.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/HwAccelerationTest/src/com/google/android/test/hwui/TextActivity.java b/tests/HwAccelerationTest/src/com/google/android/test/hwui/TextActivity.java
index 8af1b7b..f645446 100644
--- a/tests/HwAccelerationTest/src/com/google/android/test/hwui/TextActivity.java
+++ b/tests/HwAccelerationTest/src/com/google/android/test/hwui/TextActivity.java
@@ -73,7 +73,9 @@ public class TextActivity extends Activity {
mLargePaint.setShadowLayer(2.5f, 3.0f, 3.0f, 0xff000000);
canvas.drawText("Hello OpenGL renderer!", 100, 400, mLargePaint);
mLargePaint.setShadowLayer(3.0f, 3.0f, 3.0f, 0xff00ff00);
+ mLargePaint.setAlpha(100);
canvas.drawText("Hello OpenGL renderer!", 100, 500, mLargePaint);
+ mLargePaint.setAlpha(255);
mLargePaint.clearShadowLayer();
canvas.drawText("Hello OpenGL renderer!", 500, 40, mStrikePaint);