/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
|
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
grovetemp.cxx | 45 printf("%d degrees Celsius, or %d degrees Fahrenheit\n",
|
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
GroveRotarySample.java | 42 float abs_deg = knob.abs_deg(); // Absolute degrees 45 float rel_deg = knob.rel_deg(); // Relative degrees
|
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
grovetemp.js | 38 console.log(celsius + " degrees Celsius, or " + 39 Math.round(fahrenheit) + " degrees Fahrenheit");
|
/hardware/bsp/intel/peripheral/libupm/examples/python/ |
grovetemp.py | 36 print "%d degrees Celsius, or %d degrees Fahrenheit" \
|
/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);
|
/external/vulkan-validation-layers/libs/glm/detail/ |
func_trigonometric.inl | 39 genType const & degrees 44 return degrees * genType(0.01745329251994329576923690768489); 49 // degrees 51 GLM_FUNC_QUALIFIER genType degrees 56 GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'degrees' only accept floating-point input"); 61 VECTORIZE_VEC(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);
|
/frameworks/base/graphics/java/android/graphics/ |
Camera.java | 61 * @param deg The angle of rotation around the X axis, in degrees 72 * @param deg The angle of rotation around the Y axis, in degrees 83 * @param deg The angle of rotation around the Z axis, in degrees 94 * @param x The angle of rotation around the X axis, in degrees 95 * @param y The angle of rotation around the Y axis, in degrees 96 * @param z The angle of rotation around the Z axis, in degrees
|
/frameworks/base/media/java/android/media/ |
MediaMuxer.java | 105 long nativeObject, int degrees); 167 * @param degrees the angle to be rotated clockwise in degrees. 168 * The supported angles are 0, 90, 180, and 270 degrees. 172 public void setOrientationHint(int degrees) { 173 if (degrees != 0 && degrees != 90 && degrees != 180 && degrees != 270) { 174 throw new IllegalArgumentException("Unsupported angle: " + 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/util/ |
MathUtils.java | 127 public static float radians(float degrees) { 128 return degrees * DEG_TO_RAD; 131 public static float degrees(float radians) { method in class:MathUtils 160 * Returns an interpolated angle in degrees between a set of start and end 169 * @param start the starting angle in degrees 170 * @param end the ending angle in degrees 173 * @return the interpolated angle in degrees
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/ANY/ |
LOC.py | 42 degrees = int(what // 3600000) 43 what -= degrees * 3600000 49 return (degrees * sign, minutes, seconds, what) 82 @type latitude: (int, int, int, int) tuple specifying the degrees, minutes, 85 @type longitude: (int, int, int, int) tuple specifying the degrees, 105 of integers specifying (degrees, minutes, seconds, milliseconds), 107 degrees. The other parameters are floats.""" 254 degrees = long(-1 * self.latitude[0]) 257 degrees = long(self.latitude[0]) 258 milliseconds = (degrees * 3600000 [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...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaMuxerTest.java | 178 int expectedTrackCount, int degrees) throws IOException { 210 if (degrees >= 0) { 211 muxer.setOrientationHint(degrees); 274 int expectedTrackCount, int degrees) throws IOException { 276 cloneMediaUsingMuxer(srcMedia, outputMediaFile, expectedTrackCount, degrees); 277 verifyAttributesMatch(srcMedia, outputMediaFile, degrees); 292 int degrees) { 305 assertEquals("Different degrees", degrees,
|
/external/eigen/unsupported/Eigen/src/Polynomials/ |
PolynomialUtils.h | 19 * by degrees i.e. poly[i] is the coefficient of degree i of the polynomial 40 * by degrees i.e. poly[i] is the coefficient of degree i of the polynomial 67 * by degrees i.e. poly[i] is the coefficient of degree i of the polynomial 93 * by degrees i.e. poly[i] is the coefficient of degree i of the polynomial 123 * by degrees i.e. poly[i] is the coefficient of degree i of the polynomial
|
/external/opencv3/samples/cpp/tutorial_code/ml/introduction_to_pca/ |
introduction_to_pca.cpp | 27 // double degrees = angle * 180 / CV_PI; // convert radians to degrees (0-180 range) 28 // cout << "Degrees: " << abs(degrees - 180) << endl; // angle in 0-360 degrees range
|
/frameworks/base/core/java/android/view/ |
OrientationEventListener.java | 161 * orientation parameter is in degrees, ranging from 0 to 359. 162 * orientation is 0 degrees when the device is oriented in its natural position, 163 * 90 degrees when its left side is at the top, 180 degrees when it is upside down, 164 * and 270 degrees when its right side is to the top.
|
/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/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/ |
TiledMapTileLayer.java | 140 /** @return The rotation of this cell, in degrees. */ 145 /** Sets the rotation of this cell, in degrees. 147 * @param rotation the rotation in degrees.
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
MathUtils.java | 44 /** multiply by this to convert from radians to degrees */
47 /** multiply by this to convert from degrees to radians */
73 static public float sinDeg (float degrees) {
74 return Sin.table[(int)(degrees * degToIndex) & SIN_MASK];
78 static public float cosDeg (float degrees) {
79 return Sin.table[(int)((degrees + 90) * degToIndex) & SIN_MASK];
84 /** Returns atan2 in radians, faster but less accurate than Math.atan2. Average error of 0.00231 radians (0.1323 degrees),
85 * largest error of 0.00488 radians (0.2796 degrees). */
264 /** Linearly interpolates between two angles in degrees. Takes into account that angles wrap at 360 degrees and always takes [all...] |
Vector2.java | 319 /** @return the angle in degrees of this vector (point) relative to the x-axis. Angles are towards the positive y-axis (typically
327 /** @return the angle in degrees of this vector (point) relative to the given vector. Angles are towards the positive y-axis
345 /** Sets the angle of the vector in degrees relative to the x-axis, towards the positive y-axis (typically counter-clockwise).
346 * @param degrees The angle in degrees to set. */
347 public Vector2 setAngle (float degrees) {
348 return setAngleRad(degrees * MathUtils.degreesToRadians);
361 * @param degrees the angle in degrees */
362 public Vector2 rotate (float degrees) {
[all...] |
/external/pdfium/public/ |
fpdf_progressive.h | 64 // rotate - Page orientation: 0 (normal), 1 (rotated 90 degrees 66 // 2 (rotated 180 degrees), 3 (rotated 90 degrees
|
/frameworks/av/include/media/stagefright/ |
MediaMuxer.h | 75 * @param degrees The rotation degrees. It has to be either 0, 79 status_t setOrientationHint(int degrees);
|