/packages/apps/Gallery/src/com/android/camera/gallery/ |
Image.java | 59 protected void setDegreesRotated(int degrees) { 60 if (mRotation == degrees) return; 61 mRotation = degrees; 105 private void setExifRotation(int degrees) { 107 degrees %= 360; 108 if (degrees < 0) degrees += 360; 111 switch (degrees) { 137 * @param degrees 139 public boolean rotateImageBy(int degrees) { [all...] |
/libcore/luni/src/test/resources/ |
recipe.xml | 13 Preheat oven to 350 degrees F (175 degrees C).
|
recipe1.xml | 13 Preheat oven to 350 degrees F (175 degrees C).
|
recipt.xml | 13 Preheat oven to 350 degrees F (175 degrees C).
|
reciptWrong.xml | 10 Preheat oven to 350 degrees F (175 degrees C).
|
systemid.xml | 13 Preheat oven to 350 degrees F (175 degrees C).
|
/external/skia/include/effects/ |
SkColorMatrix.h | 39 void setRotate(Axis, SkScalar degrees); 41 void preRotate(Axis, SkScalar degrees); 42 void postRotate(Axis, SkScalar degrees);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
RotateRecordingTime.java | 46 // degrees in counter-clockwise 47 public void setOrientation(int degrees) { 48 if (degrees % 90 == 0) { 49 mOrientation = degrees % 360; 52 Log.e(TAG, "Invalid orientation=" + degrees);
|
/frameworks/base/core/jni/android/graphics/ |
Camera.cpp | 33 static void Camera_rotateX(JNIEnv* env, jobject obj, float degrees) { 35 v->rotateX(SkFloatToScalar(degrees)); 38 static void Camera_rotateY(JNIEnv* env, jobject obj, float degrees) { 40 v->rotateY(SkFloatToScalar(degrees)); 43 static void Camera_rotateZ(JNIEnv* env, jobject obj, float degrees) { 45 v->rotateZ(SkFloatToScalar(degrees));
|
Matrix.cpp | 84 static void setRotate__FFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat degrees, jfloat px, jfloat py) { 85 SkScalar degrees_ = SkFloatToScalar(degrees); 91 static void setRotate__F(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat degrees) { 92 SkScalar degrees_ = SkFloatToScalar(degrees); 148 static jboolean preRotate__FFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat degrees, jfloat px, jfloat py) { 149 SkScalar degrees_ = SkFloatToScalar(degrees); 155 static jboolean preRotate__F(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat degrees) { 156 SkScalar degrees_ = SkFloatToScalar(degrees); 198 static jboolean postRotate__FFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat degrees, jfloat px, jfloat py) { 199 SkScalar degrees_ = SkFloatToScalar(degrees); [all...] |
/frameworks/base/location/java/android/location/ |
GpsSatellite.java | 71 * Returns the elevation of the satellite in degrees. 74 * @return the elevation in degrees 81 * Returns the azimuth of the satellite in degrees. 84 * @return the azimuth in degrees
|
/packages/apps/Camera/src/com/android/camera/ |
Util.java | 54 public static Bitmap rotate(Bitmap b, int degrees) { 55 return rotateAndMirror(b, degrees, false); 60 public static Bitmap rotateAndMirror(Bitmap b, int degrees, boolean mirror) { 61 if ((degrees != 0 || mirror) && b != null) { 63 m.setRotate(degrees, 67 degrees = (degrees + 360) % 360; 68 if (degrees == 0 || degrees == 180) { 70 } else if (degrees == 90 || degrees == 270) 320 int degrees = getDisplayRotation(activity); local [all...] |
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/location/ |
CoordinateControls.java | 209 double degrees = mDecimalFormat.parse(mSexagesimalDegreeText.getText()).doubleValue(); local 213 boolean isPositive = (degrees >= 0.); 214 degrees = Math.abs(degrees); 216 double value = degrees + minutes / 60. + seconds / 3600.; 232 double degrees = Math.floor(value); local 235 double minutes = Math.floor((value - degrees) * 60.); 238 double seconds = (value - degrees) * 3600. - minutes * 60.; 242 Integer.toString(isPositive ? (int)degrees : (int)- degrees)); [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Matrix.java | 68 * degrees. 119 * Set the matrix to rotate by the specified number of degrees, with a pivot 123 public void setRotate(float degrees, float px, float py) { 124 native_setRotate(native_instance, degrees, px, py); 128 * Set the matrix to rotate about (0,0) by the specified number of degrees. 130 public void setRotate(float degrees) { 131 native_setRotate(native_instance, degrees); 198 * M' = M * R(degrees, px, py) 200 public boolean preRotate(float degrees, float px, float py) { 201 return native_preRotate(native_instance, degrees, px, py) [all...] |
/external/skia/src/animator/ |
SkDrawMatrix.h | 53 void rotate(SkScalar degrees, SkPoint& center) { 54 fMatrix.preRotate(degrees, center.fX, center.fY);
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
ArcShape.java | 37 * @param startAngle the angle (in degrees) where the arc begins 38 * @param sweepAngle the sweep angle (in degrees). Anything equal to or
|
/external/skia/src/utils/ |
SkColorMatrix.cpp | 26 void SkColorMatrix::setRotate(Axis axis, SkScalar degrees) 30 S = SkScalarSinCos(SkDegreesToRadians(degrees), &C); 53 void SkColorMatrix::preRotate(Axis axis, SkScalar degrees) 56 tmp.setRotate(axis, degrees); 60 void SkColorMatrix::postRotate(Axis axis, SkScalar degrees) 63 tmp.setRotate(axis, degrees);
|
/frameworks/base/core/java/android/view/ |
OrientationEventListener.java | 162 * orientation parameter is in degrees, ranging from 0 to 359. 163 * orientation is 0 degrees when the device is oriented in its natural position, 164 * 90 degrees when its left side is at the top, 180 degrees when it is upside down, 165 * and 270 degrees when its right side is to the top.
|
/hardware/libhardware/include/hardware/ |
overlay.h | 60 /* rotate source image 90 degrees */ 62 /* rotate source image 180 degrees */ 64 /* rotate source image 270 degrees */ 70 /* rotation of the source image in degrees (0 to 359) */ 92 /* Supported rotation step in degrees. */
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
Rotate3dAnimation.java | 39 * start angle and its end angle. Both angles are in degrees. The rotation 71 float degrees = fromDegrees + ((mToDegrees - fromDegrees) * interpolatedTime); local 85 camera.rotateY(degrees);
|
/external/webkit/WebKit/android/plugins/ |
ANPMatrixInterface.cpp | 100 static void anp_preRotate(ANPMatrix* matrix, float degrees) { 101 matrix->preRotate(SkFloatToScalar(degrees)); 104 static void anp_postRotate(ANPMatrix* matrix, float degrees) { 105 matrix->postRotate(SkFloatToScalar(degrees));
|
/packages/apps/Camera/tests/src/com/android/camera/gallery/ |
MockImage.java | 97 public boolean rotateImageBy(int degrees) {
|
/packages/apps/Gallery/tests/src/com/android/camera/gallery/ |
MockImage.java | 97 public boolean rotateImageBy(int degrees) {
|
/external/skia/include/core/ |
SkMatrix.h | 65 90 degrees. 141 /** Set the matrix to rotate by the specified number of degrees, with a 145 void setRotate(SkScalar degrees, SkScalar px, SkScalar py); 146 /** Set the matrix to rotate about (0,0) by the specified number of degrees. 148 void setRotate(SkScalar degrees); 185 M' = M * R(degrees, px, py) 187 bool preRotate(SkScalar degrees, SkScalar px, SkScalar py); 189 M' = M * R(degrees) 191 bool preRotate(SkScalar degrees); 222 M' = R(degrees, px, py) * [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Matrix_Delegate.java | 280 /*package*/ static void native_setRotate(int native_object, float degrees, float px, float py) { 286 d.mValues = getRotate(degrees, px, py); 290 /*package*/ static void native_setRotate(int native_object, float degrees) { 296 setRotate(d.mValues, degrees); 420 /*package*/ static boolean native_preRotate(int native_object, float degrees, 427 d.preTransform(getRotate(degrees, px, py)); 432 /*package*/ static boolean native_preRotate(int native_object, float degrees) { 438 double rad = Math.toRadians(degrees); 520 /*package*/ static boolean native_postRotate(int native_object, float degrees, 527 d.postTransform(getRotate(degrees, px, py)) [all...] |