/packages/apps/Gallery/src/com/android/camera/gallery/ |
H A D | IImage.java | 78 public abstract boolean rotateImageBy(int degrees); argument
|
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 | UriImage.java | 171 public boolean rotateImageBy(int degrees) { argument
|
H A D | VideoObject.java | 100 public boolean rotateImageBy(int degrees) { argument
|
/packages/apps/Gallery/tests/src/com/android/camera/gallery/ |
H A D | MockImage.java | 97 public boolean rotateImageBy(int degrees) { argument
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | CircleTimerView.java | 213 Canvas canvas, float degrees, int xCenter, int yCenter, float radius) { 217 diamondPercent = 270 - degrees * 360; 219 diamondPercent = 270 + degrees * 360; 212 drawRedDiamond( Canvas canvas, float degrees, int xCenter, int yCenter, float radius) argument
|
/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/src/com/android/gallery3d/data/ |
H A D | LocalImage.java | 289 public void rotate(int degrees) { argument 293 int rotation = (this.rotation + degrees) % 360;
|
H A D | LocalMergeAlbum.java | 210 public void rotate(int degrees) { argument 212 set.rotate(degrees);
|
H A D | LocalVideo.java | 195 public void rotate(int degrees) { argument
|
H A D | DataManager.java | 258 public void rotate(Path path, int degrees) { argument 259 getMediaObject(path).rotate(degrees);
|
H A D | MediaObject.java | 103 public void rotate(int degrees) { argument
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | CameraManager.java | 419 public void setDisplayOrientation(int degrees) { argument 421 mCameraHandler.obtainMessage(SET_DISPLAY_ORIENTATION, degrees, 0)
|
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...] |
H A D | EffectsRecorder.java | 519 public void setOrientationHint(int degrees) { argument 527 if (mLogVerbose) Log.v(TAG, "Setting orientation hint to: " + degrees); 528 mOrientationHint = degrees;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | GLRootView.java | 434 private void rotateCanvas(int degrees) { argument 435 if (degrees == 0) return; 441 mCanvas.rotate(degrees, 0, 0, 1); 442 if (degrees % 180 != 0) {
|
/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;
|