summaryrefslogtreecommitdiffstats
path: root/tests/HwAccelerationTest/src/com/android/test/hwui/PathsActivity.java
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2011-04-26 15:33:10 -0700
committerRomain Guy <romainguy@google.com>2011-04-26 15:33:10 -0700
commit740bf2bb2e900d3db2292b5909b4b4c6e90320e6 (patch)
tree9c6759f83ab467d849ef8072e262fe7ac55b8c71 /tests/HwAccelerationTest/src/com/android/test/hwui/PathsActivity.java
parent3a03eeedafb3e3335b56bdb9c0a2f02104d32299 (diff)
downloadframeworks_base-740bf2bb2e900d3db2292b5909b4b4c6e90320e6.zip
frameworks_base-740bf2bb2e900d3db2292b5909b4b4c6e90320e6.tar.gz
frameworks_base-740bf2bb2e900d3db2292b5909b4b4c6e90320e6.tar.bz2
Apply shaders/filters to text drop shadows.
Bug #4318323 This change also fixes the fact that shaders were not modulated by the paint's color when drawing paths. Change-Id: Id88804143aea06c895d4cbcdbe106d660230aa5a
Diffstat (limited to 'tests/HwAccelerationTest/src/com/android/test/hwui/PathsActivity.java')
-rw-r--r--tests/HwAccelerationTest/src/com/android/test/hwui/PathsActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/PathsActivity.java b/tests/HwAccelerationTest/src/com/android/test/hwui/PathsActivity.java
index 5ddcd20..833b61c 100644
--- a/tests/HwAccelerationTest/src/com/android/test/hwui/PathsActivity.java
+++ b/tests/HwAccelerationTest/src/com/android/test/hwui/PathsActivity.java
@@ -75,7 +75,7 @@ public class PathsActivity extends Activity {
mLargePaint = new Paint();
mLargePaint.setAntiAlias(true);
- mLargePaint.setColor(0xff00ff00);
+ mLargePaint.setColor(0x7f00ff00);
mLargePaint.setStrokeWidth(15.0f);
mLargePaint.setStyle(Paint.Style.FILL);