diff options
author | Steve Howard <showard@google.com> | 2010-09-22 16:05:03 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-09-22 16:05:03 -0700 |
commit | 1d056cd6ef6d6bdea00a92f411b0eaec7694b624 (patch) | |
tree | 9dc785d4b40b6d63b8fed31ee7dd3f555c8ad394 /core | |
parent | 4744774a7a3644489ec1159f5554a41eb943a51b (diff) | |
parent | 127146ee1c716d785fd70207045625c0c1f1d1ef (diff) | |
download | frameworks_base-1d056cd6ef6d6bdea00a92f411b0eaec7694b624.zip frameworks_base-1d056cd6ef6d6bdea00a92f411b0eaec7694b624.tar.gz frameworks_base-1d056cd6ef6d6bdea00a92f411b0eaec7694b624.tar.bz2 |
am 127146ee: Merge "Decrease sensitivity of orientation changes a bit." into gingerbread
Merge commit '127146ee1c716d785fd70207045625c0c1f1d1ef' into gingerbread-plus-aosp
* commit '127146ee1c716d785fd70207045625c0c1f1d1ef':
Decrease sensitivity of orientation changes a bit.
Diffstat (limited to 'core')
-rwxr-xr-x | core/java/android/view/WindowOrientationListener.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/view/WindowOrientationListener.java b/core/java/android/view/WindowOrientationListener.java index 55d11bb..8ffa158 100755 --- a/core/java/android/view/WindowOrientationListener.java +++ b/core/java/android/view/WindowOrientationListener.java @@ -214,9 +214,9 @@ public abstract class WindowOrientationListener { // background. // When device is near-vertical (screen approximately facing the horizon) - private static final int DEFAULT_TIME_CONSTANT_MS = 50; + private static final int DEFAULT_TIME_CONSTANT_MS = 100; // When device is partially tilted towards the sky or ground - private static final int TILTED_TIME_CONSTANT_MS = 300; + private static final int TILTED_TIME_CONSTANT_MS = 500; // When device is under external acceleration, i.e. not just gravity. We heavily distrust // such readings. private static final int ACCELERATING_TIME_CONSTANT_MS = 2000; |