/external/freetype/include/freetype/ |
fttrigon.h | 48 * This type is used to model angle values in FreeType. Note that the 49 * angle is a 16.16 fixed float value expressed in degrees. 61 * The angle pi expressed in @FT_Angle units. 73 * The angle 2*pi expressed in @FT_Angle units. 85 * The angle pi/2 expressed in @FT_Angle units. 97 * The angle pi/4 expressed in @FT_Angle units. 109 * Return the sinus of a given angle in fixed point format. 112 * angle :: 113 * The input angle. 119 * If you need both the sinus and cosinus for a given angle, use th 124 FT_Sin( FT_Angle angle ); variable 148 FT_Cos( FT_Angle angle ); variable 168 FT_Tan( FT_Angle angle ); variable [all...] |
/external/freetype/src/autofit/ |
afangles.c | 93 * The trick here is to realize that we don't need a very accurate angle 95 * only compare the sign of angle differences, or check whether its 108 AF_Angle angle; 121 angle = 0; 124 angle = ( AF_ANGLE_PI2 * dy ) / ( ax + ay ); 127 if ( angle >= 0 ) 128 angle = AF_ANGLE_PI - angle; 130 angle = -AF_ANGLE_PI - angle; 187 AF_Angle angle; local [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
FloatMath.java | 59 * @param angle to compute the cosine of, in radians 60 * @return the sine of angle 62 public static float sin(float angle) { 63 return (float)Math.sin(angle); 69 * @param angle to compute the cosine of, in radians 70 * @return the cosine of angle 72 public static float cos(float angle) { 73 return (float)Math.cos(angle);
|
/external/webkit/WebCore/svg/ |
SVGPathSegArc.h | 32 SVGPathSegArc(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) 33 : m_x(x), m_y(y), m_r1(r1), m_r2(r2), m_angle(angle), m_largeArcFlag(largeArcFlag), m_sweepFlag(sweepFlag) {} 49 void setAngle(float angle) { m_angle = angle; } 50 float angle() const { return m_angle; } function in class:WebCore::SVGPathSegArc 71 static PassRefPtr<SVGPathSegArcAbs> create(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) 73 return adoptRef(new SVGPathSegArcAbs(x, y, r1, r2, angle, largeArcFlag, sweepFlag)); 80 SVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag); 85 static PassRefPtr<SVGPathSegArcRel> create(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) 87 return adoptRef(new SVGPathSegArcRel(x, y, r1, r2, angle, largeArcFlag, sweepFlag)) [all...] |
SVGPathSegArc.cpp | 28 SVGPathSegArcAbs::SVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) 29 : SVGPathSegArc(x, y, r1, r2, angle, largeArcFlag, sweepFlag) 33 SVGPathSegArcRel::SVGPathSegArcRel(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) 34 : SVGPathSegArc(x, y, r1, r2, angle, largeArcFlag, sweepFlag)
|
SVGTransform.cpp | 74 float SVGTransform::angle() const function in class:SVGTransform 121 void SVGTransform::setRotate(float angle, float cx, float cy) 124 m_angle = angle; 130 m_matrix.rotate(angle); 134 void SVGTransform::setSkewX(float angle) 137 m_angle = angle; 140 m_matrix.skewX(angle); 143 void SVGTransform::setSkewY(float angle) 146 m_angle = angle; 149 m_matrix.skewY(angle); [all...] |
SVGTransformDistance.cpp | 43 SVGTransformDistance::SVGTransformDistance(SVGTransform::SVGTransformType type, float angle, float cx, float cy, const AffineTransform& transform) 45 , m_angle(angle) 69 m_angle = toSVGTransform.angle() - fromSVGTransform.angle(); 89 m_angle = toSVGTransform.angle() - fromSVGTransform.angle(); 131 transform.setRotate(first.angle() + second.angle(), first.rotationCenter().x() + second.rotationCenter().x(), 152 transform.setSkewX(first.angle() + second.angle()); [all...] |
SVGTransform.h | 54 float angle() const; 61 void setRotate(float angle, float cx, float cy); 62 void setSkewX(float angle); 63 void setSkewY(float angle); 80 return a.type() == b.type() && a.angle() == b.angle() && a.matrix() == b.matrix();
|
SVGTransform.idl | 36 readonly attribute float angle; 41 void setRotate(in float angle, in float cx, in float cy); 42 void setSkewX(in float angle); 43 void setSkewY(in float angle);
|
SVGMatrix.idl | 41 [Immutable] SVGMatrix rotate(in float angle); 46 [Immutable] SVGMatrix skewX(in float angle); 47 [Immutable] SVGMatrix skewY(in float angle);
|
/frameworks/base/awt/java/awt/geom/ |
Arc2D.java | 30 * curve is defined by a start angle and an extent angle (the end angle minus 31 * the start angle) as a pie wedge whose point is in the center of the 93 * The start angle of the arc in degrees. 98 * The width angle of the arc in degrees. 134 * the start angle of the arc in degrees. 136 * the width angle of the arc in degrees. 159 * the start angle of the arc in degrees. 161 * the width angle of the arc in degrees 450 double angle; field in class:Arc2D.Iterator 960 double angle = Math.atan2(point.getY() - getCenterY(), point.getX() - getCenterX()); local [all...] |
/external/webkit/WebCore/platform/graphics/transforms/ |
RotateTransformOperation.h | 34 static PassRefPtr<RotateTransformOperation> create(double angle, OperationType type) 36 return adoptRef(new RotateTransformOperation(0, 0, 1, angle, type)); 39 static PassRefPtr<RotateTransformOperation> create(double x, double y, double z, double angle, OperationType type) 41 return adoptRef(new RotateTransformOperation(x, y, z, angle, type)); 44 double angle() const { return m_angle; } function in class:WebCore::RotateTransformOperation 68 RotateTransformOperation(double x, double y, double z, double angle, OperationType type) 72 , m_angle(angle)
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
Layer.java | 45 public void setAngle(float angle) { 46 // normalize the angle 48 while (angle >= twopi) angle -= twopi; 49 while (angle < 0f) angle += twopi; 50 // mAngle = angle; 52 float sin = (float)Math.sin(angle); 53 float cos = (float)Math.cos(angle);
|
/frameworks/base/core/java/android/util/ |
FloatMath.java | 53 * @param angle to compute the cosine of, in radians 54 * @return the sine of angle 56 public static native float sin(float angle); 61 * @param angle to compute the cosine of, in radians 62 * @return the cosine of angle 64 public static native float cos(float angle);
|
/external/webkit/WebCore/rendering/ |
SVGMarkerData.h | 58 double angle = 0; local 61 angle = outslope; 64 angle = (inslope + outslope) / 2; 67 angle = inslope; 74 return narrowPrecisionToFloat(angle);
|
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
VUMeter.java | 62 float angle = minAngle; local 64 angle += (float)(maxAngle - minAngle)*mRecorder.getMaxAmplitude()/32768; 66 if (angle > mCurrentAngle) 67 mCurrentAngle = angle; 69 mCurrentAngle = Math.max(angle, mCurrentAngle - DROPOFF_STEP);
|
/external/freetype/src/base/ |
fttrigon.c | 197 /* Get angle between -90 and 90 degrees */ 287 theta -= *arctanptr++; /* Subtract angle */ 295 theta += *arctanptr++; /* Add angle */ 333 FT_Cos( FT_Angle angle ) 340 ft_trig_pseudo_rotate( &v, angle ); 349 FT_Sin( FT_Angle angle ) 351 return FT_Cos( FT_ANGLE_PI2 - angle ); 358 FT_Tan( FT_Angle angle ) 365 ft_trig_pseudo_rotate( &v, angle ); 396 FT_Angle angle ) [all...] |
/external/icu4c/data/unidata/ |
BidiMirroring.txt | 47 00AB; 00BB # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK 48 00BB; 00AB # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK 55 2039; 203A # SINGLE LEFT-POINTING ANGLE QUOTATION MARK 56 203A; 2039 # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK 181 2329; 232A # LEFT-POINTING ANGLE BRACKET 182 232A; 2329 # RIGHT-POINTING ANGLE BRACKET 187 276C; 276D # MEDIUM LEFT-POINTING ANGLE BRACKET ORNAMENT 188 276D; 276C # MEDIUM RIGHT-POINTING ANGLE BRACKET ORNAMENT 189 276E; 276F # HEAVY LEFT-POINTING ANGLE QUOTATION MARK ORNAMENT 190 276F; 276E # HEAVY RIGHT-POINTING ANGLE QUOTATION MARK ORNAMEN [all...] |
/frameworks/base/core/res/res/drawable/ |
progress_horizontal.xml | 27 android:angle="270" 41 android:angle="270" 56 android:angle="270"
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
ArcShape.java | 25 * angle and sweeps clockwise, drawing slices of pie. 37 * @param startAngle the angle (in degrees) where the arc begins 38 * @param sweepAngle the sweep angle (in degrees). Anything equal to or
|
/external/webkit/WebCore/css/ |
SVGCSSStyleSelector.cpp | 64 static float roundToNearestGlyphOrientationAngle(float angle) 66 angle = fabsf(fmodf(angle, 360.0f)); 68 if (angle <= 45.0f || angle > 315.0f) 70 else if (angle > 45.0f && angle <= 135.0f) 72 else if (angle > 135.0f && angle <= 225.0f) 78 static int angleToGlyphOrientation(float angle) [all...] |
/external/webkit/WebCore/svg/graphics/ |
SVGResourceMarker.h | 51 void setAngle(float angle) { m_angle = angle; } 53 float angle() const { return m_angle; } function in class:WebCore::SVGResourceMarker 58 AffineTransform markerTransformation(const FloatPoint& origin, float angle, float strokeWidth) const;
|
SVGResourceMarker.cpp | 51 AffineTransform SVGResourceMarker::markerTransformation(const FloatPoint& origin, float angle, float strokeWidth) const 57 transform.rotate(m_angle == -1 ? angle : m_angle); 89 << " [angle="; 91 if (angle() == -1) 94 ts << angle() << "]";
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
SweepGradient.java | 103 // compute angle from each point to the center, and figure out the distance from 110 float angle; local 112 angle = (float) (dy < 0 ? 3 * Math.PI / 2 : Math.PI / 2); 114 angle = (float) (dx < 0 ? Math.PI : 0); 116 angle = (float) Math.atan(dy / dx); 119 angle += Math.PI * 2; 122 angle += Math.PI; 127 data[index++] = getGradientColor((float) (angle / (2 * Math.PI)));
|
/packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/ |
PolarClockWallpaper.java | 495 float angle; local 501 angle = (float) (millis % 60000) / 60000.0f; 502 //Log.d("PolarClock", "millis=" + millis + ", angle=" + angle); 503 paint.setColor(mPalette.getSecondColor(angle)); 509 c.drawArc(rect, 0.0f, angle * 360.0f, false, paint); 516 angle = ((calendar.minute * 60.0f + calendar.second) % 3600) / 3600.0f; 517 paint.setColor(mPalette.getMinuteColor(angle)); 523 c.drawArc(rect, 0.0f, angle * 360.0f, false, paint); 529 angle = ((calendar.hour * 60.0f + calendar.minute) % 1440) / 1440.0f [all...] |