/packages/apps/Camera/tests/src/com/android/camera/unittest/ |
CameraUnitTest.java | 30 assertEquals(0, Util.roundOrientation(0, 0)); 31 assertEquals(0, Util.roundOrientation(359, 0)); 32 assertEquals(0, Util.roundOrientation(0 + 44 + h, 0)); 33 assertEquals(90, Util.roundOrientation(0 + 45 + h, 0)); 34 assertEquals(0, Util.roundOrientation(360 - 44 - h, 0)); 35 assertEquals(270, Util.roundOrientation(360 - 45 - h, 0)); 37 assertEquals(90, Util.roundOrientation(90, 90)); 38 assertEquals(90, Util.roundOrientation(90 + 44 + h, 90)); 39 assertEquals(180, Util.roundOrientation(90 + 45 + h, 90)); 40 assertEquals(90, Util.roundOrientation(90 - 44 - h, 90)) [all...] |
/packages/apps/Camera2/tests/src/com/android/camera/unittest/ |
CameraUnitTest.java | 30 assertEquals(0, CameraUtil.roundOrientation(0, 0)); 31 assertEquals(0, CameraUtil.roundOrientation(359, 0)); 32 assertEquals(0, CameraUtil.roundOrientation(0 + 44 + h, 0)); 33 assertEquals(90, CameraUtil.roundOrientation(0 + 45 + h, 0)); 34 assertEquals(0, CameraUtil.roundOrientation(360 - 44 - h, 0)); 35 assertEquals(270, CameraUtil.roundOrientation(360 - 45 - h, 0)); 37 assertEquals(90, CameraUtil.roundOrientation(90, 90)); 38 assertEquals(90, CameraUtil.roundOrientation(90 + 44 + h, 90)); 39 assertEquals(180, CameraUtil.roundOrientation(90 + 45 + h, 90)); 40 assertEquals(90, CameraUtil.roundOrientation(90 - 44 - h, 90)) [all...] |
/packages/apps/LegacyCamera/tests/src/com/android/camera/unittest/ |
CameraTest.java | 34 assertEquals(0, Util.roundOrientation(0, 0)); 35 assertEquals(0, Util.roundOrientation(359, 0)); 36 assertEquals(0, Util.roundOrientation(0 + 44 + h, 0)); 37 assertEquals(90, Util.roundOrientation(0 + 45 + h, 0)); 38 assertEquals(0, Util.roundOrientation(360 - 44 - h, 0)); 39 assertEquals(270, Util.roundOrientation(360 - 45 - h, 0)); 41 assertEquals(90, Util.roundOrientation(90, 90)); 42 assertEquals(90, Util.roundOrientation(90 + 44 + h, 90)); 43 assertEquals(180, Util.roundOrientation(90 + 45 + h, 90)); 44 assertEquals(90, Util.roundOrientation(90 - 44 - h, 90)) [all...] |
/packages/apps/Camera2/src/com/android/camera/app/ |
OrientationManager.java | 131 orientation = roundOrientation(orientation, 0); 143 private static int roundOrientation(int orientation, int orientationHistory) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
OrientationManager.java | 126 orientation = roundOrientation(orientation, 0); 140 private static int roundOrientation(int orientation, int orientationHistory) {
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
Util.java | 359 public static int roundOrientation(int orientation, int orientationHistory) {
|
Camera.java | [all...] |
VideoCamera.java | 552 mOrientation = Util.roundOrientation(orientation, mOrientation); [all...] |
/packages/apps/Camera/src/com/android/camera/ |
Util.java | 410 public static int roundOrientation(int orientation, int orientationHistory) {
|
PanoramaModule.java | 213 mDeviceOrientation = Util.roundOrientation(orientation, mDeviceOrientation); [all...] |
PhotoModule.java | [all...] |
VideoModule.java | 557 int newOrientation = Util.roundOrientation(orientation, mOrientation); [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
WideAnglePanoramaModule.java | 192 mDeviceOrientation = CameraUtil.roundOrientation(orientation, mDeviceOrientation); [all...] |
VideoModule.java | 434 int newOrientation = CameraUtil.roundOrientation(orientation, mOrientation); [all...] |
PhotoModule.java | [all...] |
/packages/apps/Camera2/src/com/android/camera/util/ |
CameraUtil.java | 458 public static int roundOrientation(int orientation, int orientationHistory) { [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
PanoramaActivity.java | 217 mDeviceOrientation = Util.roundOrientation(orientation, mDeviceOrientation); [all...] |