HomeSort by relevance Sort by last modified time
    Searched refs:roundOrientation (Results 1 - 16 of 16) sorted by null

  /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/Camera2/tests_camera/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/Gallery2/src/com/android/gallery3d/app/
OrientationManager.java 126 orientation = roundOrientation(orientation, 0);
140 private static int roundOrientation(int orientation, int orientationHistory) {
  /packages/apps/Camera2/src/com/android/camera/app/
OrientationManagerImpl.java 198 // TODO: We have two copies of the rounding method: one is CameraUtil.roundOrientation
199 // and the other is OrientationManagerImpl.roundOrientation. The same computation is
201 final int roundedOrientation = roundOrientation(orientation, 0);
213 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/LegacyCamera/src/com/android/camera/panorama/
PanoramaActivity.java 217 mDeviceOrientation = Util.roundOrientation(orientation, mDeviceOrientation);
    [all...]
  /packages/apps/Camera2/src/com/android/camera/util/
CameraUtil.java 479 public static int roundOrientation(int orientation, int orientationHistory) {
    [all...]
  /packages/apps/Camera2/src/com/android/camera/
VideoModule.java 498 int newOrientation = CameraUtil.roundOrientation(orientation, mOrientation);
    [all...]

Completed in 1091 milliseconds