Searched defs:degrees (Results 1 - 18 of 18) sorted by relevance

/packages/apps/Gallery/src/com/android/camera/gallery/
H A DIImage.java78 public abstract boolean rotateImageBy(int degrees); argument
H A DImage.java59 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 DUriImage.java171 public boolean rotateImageBy(int degrees) { argument
H A DVideoObject.java100 public boolean rotateImageBy(int degrees) { argument
/packages/apps/Gallery/tests/src/com/android/camera/gallery/
H A DMockImage.java97 public boolean rotateImageBy(int degrees) { argument
/packages/apps/DeskClock/src/com/android/deskclock/
H A DCircleTimerView.java213 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 DUtil.java64 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 DLocalImage.java289 public void rotate(int degrees) { argument
293 int rotation = (this.rotation + degrees) % 360;
H A DLocalMergeAlbum.java210 public void rotate(int degrees) { argument
212 set.rotate(degrees);
H A DLocalVideo.java195 public void rotate(int degrees) { argument
H A DDataManager.java258 public void rotate(Path path, int degrees) { argument
259 getMediaObject(path).rotate(degrees);
H A DMediaObject.java103 public void rotate(int degrees) { argument
/packages/apps/Camera/src/com/android/camera/
H A DCameraManager.java419 public void setDisplayOrientation(int degrees) { argument
421 mCameraHandler.obtainMessage(SET_DISPLAY_ORIENTATION, degrees, 0)
H A DUtil.java71 // 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 DEffectsRecorder.java519 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 DGLRootView.java434 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 DUtil.java76 // 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 DEffectsRecorder.java342 public void setOrientationHint(int degrees) { argument
350 if (mLogVerbose) Log.v(TAG, "Setting orientation hint to: " + degrees);
351 mOrientationHint = degrees;

Completed in 373 milliseconds