/packages/apps/Gallery/src/com/android/camera/gallery/ |
H A D | Image.java | 59 protected void setDegreesRotated(int degrees) { argument 60 if (mRotation == degrees) return; 61 mRotation = degrees; 105 private void setExifRotation(int degrees) { argument 107 degrees %= 360; 108 if (degrees < 0) degrees += 360; 111 switch (degrees) { 137 * @param degrees 139 public boolean rotateImageBy(int degrees) { argument [all...] |
H A D | IImage.java | 78 public abstract boolean rotateImageBy(int degrees); argument
|
H A D | VideoObject.java | 100 public boolean rotateImageBy(int degrees) { argument
|
H A D | UriImage.java | 171 public boolean rotateImageBy(int degrees) { argument
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | Util.java | 76 // Orientation hysteresis amount used in rounding, in degrees 114 public static Bitmap rotate(Bitmap b, int degrees) { argument 115 return rotateAndMirror(b, degrees, false); 120 public static Bitmap rotateAndMirror(Bitmap b, int degrees, boolean mirror) { argument 121 if ((degrees != 0 || mirror) && b != null) { 127 degrees = (degrees + 360) % 360; 128 if (degrees == 0 || degrees == 180) { 130 } else if (degrees 338 getDisplayOrientation(int degrees, int cameraId) argument [all...] |
H A D | EffectsRecorder.java | 342 public void setOrientationHint(int degrees) { argument 350 if (mLogVerbose) Log.v(TAG, "Setting orientation hint to: " + degrees); 351 mOrientationHint = degrees;
|
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
H A D | VideoChatTestActivity.java | 118 int degrees = 0; 121 degrees = 0; 124 degrees = 90; 127 degrees = 180; 130 degrees = 270; 133 return degrees; 142 int degrees = getDisplayOrientation(); 143 new CameraTestRunner().execute(new Integer[] { degrees });
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | Util.java | 71 // Orientation hysteresis amount used in rounding, in degrees 155 public static Bitmap rotate(Bitmap b, int degrees) { argument 156 return rotateAndMirror(b, degrees, false); 161 public static Bitmap rotateAndMirror(Bitmap b, int degrees, boolean mirror) { argument 162 if ((degrees != 0 || mirror) && b != null) { 168 degrees = (degrees + 360) % 360; 169 if (degrees == 0 || degrees == 180) { 171 } else if (degrees 389 getDisplayOrientation(int degrees, int cameraId) argument [all...] |
/packages/apps/Gallery/tests/src/com/android/camera/gallery/ |
H A D | MockImage.java | 97 public boolean rotateImageBy(int degrees) { argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | Paper.java | 81 float degrees = 85 Matrix.rotateM(mMatrix, 0, degrees, 0, 1, 0);
|
H A D | GLRootView.java | 444 private void rotateCanvas(int degrees) { argument 445 if (degrees == 0) return; 451 mCanvas.rotate(degrees, 0, 0, 1); 452 if (degrees % 180 != 0) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | MediaObject.java | 104 public void rotate(int degrees) { argument
|
H A D | LocalMergeAlbum.java | 207 public void rotate(int degrees) { argument 209 set.rotate(degrees);
|
H A D | DataManager.java | 256 public void rotate(Path path, int degrees) { argument 257 getMediaObject(path).rotate(degrees);
|
/packages/apps/Camera2/src/com/android/camera/debug/ |
H A D | DebugCameraProxy.java | 188 public void setDisplayOrientation(int degrees) { argument 189 log("setDisplayOrientation:" + degrees); 190 mProxy.setDisplayOrientation(degrees);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | CircleTimerView.java | 201 Canvas canvas, float degrees, int xCenter, int yCenter, float radius) { 205 dotPercent = 270 - degrees * 360; 207 dotPercent = 270 + degrees * 360; 200 drawRedDot( Canvas canvas, float degrees, int xCenter, int yCenter, float radius) argument
|
/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | CameraUtil.java | 83 /** Orientation hysteresis amount used in rounding, in degrees. */ 145 public static Bitmap rotate(Bitmap b, int degrees) { argument 146 return rotateAndMirror(b, degrees, false); 153 public static Bitmap rotateAndMirror(Bitmap b, int degrees, boolean mirror) { argument 154 if ((degrees != 0 || mirror) && b != null) { 160 degrees = (degrees + 360) % 360; 161 if (degrees == 0 || degrees == 180) { 163 } else if (degrees [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | VideoUtils.java | 178 int degrees = Integer.parseInt(degreesString); 179 if (degrees >= 0) { 180 muxer.setOrientationHint(degrees);
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
H A D | ExifInterface.java | 1856 * Returns the Orientation ExifTag value for a given number of degrees. 1858 * @param degrees the amount an image is rotated in degrees. 1860 public static short getOrientationValueForRotation(int degrees) { argument 1861 degrees %= 360; 1862 if (degrees < 0) { 1863 degrees += 360; 1865 if (degrees < 90) { 1866 return Orientation.TOP_LEFT; // 0 degrees 1867 } else if (degrees < 18 [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
H A D | Util.java | 64 public static Bitmap rotate(Bitmap b, int degrees) { argument 65 if (degrees != 0 && b != null) { 67 m.setRotate(degrees,
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
H A D | ExifInterface.java | 1856 * Returns the Orientation ExifTag value for a given number of degrees. 1858 * @param degrees the amount an image is rotated in degrees. 1860 public static short getOrientationValueForRotation(int degrees) { argument 1861 degrees %= 360; 1862 if (degrees < 0) { 1863 degrees += 360; 1865 if (degrees < 90) { 1866 return Orientation.TOP_LEFT; // 0 degrees 1867 } else if (degrees < 18 [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/ |
H A D | ExifInterface.java | 1856 * Returns the Orientation ExifTag value for a given number of degrees. 1858 * @param degrees the amount an image is rotated in degrees. 1860 public static short getOrientationValueForRotation(int degrees) { argument 1861 degrees %= 360; 1862 if (degrees < 0) { 1863 degrees += 360; 1865 if (degrees < 90) { 1866 return Orientation.TOP_LEFT; // 0 degrees 1867 } else if (degrees < 18 [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | IndicatorControlWheel.java | 398 double degrees = CLOSE_ICON_DEFAULT_DEGREES; 403 mChildRadians[startIndex + i] = Math.toRadians(degrees); 404 degrees += sectorDegrees;
|
/packages/apps/Mms/src/com/android/mms/exif/ |
H A D | ExifInterface.java | 1856 * Returns the Orientation ExifTag value for a given number of degrees. 1858 * @param degrees the amount an image is rotated in degrees. 1860 public static short getOrientationValueForRotation(int degrees) { argument 1861 degrees %= 360; 1862 if (degrees < 0) { 1863 degrees += 360; 1865 if (degrees < 90) { 1866 return Orientation.TOP_LEFT; // 0 degrees 1867 } else if (degrees < 18 [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | UriImage.java | 467 * @param degrees The rotation angle 469 public static Bitmap rotateBitmap(Bitmap bitmap, int degrees) { argument 470 if (degrees != 0 && bitmap != null) { 474 m.setRotate(degrees, (float) w / 2, (float) h / 2); 492 * Returns the number of degrees to rotate the picture, based on the orientation tag in 494 * 0 degrees is returned.
|