summaryrefslogtreecommitdiffstats
path: root/core/res
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2010-06-01 14:07:24 -0700
committerRomain Guy <romainguy@google.com>2010-06-02 10:41:59 -0700
commit812ccbeb3ce55c50463fda1d161b2eeed8b19cd2 (patch)
tree2b2ca27d4ed0a90cf31da928afb961627ddd3434 /core/res
parent76b704982a59320432e9287cd37e295bd8de13b5 (diff)
downloadframeworks_base-812ccbeb3ce55c50463fda1d161b2eeed8b19cd2.zip
frameworks_base-812ccbeb3ce55c50463fda1d161b2eeed8b19cd2.tar.gz
frameworks_base-812ccbeb3ce55c50463fda1d161b2eeed8b19cd2.tar.bz2
Add new hardwareAccelerated manifest attribute to enable HW drawing.
Change-Id: I2bb0252f3699cb720e7f5b6868419c9904e4fb35
Diffstat (limited to 'core/res')
-rw-r--r--core/res/res/values/attrs_manifest.xml5
-rw-r--r--core/res/res/values/public.xml1
2 files changed, 6 insertions, 0 deletions
diff --git a/core/res/res/values/attrs_manifest.xml b/core/res/res/values/attrs_manifest.xml
index b4c4811..4c32ec9 100644
--- a/core/res/res/values/attrs_manifest.xml
+++ b/core/res/res/values/attrs_manifest.xml
@@ -235,6 +235,10 @@
the safe mode. -->
<attr name="vmSafeMode" format="boolean" />
+ <!-- Flag indicating whether the application's rendering should be hardware
+ accelerated if possible. -->
+ <attr name="hardwareAccelerated" format="boolean" />
+
<!-- Flag indicating whether the given application component is available
to other applications. If false, it can only be accessed by
applications with its same user id (which usually means only by
@@ -730,6 +734,7 @@
<attr name="enabled" />
<attr name="debuggable" />
<attr name="vmSafeMode" />
+ <attr name="hardwareAccelerated" />
<!-- Name of activity to be launched for managing the application's space on the device. -->
<attr name="manageSpaceActivity" />
<attr name="allowClearUserData" />
diff --git a/core/res/res/values/public.xml b/core/res/res/values/public.xml
index 9055970..1aa55e2 100644
--- a/core/res/res/values/public.xml
+++ b/core/res/res/values/public.xml
@@ -1281,6 +1281,7 @@
<public type="attr" name="displayOptions" />
<public type="attr" name="subtitle" />
<public type="attr" name="customNavigationLayout" />
+ <public type="attr" name="hardwareAccelerated" />
<public type="id" name="home" />