summaryrefslogtreecommitdiffstats
path: root/core/res/res/values/config.xml
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-11-23 20:55:11 -0800
committerRicardo Cerqueira <cyanogenmod@cerqueira.org>2012-01-22 23:17:35 +0000
commit1b4e52f7a99c5d51930e16b53ab0415c5b20906d (patch)
tree2a6f26e50d56d0f57a3f12c3ab7eebeaea993457 /core/res/res/values/config.xml
parent56ccce7dd73dcfa9a3f9f1cd1dcf2b2cd330f9d3 (diff)
downloadframeworks_base-1b4e52f7a99c5d51930e16b53ab0415c5b20906d.zip
frameworks_base-1b4e52f7a99c5d51930e16b53ab0415c5b20906d.tar.gz
frameworks_base-1b4e52f7a99c5d51930e16b53ab0415c5b20906d.tar.bz2
Backport ICS rotation animations to gingerbread
Require ICS transitions patch: http://review.cyanogenmod.com/11938 This is a combination of 3 AOSP commits, adapted for gingerbread, i've hidden new public constants to keep current API intact. these 3 commits are from Dianne Hackborn <hackbod@google.com> : - Change rotation freeze to all be implemented in window manager. Lots of work for no visible change in behavior, but now we can do some fancier stuff... Also allow rotation in all 4 directions. Conflicts: policy/src/com/android/internal/policy/impl/PhoneWindowManager.java services/java/com/android/server/WindowManagerService.java AOSP-Change-Id: I7e5e9537c5e359f69b83c10f65cc1ce95f371461 - Implement rotation animations. This introduces a small new feature for ScaleAnimation allowing the scaling factor to be expressed as a percentage of the object (which is the same as the existing float interpretation), a percentage of the container, or a fixed dimension. Maybe not useful for anything else, but I needed it for this. Also fix a bug in how transformation matrices were propagated from the Animation to Surface Flinger, so that rotate and skew animations will actually work. :p AOSP-Change-Id: I301f4caa2147aa35564b5e511cb9c0b368d2425d - Don't leak. AOSP-Change-Id: I756d54feeef4ff73f17c80d4b4405de56a5787a6 Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com> Change-Id: I301f4caa2147aa35564b5e511cb9c0b368d2425d
Diffstat (limited to 'core/res/res/values/config.xml')
-rw-r--r--core/res/res/values/config.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index cbbfec9..6d5c256 100644
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -167,6 +167,10 @@
<!-- XXXXXX END OF RESOURCES USING WRONG NAMING CONVENTION -->
+ <!-- If true, the screen can be rotated via the accelerometer in all 4
+ rotations as the default behavior. -->
+ <bool name="config_allowAllRotations">true</bool>
+
<!-- The number of degrees to rotate the display when the keyboard is open. -->
<integer name="config_lidOpenRotation">90</integer>