/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
ArcShape.java | 38 * @param sweepAngle the sweep angle (in degrees). Anything equal to or 41 public ArcShape(float startAngle, float sweepAngle) { 43 mSweep = sweepAngle;
|
/frameworks/base/core/java/android/view/ |
RoundScrollbarRenderer.java | 77 float sweepAngle = (linearThumbLength / maxScroll) * SCROLLBAR_ANGLE_RANGE; 78 sweepAngle = clamp(sweepAngle, MIN_SCROLLBAR_ANGLE_SWIPE, MAX_SCROLLBAR_ANGLE_SWIPE); 80 float startAngle = (currentScroll * (SCROLLBAR_ANGLE_RANGE - sweepAngle)) 83 SCROLLBAR_ANGLE_RANGE / 2 - sweepAngle); 94 canvas.drawArc(mRect, startAngle, sweepAngle, false, mThumbPaint);
|
/packages/apps/PackageInstaller/src/android/support/wearable/view/ |
ProgressDrawable.java | 113 float sweepAngle = FULL_CIRCLE; 126 sweepAngle = MAX_SWEEP * mInterpolator.getInterpolation( 129 sweepAngle = MAX_SWEEP * (1.0f - mInterpolator.getInterpolation( 133 sweepAngle = Math.max(1, sweepAngle); 140 growing ? 0 : MAX_SWEEP - sweepAngle, 141 sweepAngle,
|
/frameworks/base/graphics/java/android/graphics/ |
Path.java | 447 * @param sweepAngle Sweep angle (in degrees) measured clockwise, treated 451 public void arcTo(RectF oval, float startAngle, float sweepAngle, 453 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, forceMoveTo); 465 * @param sweepAngle Sweep angle (in degrees) measured clockwise 467 public void arcTo(RectF oval, float startAngle, float sweepAngle) { 468 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, false); 479 * @param sweepAngle Sweep angle (in degrees) measured clockwise, treated 484 float sweepAngle, boolean forceMoveTo) { 486 native_arcTo(mNativePath, left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); 588 * @param sweepAngle Sweep angle (in degrees) measured clockwis [all...] |
/external/pdfium/xfa/src/fdp/src/fde/ |
fde_gdidevice.h | 52 FX_FLOAT sweepAngle,
88 FX_FLOAT sweepAngle,
94 FX_FLOAT sweepAngle,
122 FX_FLOAT sweepAngle,
127 FX_FLOAT sweepAngle,
|
fde_gdidevice.cpp | 224 FX_FLOAT sweepAngle,
227 sweepAngle = FX_RAD2DEG(sweepAngle);
235 rect.height, startAngle, sweepAngle);
349 FX_FLOAT sweepAngle,
352 sweepAngle = FX_RAD2DEG(sweepAngle);
360 rect.height, startAngle, sweepAngle);
369 FX_FLOAT sweepAngle,
372 chord.Set(rect, startAngle, sweepAngle);
[all...] |
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
StopwatchCircleView.java | 152 final float sweepAngle = mScreenDensity * (float) (360 / (radius * Math.PI)); 153 canvas.drawArc(mArcRect, startAngle, sweepAngle, false, mPaint);
|
/external/skia/experimental/SkV8Example/ |
Path2DBuilder.cpp | 159 double sweepAngle; 161 sweepAngle = endAngle - startAngle; 163 sweepAngle = startAngle - endAngle; 176 SkRadiansToDegrees(sweepAngle));
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdipluspath.h | 86 REAL startAngle, REAL sweepAngle) 89 x, y, width, height, startAngle, sweepAngle)); 92 REAL startAngle, REAL sweepAngle) 95 x, y, width, height, startAngle, sweepAngle)); 97 Status AddArc(const RectF& rect, REAL startAngle, REAL sweepAngle) 101 startAngle, sweepAngle)); 103 Status AddArc(const Rect& rect, REAL startAngle, REAL sweepAngle) 107 startAngle, sweepAngle)); 256 REAL startAngle, REAL sweepAngle) 259 x, y, width, height, startAngle, sweepAngle)); [all...] |
gdiplusgraphics.h | 132 REAL startAngle, REAL sweepAngle) 136 x, y, width, height, startAngle, sweepAngle)); 139 REAL startAngle, REAL sweepAngle) 143 x, y, width, height, startAngle, sweepAngle)); 146 REAL startAngle, REAL sweepAngle) 151 startAngle, sweepAngle)); 154 REAL startAngle, REAL sweepAngle) 159 startAngle, sweepAngle)); 540 REAL startAngle, REAL sweepAngle) 544 x, y, width, height, startAngle, sweepAngle)); [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Path_Delegate.java | 307 float startAngle, float sweepAngle, boolean forceMoveTo) { 313 pathDelegate.arcTo(left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); 363 float bottom, float startAngle, float sweepAngle) { 372 -startAngle, -sweepAngle, Arc2D.OPEN), false); 789 * @param sweepAngle Sweep angle (in degrees) measured clockwise, treated 794 float sweepAngle, 797 -sweepAngle, Arc2D.OPEN);
|
/frameworks/base/libs/hwui/ |
RecordedOp.h | 205 ArcOp(BASE_PARAMS, float startAngle, float sweepAngle, bool useCenter) 208 , sweepAngle(sweepAngle) 211 const float sweepAngle;
|
PathCache.cpp | 554 float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) { 559 entry.shape.arc.mSweepAngle = sweepAngle; 571 path.arcTo(r, startAngle, sweepAngle, !useCenter);
|
PathCache.h | 199 PathTexture* getArc(float width, float height, float startAngle, float sweepAngle,
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
IndicatorControlWheel.java | 494 float sweepAngle; 498 sweepAngle = 360; 501 sweepAngle = timeDelta % mTimeLapseInterval * 360f / mTimeLapseInterval; 504 canvas.drawArc(mBackgroundRect, 0, sweepAngle, false, mBackgroundPaint);
|
ZoomControlWheel.java | 160 private void drawArc(Canvas canvas, int startAngle, int sweepAngle, 167 canvas.drawArc(mBackgroundRect, startAngle, sweepAngle, false, mBackgroundPaint);
|
/external/skia/gm/ |
addarc.cpp | 34 const SkScalar sweepAngle = 345; 46 path.addArc(r, startAngle, sweepAngle);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
NopCanvas.java | 178 public void drawArc(RectF oval, float startAngle, float sweepAngle, boolean useCenter, 184 float sweepAngle, boolean useCenter, Paint paint) {
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
MaterialProgressDrawable.java | 534 float sweepAngle = endAngle - startAngle; 537 c.drawArc(arcBounds, startAngle, sweepAngle, false, mPaint); 539 drawTriangle(c, startAngle, sweepAngle, bounds); 549 private void drawTriangle(Canvas c, float startAngle, float sweepAngle, Rect bounds) { 576 c.rotate(startAngle + sweepAngle - ARROW_OFFSET_ANGLE, bounds.exactCenterX(),
|
/external/pdfium/xfa/include/fxgraphics/ |
fx_graphics.h | 341 FX_FLOAT sweepAngle);
373 FX_FLOAT sweepAngle);
380 FX_FLOAT sweepAngle);
|
/external/skia/samplecode/ |
SamplePathFuzz.cpp | 378 SkScalar sweepAngle = makeAngle(); 379 path.addArc(oval, startAngle, sweepAngle); 528 SkScalar sweepAngle = makeAngle(); 530 path.arcTo(oval, startAngle, sweepAngle, forceMoveTo);
|
/external/skia/include/core/ |
SkPath.h | 505 * @param sweepAngle Sweep angle (in degrees) measured clockwise. This is treated mod 360. 508 void arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool forceMoveTo); 737 @param sweepAngle Sweep angle (in degrees) measured clockwise 739 void addArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle); [all...] |
/external/skia/src/core/ |
SkPath.cpp | 1025 static bool arc_is_lone_point(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, 1027 if (0 == sweepAngle && (0 == startAngle || SkIntToScalar(360) == startAngle)) [all...] |
/frameworks/base/core/jni/android/graphics/ |
Path.cpp | 154 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, 158 obj->arcTo(oval, startAngle, sweepAngle, forceMoveTo); 188 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle) { 191 obj->addArc(oval, startAngle, sweepAngle);
|
/frameworks/base/libs/hwui/hwui/ |
Canvas.h | 191 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) = 0;
|