Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f5072e2f authored by Ytai Ben-tsvi's avatar Ytai Ben-tsvi Committed by Android (Google) Code Review
Browse files

Merge "Increase auto-recenter rotation threshold to 10.5 deg"

parents 1645fc48 08fb6ad3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ constexpr auto kAutoRecenterWindowDuration = 6s;
constexpr float kAutoRecenterTranslationThreshold = 0.1f;

// Auto-recenter considers head not still if rotated by this much (in radians, approx).
constexpr float kAutoRecenterRotationThreshold = 7.0f / 180 * M_PI;
constexpr float kAutoRecenterRotationThreshold = 10.5f / 180 * M_PI;

// Screen is considered to be unstable (not still) if it has moved significantly within the last
// time window of this duration.