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.
This commit is contained in:
@ -214,9 +214,9 @@ public abstract class WindowOrientationListener {
|
|||||||
// background.
|
// background.
|
||||||
|
|
||||||
// When device is near-vertical (screen approximately facing the horizon)
|
// 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
|
// 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
|
// When device is under external acceleration, i.e. not just gravity. We heavily distrust
|
||||||
// such readings.
|
// such readings.
|
||||||
private static final int ACCELERATING_TIME_CONSTANT_MS = 2000;
|
private static final int ACCELERATING_TIME_CONSTANT_MS = 2000;
|
||||||
|
Reference in New Issue
Block a user