Searched refs:orientationHistory (Results 1 – 2 of 2) sorted by relevance
140 private static int roundOrientation(int orientation, int orientationHistory) {142 if (orientationHistory == OrientationEventListener.ORIENTATION_UNKNOWN) {145 int dist = Math.abs(orientation - orientationHistory);152 return orientationHistory;
359 public static int roundOrientation(int orientation, int orientationHistory) { in roundOrientation() argument361 if (orientationHistory == OrientationEventListener.ORIENTATION_UNKNOWN) { in roundOrientation()364 int dist = Math.abs(orientation - orientationHistory); in roundOrientation()371 return orientationHistory; in roundOrientation()