Searched refs:isWithinThreshold (Results 1 – 1 of 1) sorted by relevance
126 } else if (isWithinThreshold(rotation, SCREEN_ORIENTATION_90, ROTATION_THRESHOLD)) { in toScreenOrientation()128 } else if (isWithinThreshold(rotation, SCREEN_ORIENTATION_180, ROTATION_THRESHOLD)) { in toScreenOrientation()130 } else if (isWithinThreshold(rotation, SCREEN_ORIENTATION_270, ROTATION_THRESHOLD)) { in toScreenOrientation()140 private static boolean isWithinThreshold(int value, int center, int threshold) { in isWithinThreshold() method in InCallOrientationEventListener