Searched refs:degrees (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/core/jni/android/graphics/
H A DCamera.cpp33 static void Camera_rotateX(JNIEnv* env, jobject obj, float degrees) { argument
35 v->rotateX(SkFloatToScalar(degrees));
38 static void Camera_rotateY(JNIEnv* env, jobject obj, float degrees) { argument
40 v->rotateY(SkFloatToScalar(degrees));
43 static void Camera_rotateZ(JNIEnv* env, jobject obj, float degrees) { argument
45 v->rotateZ(SkFloatToScalar(degrees));
H A DMatrix.cpp84 static void setRotate__FFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat degrees, jfloat px, jfloat py) { argument
85 SkScalar degrees_ = SkFloatToScalar(degrees);
91 static void setRotate__F(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat degrees) { argument
92 SkScalar degrees_ = SkFloatToScalar(degrees);
148 static jboolean preRotate__FFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat degrees, jfloat px, jfloat py) { argument
149 SkScalar degrees_ = SkFloatToScalar(degrees);
155 static jboolean preRotate__F(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat degrees) { argument
156 SkScalar degrees_ = SkFloatToScalar(degrees);
198 static jboolean postRotate__FFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat degrees, jfloat px, jfloat py) { argument
199 SkScalar degrees_ = SkFloatToScalar(degrees);
205 postRotate__F(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat degrees) argument
[all...]
H A DCanvas.cpp207 static void rotate__F(JNIEnv* env, jobject jcanvas, jfloat degrees) { argument
209 SkScalar degrees_ = SkFloatToScalar(degrees);
/frameworks/base/graphics/java/android/graphics/
H A DMatrix.java68 * 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) { argument
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) { argument
131 native_setRotate(native_instance, degrees);
198 * M' = M * R(degrees, px, py)
200 public boolean preRotate(float degrees, float px, float py) { argument
201 return native_preRotate(native_instance, degrees, p
208 preRotate(float degrees) argument
264 postRotate(float degrees, float px, float py) argument
272 postRotate(float degrees) argument
609 native_setRotate(int native_object, float degrees, float px, float py) argument
611 native_setRotate(int native_object, float degrees) argument
629 native_preRotate(int native_object, float degrees, float px, float py) argument
631 native_preRotate(int native_object, float degrees) argument
645 native_postRotate(int native_object, float degrees, float px, float py) argument
647 native_postRotate(int native_object, float degrees) argument
[all...]
H A DColorMatrix.java119 public void setRotate(int axis, float degrees) { argument
121 float radians = degrees * (float)Math.PI / 180;
H A DCanvas.java392 * @param degrees The amount to rotate, in degrees
394 public native void rotate(float degrees); argument
399 * @param degrees The amount to rotate, in degrees
403 public final void rotate(float degrees, float px, float py) { argument
405 rotate(degrees);
910 * @param startAngle Starting angle (in degrees) where the arc begins
911 * @param sweepAngle Sweep angle (in degrees) measured clockwise
/frameworks/base/core/java/android/view/animation/
H A DRotateAnimation.java150 float degrees = mFromDegrees + ((mToDegrees - mFromDegrees) * interpolatedTime);
153 t.getMatrix().setRotate(degrees);
155 t.getMatrix().setRotate(degrees, mPivotX, mPivotY);
/frameworks/base/core/java/android/util/
H A DMathUtils.java115 public static float radians(float degrees) { argument
116 return degrees * DEG_TO_RAD;
119 public static float degrees(float radians) { method in class:MathUtils
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DMatrix.java119 * degrees.
226 * Set the matrix to rotate by the specified number of degrees, with a pivot
231 public void setRotate(float degrees, float px, float py) { argument
246 double rad = Math.toRadians(degrees);
255 * Set the matrix to rotate about (0,0) by the specified number of degrees.
258 public void setRotate(float degrees) { argument
259 double rad = Math.toRadians(degrees);
422 * M' = M * R(degrees, px, py)
425 public boolean preRotate(float degrees, float px, float py) { argument
427 m.setRotate(degrees, p
439 preRotate(float degrees) argument
535 postRotate(float degrees, float px, float py) argument
555 postRotate(float degrees) argument
[all...]
H A DCanvas.java611 public void rotate(float degrees, float px, float py) { argument
612 if (degrees != 0) {
615 g.rotate(Math.toRadians(degrees));
624 public void rotate(float degrees) { argument
625 getGraphics2d().rotate(Math.toRadians(degrees));
/frameworks/base/location/java/android/location/
H A DLocation.java41 * in the form "[+-]DDD.DDDDD where D indicates degrees.
47 * in the form "[+-]DDD:MM.MMMMM" where D indicates degrees and
54 * in the form "DDD:MM:SS.SSSSS" where D indicates degrees, M
184 int degrees = (int) Math.floor(coordinate);
185 sb.append(degrees);
187 coordinate -= degrees;
228 String degrees = st.nextToken();
231 val = Double.parseDouble(degrees);
236 int deg = Integer.parseInt(degrees);
251 // deg must be in [0, 179] except for the case of -180 degrees
[all...]
/frameworks/base/media/java/android/media/
H A DExifInterface.java340 int degrees = (int) (Float.parseFloat(pair[0].trim())
351 float result = degrees + (minutes / 60F) + (seconds / (60F * 60F));
/frameworks/base/libs/rs/
H A DrsScriptC_Lib.cpp413 static float SC_radf(float degrees) argument
415 return degrees * DEG_TO_RAD;
/frameworks/base/core/java/android/hardware/
H A DCamera.java568 * @param degrees the angle that the picture will be rotated clockwise.
572 public native final void setDisplayOrientation(int degrees); argument
1289 * Sets the orientation of the device in degrees. For example, suppose
1292 * should be set to 0. If the user rotates the phone 90 degrees
1302 * @param rotation The orientation of the device in degrees. Rotation
1637 * Gets the horizontal angle of view in degrees.
1647 * Gets the vertical angle of view in degrees.

Completed in 3428 milliseconds