/prebuilts/ndk/r11/platforms/android-24/arch-mips64/usr/include/media/ |
NdkMediaMuxer.h | 66 * Both values are specified in degrees. 81 * The angle is specified in degrees, clockwise. 82 * The supported angles are 0, 90, 180, and 270 degrees. 84 media_status_t AMediaMuxer_setOrientationHint(AMediaMuxer*, int degrees);
|
/prebuilts/ndk/r11/platforms/android-24/arch-x86/usr/include/media/ |
NdkMediaMuxer.h | 66 * Both values are specified in degrees. 81 * The angle is specified in degrees, clockwise. 82 * The supported angles are 0, 90, 180, and 270 degrees. 84 media_status_t AMediaMuxer_setOrientationHint(AMediaMuxer*, int degrees);
|
/prebuilts/ndk/r11/platforms/android-24/arch-x86_64/usr/include/media/ |
NdkMediaMuxer.h | 66 * Both values are specified in degrees. 81 * The angle is specified in degrees, clockwise. 82 * The supported angles are 0, 90, 180, and 270 degrees. 84 media_status_t AMediaMuxer_setOrientationHint(AMediaMuxer*, int 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/vulkan-validation-layers/libs/glm/detail/ |
func_trigonometric.hpp | 48 /// Converts degrees to radians and returns the result. 55 GLM_FUNC_DECL genType radians(genType const & degrees); 57 /// Converts radians to degrees and returns the result. 61 /// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/degrees.xml">GLSL degrees man page</a> 64 GLM_FUNC_DECL genType degrees(genType const & radians);
|
/frameworks/base/media/java/android/media/ |
MediaMuxer.java | 287 long nativeObject, int degrees); 369 * @param degrees the angle to be rotated clockwise in degrees. 370 * The supported angles are 0, 90, 180, and 270 degrees. 374 public void setOrientationHint(int degrees) { 375 if (degrees != 0 && degrees != 90 && degrees != 180 && degrees != 270) { 376 throw new IllegalArgumentException("Unsupported angle: " + degrees); [all...] |
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
RectUtils.java | 59 public static void rotateRect(final int degrees, final int px, final int py, final Rect rect) { 62 matrix.setRotate(degrees, px, py);
|
/frameworks/base/core/java/android/widget/ |
RadialTimePickerView.java | 103 // Prepare mapping to snap touchable degrees to selectable degrees. 218 * Split up the 360 degrees of the circle among the 60 selectable values. Assigns a larger 221 * E.g. the output of 30 degrees should have a higher range of input associated with it than 222 * the output of 24 degrees, because 30 degrees corresponds to a visible number on the clock 227 // output will correspond to a range of 14 associated input degrees, and each non-visible 228 // output will correspond to a range of 4 associate input degrees, so visible numbers 232 // If an output of 30 degrees should correspond to a range of 14 associated degrees, the 494 final int degrees = (hour % 12) * DEGREES_FOR_ONE_HOUR; local 941 final int degrees = (int) (Math.toDegrees(Math.atan2(dY, dX) + Math.PI \/ 2) + 0.5); local 997 final int degrees = getDegreesFromXY(x, y, false); local 1061 final int degrees = getDegreesFromXY(event.getX(), event.getY(), false); local 1150 final int degrees = getDegreesFromXY(x, y, true); local 1316 final float degrees; local [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
RadialSelectorView.java | 90 * @param selectionDegrees The initial degrees to be selected. 159 * @param selectionDegrees The degrees to be selected. 163 * drawn. If false, the dot will be drawn only when the degrees is not a multiple of 30, i.e. 254 int degrees = (int) (radians * 180 / Math.PI); local 260 degrees = 90 - degrees; 262 degrees = 90 + degrees; 264 degrees = 270 - degrees; [all...] |
/external/webrtc/webrtc/modules/video_capture/ |
video_capture_impl.cc | 46 int32_t VideoCaptureImpl::RotationFromDegrees(int degrees, 48 switch (degrees) { 68 int* degrees) { 71 *degrees = 0; 74 *degrees = 90; 77 *degrees = 180; 80 *degrees = 270;
|
video_capture_impl.h | 55 // Helpers for converting between (integral) degrees and 57 static int32_t RotationFromDegrees(int degrees, VideoRotation* rotation); 58 static int32_t RotationInDegrees(VideoRotation rotation, int* degrees);
|
/frameworks/base/core/java/android/view/animation/ |
RotateAnimation.java | 167 float degrees = mFromDegrees + ((mToDegrees - mFromDegrees) * interpolatedTime); local 171 t.getMatrix().setRotate(degrees); 173 t.getMatrix().setRotate(degrees, mPivotX * scale, mPivotY * scale);
|
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
WeatherDataProvider.java | 40 int degrees; field in class:WeatherDataPoint 44 degrees = deg; 98 c.addRow(new Object[]{ new Integer(i), data.day, new Integer(data.degrees) }); 132 data.degrees = values.getAsInteger(Columns.TEMPERATURE);
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
IImage.java | 78 public abstract boolean rotateImageBy(int degrees);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
Util.java | 76 // Orientation hysteresis amount used in rounding, in degrees 114 public static Bitmap rotate(Bitmap b, int degrees) { 115 return rotateAndMirror(b, degrees, false); 120 public static Bitmap rotateAndMirror(Bitmap b, int degrees, boolean mirror) { 121 if ((degrees != 0 || mirror) && b != null) { 127 degrees = (degrees + 360) % 360; 128 if (degrees == 0 || degrees == 180) { 130 } else if (degrees == 90 || degrees == 270) [all...] |
/external/skia/src/effects/ |
SkColorMatrix.cpp | 95 void SkColorMatrix::setRotate(Axis axis, SkScalar degrees) { 98 S = SkScalarSinCos(SkDegreesToRadians(degrees), &C); 120 void SkColorMatrix::preRotate(Axis axis, SkScalar degrees) { 122 tmp.setRotate(axis, degrees); 126 void SkColorMatrix::postRotate(Axis axis, SkScalar degrees) { 128 tmp.setRotate(axis, degrees);
|
/frameworks/base/core/jni/android/graphics/ |
Camera.cpp | 41 static void Camera_rotateX(JNIEnv* env, jobject obj, jfloat degrees) { 44 v->rotateX(degrees); 47 static void Camera_rotateY(JNIEnv* env, jobject obj, jfloat degrees) { 50 v->rotateY(degrees); 53 static void Camera_rotateZ(JNIEnv* env, jobject obj, jfloat degrees) { 56 v->rotateZ(degrees);
|
Matrix.cpp | 185 static void setRotate__FFF(jlong objHandle, jfloat degrees, jfloat px, 188 obj->setRotate(degrees, px, py); 191 static void setRotate__F(jlong objHandle, jfloat degrees) { 193 obj->setRotate(degrees); 242 static void preRotate__FFF(jlong objHandle, jfloat degrees, jfloat px, 245 obj->preRotate(degrees, px, py); 248 static void preRotate__F(jlong objHandle, jfloat degrees) { 250 obj->preRotate(degrees); 286 static void postRotate__FFF(jlong objHandle, jfloat degrees, jfloat px, 289 obj->postRotate(degrees, px, py) [all...] |
/frameworks/base/core/java/android/util/ |
MathUtils.java | 124 public static float radians(float degrees) { 125 return degrees * DEG_TO_RAD; 128 public static float degrees(float radians) { method in class:MathUtils 157 * Returns an interpolated angle in degrees between a set of start and end 166 * @param start the starting angle in degrees 167 * @param end the ending angle in degrees 170 * @return the interpolated angle in degrees
|
/frameworks/av/media/ndk/ |
NdkMediaMuxer.cpp | 76 media_status_t AMediaMuxer_setOrientationHint(AMediaMuxer *muxer, int degrees) { 77 return translate_error(muxer->mImpl->setOrientationHint(degrees));
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
Matrix_Delegate.java | 293 /*package*/ static void nSetRotate(long native_object, float degrees, float px, float py) { 299 d.mValues = getRotate(degrees, px, py); 303 /*package*/ static void nSetRotate(long native_object, float degrees) { 309 setRotate(d.mValues, degrees); 414 /*package*/ static void nPreRotate(long native_object, float degrees, 418 d.preTransform(getRotate(degrees, px, py)); 423 /*package*/ static void nPreRotate(long native_object, float degrees) { 427 double rad = Math.toRadians(degrees); 487 /*package*/ static void nPostRotate(long native_object, float degrees, 491 d.postTransform(getRotate(degrees, px, py)) [all...] |
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
VideoChatTestActivity.java | 118 int degrees = 0; local 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 });
|
/external/skia/include/c/ |
sk_canvas.h | 62 specified rotation in degrees. 64 SK_API void sk_canvas_rotate_degrees(sk_canvas_t*, float degrees);
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
MediaMuxer.h | 76 * @param degrees The rotation degrees. It has to be either 0, 80 status_t setOrientationHint(int degrees);
|
/packages/apps/Gallery/tests/src/com/android/camera/gallery/ |
MockImage.java | 97 public boolean rotateImageBy(int degrees) {
|