/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
H A D | PanoramaActivity.java | 212 public void onOrientationChanged(int orientation) { argument 213 // We keep the last known orientation. So if the user first orient 215 // the correct orientation. 216 if (orientation == ORIENTATION_UNKNOWN) return; 217 mDeviceOrientation = Util.roundOrientation(orientation, mDeviceOrientation); 853 // natural orientation of a camera. We need to set an orientation for the image 855 // The orientation is calculated from compensating the 856 // device orientation at capture and the camera orientation respectiv 947 savePanorama(byte[] jpegData, int width, int height, int orientation) argument 970 getExifOrientation(int orientation) argument [all...] |
/packages/apps/Camera/src/com/android/camera/ |
H A D | PhotoModule.java | 164 // The degrees of the device rotated clockwise from its natural orientation. 391 // Set the display orientation if display rotation has changed. 666 // Delay the toast for one second to wait for orientation. 982 int orientation = Exif.getOrientation(jpegData); 984 if ((mJpegRotation + orientation) % 180 == 0) { 998 orientation, mOnMediaSavedListener); 1294 public void onOrientationChanged(int orientation) { argument 1295 // We keep the last known orientation. So if the user first orient 1297 // the correct orientation. 1298 if (orientation [all...] |
H A D | VideoModule.java | 231 // The degrees of the device rotated clockwise from its natural orientation. 552 public void onOrientationChanged(int orientation) { argument 553 // We keep the last known orientation. So if the user first orient 555 // the correct orientation. 556 if (orientation == OrientationEventListener.ORIENTATION_UNKNOWN) return; 557 int newOrientation = Util.roundOrientation(orientation, mOrientation); 563 // compensates the camera orientation (no Display.getRotation). 564 // So the orientation hint here should only consider sensor 565 // orientation. 571 // Show the toast after getting the first orientation change 578 setOrientationIndicator(int orientation, boolean animation) argument [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | Camera.java | 134 // The degrees of the device rotated clockwise from its natural orientation. 136 // The orientation compensation for icons and thumbnails. Ex: if the value 300 // Set the display orientation if display rotation has changed. 356 // Create orientation listenter. This should be done first because it 357 // takes some time to get first orientation. 398 // Delay the toast for one second to wait for orientation. 438 // Start orientation listener as soon as possible because it takes 439 // some time to get first orientation. 994 int orientation = Exif.getOrientation(data); 996 loc, orientation, dat 1293 onOrientationChanged(int orientation) argument 1316 setOrientationIndicator(int orientation) argument [all...] |
H A D | VideoCamera.java | 250 // The degrees of the device rotated clockwise from its natural orientation. 252 // The orientation compensation for icons and thumbnails. Ex: if the value 255 // The orientation compenstaion when we start recording. 547 public void onOrientationChanged(int orientation) { argument 548 // We keep the last known orientation. So if the user first orient 550 // the correct orientation. 551 if (orientation == ORIENTATION_UNKNOWN) return; 552 mOrientation = Util.roundOrientation(orientation, mOrientation); 565 // orientation is fixed after recording. 571 // Show the toast after getting the first orientation change 579 setOrientationIndicator(int orientation) argument [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
H A D | ResearchLogger.java | 1413 "orientation", "width", "modeName", "action", "navigateNext", 1418 final int orientation) { 1426 orientation, kid.mWidth, KeyboardId.modeName(kid.mMode), kid.imeAction(), 1417 mainKeyboardView_setKeyboard(final Keyboard keyboard, final int orientation) argument
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
H A D | ExifInterface.java | 370 * <li>TOP_LEFT is the normal orientation.</li> 1880 * @param orientation the ExifTag Orientation value. 1882 public static int getRotationForOrientationValue(short orientation) { argument 1883 switch (orientation) {
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
H A D | ExifInterface.java | 370 * <li>TOP_LEFT is the normal orientation.</li> 1880 * @param orientation the ExifTag Orientation value. 1882 public static int getRotationForOrientationValue(short orientation) { argument 1883 switch (orientation) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | CellLayout.java | 929 int countX, int countY, int orientation) { 943 if (orientation == LANDSCAPE) { 928 getMetrics(Rect metrics, Resources res, int measureWidth, int measureHeight, int countX, int countY, int orientation) argument
|
H A D | Workspace.java | 531 // Note: We do this to ensure that the hotseat is always laid out in the orientation 532 // of the hotseat in order regardless of which orientation they were added 683 // Remove the current widget which is inflated with the wrong orientation 883 // at this orientation. On tablets in portrait mode we don't move all the way to the 2404 static Rect getCellLayoutMetrics(Launcher launcher, int orientation) { argument 2410 if (orientation == CellLayout.LANDSCAPE) { 2421 orientation); 2424 } else if (orientation == CellLayout.PORTRAIT) { 2435 orientation);
|
/packages/apps/Launcher3/src/com/android/gallery3d/exif/ |
H A D | ExifInterface.java | 370 * <li>TOP_LEFT is the normal orientation.</li> 1880 * @param orientation the ExifTag Orientation value. 1882 public static int getRotationForOrientationValue(short orientation) { argument 1883 switch (orientation) {
|
/packages/apps/Mms/src/com/android/mms/exif/ |
H A D | ExifInterface.java | 370 * <li>TOP_LEFT is the normal orientation.</li> 1880 * @param orientation the ExifTag Orientation value. 1882 public static int getRotationForOrientationValue(short orientation) { argument 1883 switch (orientation) {
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | Workspace.java | 948 // Remove the current widget which is inflated with the wrong orientation 2923 static Rect getCellLayoutMetrics(Launcher launcher, int orientation) { argument 2936 if (orientation == CellLayout.LANDSCAPE) { 2947 } else if (orientation == CellLayout.PORTRAIT) {
|