summaryrefslogtreecommitdiffstats
path: root/tests/HwAccelerationTest/AndroidManifest.xml
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2013-02-28 12:15:35 -0800
committerRomain Guy <romainguy@google.com>2013-02-28 16:04:48 -0800
commita4adcf0239039eb8f005be252409901c41b28839 (patch)
treebb339ae27217db42e4ef0de743b07ca138ef335a /tests/HwAccelerationTest/AndroidManifest.xml
parentaaa46155ec80f02b37ec858408d7dabbf9bc289a (diff)
downloadframeworks_base-a4adcf0239039eb8f005be252409901c41b28839.zip
frameworks_base-a4adcf0239039eb8f005be252409901c41b28839.tar.gz
frameworks_base-a4adcf0239039eb8f005be252409901c41b28839.tar.bz2
Support 3D rotations when drawing text
If a perspective transform is set on the Canvas, drawText() should not attempt to rasterize glyphs in screen space. This change uses the old behavior instead (i.e. rasterize the glyphs at the native font size and apply the transform on the resulting mesh.) This change also adds an optimization: empty glyphs (spaces) do not generate vertices anymore. This saves a lot of vertices in text heavy applications such as Gmail. Change-Id: Ib531384163f5165b5785501612a7b1474f3ff599
Diffstat (limited to 'tests/HwAccelerationTest/AndroidManifest.xml')
-rw-r--r--tests/HwAccelerationTest/AndroidManifest.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/HwAccelerationTest/AndroidManifest.xml b/tests/HwAccelerationTest/AndroidManifest.xml
index 0c59f30..46a539e 100644
--- a/tests/HwAccelerationTest/AndroidManifest.xml
+++ b/tests/HwAccelerationTest/AndroidManifest.xml
@@ -51,6 +51,16 @@
</activity>
<activity
+ android:name="Rotate3dTextActivity"
+ android:label="Text/3D Rotation"
+ android:theme="@android:style/Theme.Holo.Light">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="com.android.test.hwui.TEST" />
+ </intent-filter>
+ </activity>
+
+ <activity
android:name="NoAATextActivity"
android:label="Text/Aliased">
<intent-filter>