HomeSort by relevance Sort by last modified time
    Searched refs:startAngle (Results 1 - 25 of 61) sorted by null

1 2 3

  /frameworks/base/graphics/java/android/graphics/drawable/shapes/
ArcShape.java 37 * @param startAngle the angle (in degrees) where the arc begins
41 public ArcShape(float startAngle, float sweepAngle) {
42 mStart = startAngle;
  /packages/apps/Settings/src/com/android/settings/widget/
PieChartView.java 170 int startAngle = mOriginAngle;
173 final int endAngle = startAngle + sweepAngle;
175 final float startAngleMod = startAngle % 360;
182 slice.path.arcTo(rect, startAngle, sweepAngle);
188 final float startAngleSide = startSideVisible ? startAngle : 450;
203 slice.pathOutline.arcTo(rect, startAngle, 0);
208 slice.pathOutline.arcTo(rect, startAngle + sweepAngle, 0);
213 startAngle += sweepAngle;
  /external/webkit/Source/WebCore/platform/graphics/cairo/
PathCairo.cpp 147 void Path::addArc(const FloatPoint& p, float r, float startAngle, float endAngle, bool anticlockwise)
151 if (!isfinite(r) || !isfinite(startAngle) || !isfinite(endAngle))
155 float sweep = endAngle - startAngle;
158 && ((anticlockwise && (endAngle < startAngle)) || (!anticlockwise && (startAngle < endAngle)))) {
160 cairo_arc_negative(cr, p.x(), p.y(), r, startAngle, startAngle - twoPI);
162 cairo_arc(cr, p.x(), p.y(), r, startAngle, startAngle + twoPI);
167 cairo_arc_negative(cr, p.x(), p.y(), r, startAngle, endAngle)
    [all...]
  /frameworks/base/graphics/java/android/graphics/
Path.java 332 * @param startAngle Starting angle (in degrees) where the arc begins
337 public void arcTo(RectF oval, float startAngle, float sweepAngle,
340 native_arcTo(mNativePath, oval, startAngle, sweepAngle, forceMoveTo);
351 * @param startAngle Starting angle (in degrees) where the arc begins
354 public void arcTo(RectF oval, float startAngle, float sweepAngle) {
356 native_arcTo(mNativePath, oval, startAngle, sweepAngle, false);
457 * @param startAngle Starting angle (in degrees) where the arc begins
460 public void addArc(RectF oval, float startAngle, float sweepAngle) {
465 native_addArc(mNativePath, oval, startAngle, sweepAngle);
633 float startAngle, float sweepAngle, boolean forceMoveTo)
    [all...]
  /packages/apps/Camera/src/com/android/camera/ui/
ZoomControlWheel.java 176 private void drawArc(Canvas canvas, int startAngle, int sweepAngle,
183 canvas.drawArc(mBackgroundRect, startAngle, sweepAngle, false, mBackgroundPaint);
189 int startAngle = -MAX_SLIDER_ANGLE - (int) Math.toDegrees(mRotateAngle);
191 if ((startAngle + radians) > 0) radians = -startAngle;
192 drawArc(canvas, startAngle, radians,
  /packages/apps/LegacyCamera/src/com/android/camera/ui/
ZoomControlWheel.java 160 private void drawArc(Canvas canvas, int startAngle, int sweepAngle,
167 canvas.drawArc(mBackgroundRect, startAngle, sweepAngle, false, mBackgroundPaint);
173 int startAngle = -MAX_SLIDER_ANGLE - (int) Math.toDegrees(mRotateAngle);
175 if ((startAngle + radians) > 0) radians = -startAngle;
176 drawArc(canvas, startAngle, radians,
  /external/webkit/Source/WebCore/platform/graphics/openvg/
PathOpenVG.cpp 305 void Path::addArc(const FloatPoint& center, float radius, float startAngle, float endAngle, bool anticlockwise)
310 if (!isfinite(radius) || !isfinite(startAngle) || !isfinite(endAngle))
316 startAngle = fmod((2.0 * piDouble) - startAngle, 2.0 * piDouble);
319 // Make it so that endAngle > startAngle. fmod() above takes care of
321 if (endAngle <= startAngle)
325 ? (endAngle - startAngle)
326 : (startAngle - endAngle + (2.0 * piDouble));
339 // (Set angle = {startAngle, endAngle} to retrieve the respective endpoints.)
341 const VGfloat startX = radius * cos(startAngle) + center.x()
    [all...]
PainterOpenVG.h 103 void drawArc(const IntRect& ellipseBounds, int startAngle, int angleSpan, VGbitfield paintModes = (VG_STROKE_PATH | VG_FILL_PATH));
GraphicsContextOpenVG.cpp 121 void GraphicsContext::strokeArc(const IntRect& rect, int startAngle, int angleSpan)
126 m_data->drawArc(rect, startAngle, angleSpan, VG_STROKE_PATH);
  /frameworks/base/libs/hwui/
ShapeCache.cpp 145 float startAngle, float sweepAngle, bool useCenter, SkPaint* paint) {
146 ArcShapeCacheEntry entry(width, height, startAngle, sweepAngle, useCenter, paint);
156 path.arcTo(r, startAngle, sweepAngle, !useCenter);
ShapeCache.h 260 ArcShapeCacheEntry(float width, float height, float startAngle, float sweepAngle,
265 mStartAngle = *(uint32_t*) &startAngle;
408 PathTexture* getArc(float width, float height, float startAngle, float sweepAngle,
  /external/webkit/Source/WebCore/platform/graphics/wx/
PathWx.cpp 188 void Path::addArc(const FloatPoint& point, float radius, float startAngle, float endAngle, bool clockwise)
192 m_path->AddArc(point.x(), point.y(), radius, startAngle, endAngle, clockwise);
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Path_Delegate.java 294 float startAngle, float sweepAngle, boolean forceMoveTo) {
300 pathDelegate.arcTo(oval, startAngle, sweepAngle, forceMoveTo);
359 float startAngle, float sweepAngle) {
368 -startAngle, -sweepAngle, Arc2D.OPEN), false);
705 * @param startAngle Starting angle (in degrees) where the arc begins
710 private void arcTo(RectF oval, float startAngle, float sweepAngle, boolean forceMoveTo) {
711 Arc2D arc = new Arc2D.Float(oval.left, oval.top, oval.width(), oval.height(), -startAngle,
  /gdk/samples/PhotoEditor/src/com/android/photoeditor/actions/
ColorWheel.java 180 float startAngle = DEGREES_BEGIN + radiantDegrees * colorIndex;
181 canvas.drawArc(drawBound, startAngle, radiantDegrees, false, strokePaint);
183 canvas.drawArc(drawBound, startAngle, radiantDegrees, false, strokePaint);
  /external/webkit/Source/WebCore/platform/graphics/
Path.h 136 void addArc(const FloatPoint&, float radius, float startAngle, float endAngle, bool anticlockwise);
  /external/webkit/Source/WebCore/platform/graphics/android/context/
PlatformGraphicsContextRecording.h 114 virtual void strokeArc(const IntRect& r, int startAngle, int angleSpan);
PlatformGraphicsContextSkia.h 98 virtual void strokeArc(const IntRect& r, int startAngle, int angleSpan);
PlatformGraphicsContextSkia.cpp 565 void PlatformGraphicsContextSkia::strokeArc(const IntRect& r, int startAngle,
580 startAngle = fastMod(startAngle, 360);
583 path.addArc(oval, SkIntToScalar(-startAngle), SkIntToScalar(-angleSpan));
GraphicsContextAndroid.cpp 201 void GraphicsContext::strokeArc(const IntRect& r, int startAngle, int angleSpan)
207 platformContext()->strokeArc(r, startAngle, angleSpan);
PlatformGraphicsContextRecording.cpp 356 void PlatformGraphicsContextRecording::strokeArc(const IntRect& r, int startAngle,
359 mGraphicsOperationCollection->append(new GraphicsOperation::StrokeArc(r, startAngle, angleSpan));
  /external/webkit/Source/WebCore/platform/graphics/skia/
GraphicsContextSkia.cpp 190 void addCornerArc(SkPath* path, const SkRect& rect, const IntSize& size, int startAngle)
197 switch (startAngle) {
216 path->arcTo(r, SkIntToScalar(startAngle), SkIntToScalar(90), false);
    [all...]
  /external/proguard/src/proguard/gui/splash/
OverrideGraphics2D.java 274 public void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle)
276 graphics.drawArc(x, y, width, height, startAngle, arcAngle);
414 public void fillArc(int x, int y, int width, int height, int startAngle, int arcAngle)
416 graphics.fillArc(x, y, width, height, startAngle, arcAngle);
  /frameworks/base/core/jni/android/graphics/
Path.cpp 155 static void arcTo(JNIEnv* env, jobject clazz, SkPath* obj, jobject oval, jfloat startAngle, jfloat sweepAngle, jboolean forceMoveTo) {
158 SkScalar startAngle_ = SkFloatToScalar(startAngle);
194 static void addArc(JNIEnv* env, jobject clazz, SkPath* obj, jobject oval, jfloat startAngle, jfloat sweepAngle) {
197 SkScalar startAngle_ = SkFloatToScalar(startAngle);
  /external/skia/include/core/
SkPath.h 423 @param startAngle Starting angle (in degrees) where the arc begins
428 void arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle,
518 @param startAngle Starting angle (in degrees) where the arc begins
521 void addArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle);
  /external/webkit/Source/WebCore/platform/graphics/haiku/
GraphicsContextHaiku.cpp 124 void GraphicsContext::strokeArc(const IntRect& rect, int startAngle, int angleSpan)
129 m_data->m_view->StrokeArc(rect, startAngle, angleSpan, getHaikuStrokeStyle());

Completed in 726 milliseconds

1 2 3