Home
last modified time | relevance | path

Searched refs:ROTATION_THRESHOLD (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Dialer/java/com/android/incallui/
DInCallOrientationEventListener.java68 private static final int ROTATION_THRESHOLD = 10; field in InCallOrientationEventListener
183 if (isInLeftRange(rotation, SCREEN_ORIENTATION_360, ROTATION_THRESHOLD) in toScreenOrientation()
184 || isInRightRange(rotation, SCREEN_ORIENTATION_0, ROTATION_THRESHOLD)) { in toScreenOrientation()
186 } else if (isWithinThreshold(rotation, SCREEN_ORIENTATION_90, ROTATION_THRESHOLD)) { in toScreenOrientation()
188 } else if (isWithinThreshold(rotation, SCREEN_ORIENTATION_180, ROTATION_THRESHOLD)) { in toScreenOrientation()
190 } else if (isWithinThreshold(rotation, SCREEN_ORIENTATION_270, ROTATION_THRESHOLD)) { in toScreenOrientation()