Searched refs:orientationHistory (Results 1 - 3 of 3) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DOrientationManager.java140 private static int roundOrientation(int orientation, int orientationHistory) { argument
142 if (orientationHistory == OrientationEventListener.ORIENTATION_UNKNOWN) {
145 int dist = Math.abs(orientation - orientationHistory);
152 return orientationHistory;
/packages/apps/LegacyCamera/src/com/android/camera/
H A DUtil.java359 public static int roundOrientation(int orientation, int orientationHistory) { argument
361 if (orientationHistory == OrientationEventListener.ORIENTATION_UNKNOWN) {
364 int dist = Math.abs(orientation - orientationHistory);
371 return orientationHistory;
/packages/apps/Camera/src/com/android/camera/
H A DUtil.java409 public static int roundOrientation(int orientation, int orientationHistory) { argument
411 if (orientationHistory == OrientationEventListener.ORIENTATION_UNKNOWN) {
414 int dist = Math.abs(orientation - orientationHistory);
421 return orientationHistory;

Completed in 51 milliseconds