/packages/apps/Phone/src/com/android/phone/ |
AccelerometerListener.java | 124 // compute the vertical angle 125 double angle = Math.atan2(xy, z); local 127 angle = angle * 180.0 / Math.PI; 128 int orientation = (angle > VERTICAL_ANGLE ? ORIENTATION_VERTICAL : ORIENTATION_HORIZONTAL); 129 if (VDEBUG) Log.d(TAG, "angle: " + angle + " orientation: " + orientation);
|
/development/samples/ApiDemos/res/drawable/ |
scrollbar_vertical_thumb.xml | 19 android:angle="0"/>
|
scrollbar_vertical_track.xml | 19 android:angle="0"/>
|
shape_5.xml | 19 android:angle="270"/>
|
/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 46 * @param fromDegrees the start angle of the 3D rotation 47 * @param toDegrees the end angle of the 3D rotation
|
/external/quake/quake/src/QW/client/ |
r_bsp.c | 81 float angle, s, c, temp1[3][3], temp2[3][3], temp3[3][3]; local 89 angle = currententity->angles[YAW]; 90 angle = angle * M_PI*2 / 360; 91 s = sin(angle); 92 c = cos(angle); 106 angle = currententity->angles[PITCH]; 107 angle = angle * M_PI*2 / 360; 108 s = sin(angle); [all...] |
/external/quake/quake/src/WinQuake/ |
r_bsp.cpp | 81 float angle, s, c, temp1[3][3], temp2[3][3], temp3[3][3];
local 89 angle = currententity->angles[YAW];
90 angle = angle * M_PI*2 / 360;
91 s = sin(angle);
92 c = cos(angle);
106 angle = currententity->angles[PITCH];
107 angle = angle * M_PI*2 / 360;
108 s = sin(angle);
[all...] |
/external/webkit/WebCore/platform/graphics/transforms/ |
RotateTransformOperation.cpp | 75 // Convert that to Axis/Angle form 80 double angle = 0; local 86 angle = rad2deg(acos(decomp.quaternionW) * 2); 92 return RotateTransformOperation::create(x, y, z, angle, ROTATE_3D);
|
AffineTransform.cpp | 61 double angle = atan2(m.b(), m.a()); local 64 m.rotate(rad2deg(-angle)); 69 sr[2] = angle; 179 // angle is in degree. Switch to radian 263 AffineTransform& AffineTransform::skewX(double angle) 265 return shear(tan(deg2rad(angle)), 0); 268 AffineTransform& AffineTransform::skewY(double angle) 270 return shear(0, tan(deg2rad(angle)));
|
/frameworks/base/opengl/libagl/ |
fp.cpp | 62 // scale angle for easy argument reduction 79 void sincosf(GLfloat angle, GLfloat* s, GLfloat* c) { 80 *s = sinef(angle); 81 *c = cosinef(angle);
|
/packages/apps/Calculator/res/drawable/ |
blue_button.xml | 19 android:angle="90"/>
|
button.xml | 19 android:angle="90"/>
|
/frameworks/base/core/java/android/gesture/ |
OrientedBoundingBox.java | 36 OrientedBoundingBox(float angle, float cx, float cy, float w, float h) { 37 orientation = angle;
|
/packages/wallpapers/Basic/res/raw/ |
grass.rs | 93 float angle = bladeStruct->angle; 101 angle = clampf(angle + (newAngle + bladeStruct->offset - angle) * 0.15f, -MAX_BEND, MAX_BEND); 108 float d = angle * bladeStruct->hardness; 161 bladeStruct->angle = angle;
|
/external/skia/src/core/ |
SkCordic.cpp | 216 for (float angle = -720; angle < 720; angle += 30) { 217 float radian = angle * 3.1415925358f / 180.0f; 228 SkDebugf("sin error : angle = %g ; sin = %g ; cordic = %g\n", angle, sine, sine2); 231 SkDebugf("cos error : angle = %g ; cos = %g ; cordic = %g\n", angle, cosine, cosine2); 238 SkDebugf("tan error : angle = %g ; tan = %g ; cordic = %g\n", angle, _tan, tan2) [all...] |
/frameworks/base/awt/org/apache/harmony/awt/gl/render/ |
JavaArcRasterizer.java | 191 * Returns normalized angle (from 0 to 360 degrees) 193 static double getNormAngle(double angle) { 194 angle -= Math.floor(angle / 360) * 360; 195 if (angle < 0) { 196 angle += 360; 198 return angle; 257 static int[] getSegment1(double angle, int ax, int ay, int xcount, int ycount) { 259 switch((int)(angle / 90)) { 311 static int[] getSegment2(double angle, int ax, int ay, int xcount, int ycount) [all...] |
/external/webkit/WebCore/svg/ |
SVGMarkerElement.cpp | 80 SVGAngle angle; local 85 angle.setValueAsString(attr->value()); 89 setOrientAngleBaseValue(angle); 189 void SVGMarkerElement::setOrientToAngle(const SVGAngle& angle) 192 setOrientAngleBaseValue(angle);
|
SVGAngle.idl | 26 // Angle Unit Types
|
SVGPathElement.cpp | 120 PassRefPtr<SVGPathSegArcAbs> SVGPathElement::createSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) 122 return SVGPathSegArcAbs::create(x, y, r1, r2, angle, largeArcFlag, sweepFlag); 125 PassRefPtr<SVGPathSegArcRel> SVGPathElement::createSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) 127 return SVGPathSegArcRel::create(x, y, r1, r2, angle, largeArcFlag, sweepFlag);
|
SVGTransformDistance.h | 47 SVGTransformDistance(SVGTransform::SVGTransformType, float angle, float cx, float cy, const AffineTransform&);
|
/frameworks/base/media/java/android/media/ |
FaceDetector.java | 38 /** The x-axis Euler angle of a face. */ 40 /** The y-axis Euler angle of a face. */ 42 /** The z-axis Euler angle of a face. */ 72 * @param euler the Euler axis to retrieve an angle from 75 * @return the Euler angle of the of the face, for the given axis
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
MatrixStack.java | 126 public void glRotatef(float angle, float x, float y, float z) { 127 Matrix.setRotateM(mTemp, 0, angle, x, y, z); 132 public void glRotatex(int angle, int x, int y, int z) { 133 glRotatef(angle, fixedToFloat(x), fixedToFloat(y), fixedToFloat(z));
|
/development/samples/LunarLander/res/values/ |
strings.xml | 37 <string name="message_bad_angle">Bad Angle</string>
|
/external/webkit/WebCore/css/ |
WebKitCSSMatrix.cpp | 157 PassRefPtr<WebKitCSSMatrix> WebKitCSSMatrix::rotateAxisAngle(double x, double y, double z, double angle) const 165 if (isnan(angle)) 166 angle = 0; 169 return WebKitCSSMatrix::create(TransformationMatrix(m_matrix).rotate3d(x, y, z, angle));
|
/external/webkit/WebCore/platform/graphics/wince/ |
PlatformPathWince.cpp | 37 void getEllipsePointByAngle(double angle, double a, double b, float& x, float& y); 125 static void normalizeAngle(float& angle) 127 angle = fmod(angle, 2 * piFloat); 128 if (angle < 0) 129 angle += 2 * piFloat; 130 if (angle < 0.00001f) 131 angle = 0; 194 double angle() const { return atan2(m_y, m_x); } function in struct:WebCore::PathVector 195 operator double () const { return angle(); } 674 double angle = (piDouble - abs(asin(cross \/ (d01 * d21)))) * 0.5; local [all...] |