/external/skia/src/gpu/effects/ |
GrOvalEffect.cpp | 14 sk_sp<GrFragmentProcessor> GrOvalEffect::Make(GrPrimitiveEdgeType edgeType, const SkRect& oval) { 18 SkScalar w = oval.width(); 19 SkScalar h = oval.height(); 22 return GrCircleEffect::Make(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + w), w); 26 return GrEllipseEffect::Make(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + h),
|
/frameworks/support/transition/tests/src/android/support/transition/ |
PatternPathMotionTest.java | 51 RectF oval = new RectF(); local 53 oval.set(0, 0, 100, 100); 54 pattern.addArc(oval, 0, 180); 60 oval.set(-50, 0, 50, 100); 61 expected.addArc(oval, -90, 180); 69 RectF oval = new RectF(0, 0, 100, 100); local 70 pattern.addArc(oval, 0, 180);
|
/external/skia/src/gpu/ops/ |
GrOvalOpFactory.h | 30 const SkRect& oval, 42 const SkRect& oval,
|
/external/skia/gm/ |
testgradient.cpp | 51 SkRRect oval; variable 52 oval.setOval(rect); 53 oval.offset(40, 80); 55 canvas->drawRRect(oval, paint);
|
arcto.cpp | 54 SkRect oval = SkRect::MakeXYWH(100, 100, 100, 100); local 59 SkScalar ovalHeight = oval.height() / oHeight; 60 svgArc.moveTo(oval.fLeft, oval.fTop); 61 svgArc.arcTo(oval.width() / 2, ovalHeight, SkIntToScalar(angle), SkPath::kSmall_ArcSize, 62 SkPath::kCW_Direction, oval.right(), oval.bottom()); 66 svgArc.moveTo(oval.fLeft + 100, oval.fTop + 100); 67 svgArc.arcTo(oval.width() / 2, ovalHeight, SkIntToScalar(angle), SkPath::kLarge_ArcSize 198 SkRect oval = SkRect::MakeXYWH(-radius, yOffset - radius, 2 * radius, 2 * radius); local [all...] |
ovals.cpp | 142 SkRect oval = SkRect::MakeLTRB(-20, -30, 20, 30); variable 161 // position the oval, and make it at off-integer coords. 171 canvas->drawRect(oval, rectPaint); 172 canvas->drawOval(oval, fPaints[i]); 182 // non-scaled tall and skinny oval 184 SkRect oval = SkRect::MakeLTRB(-20, -60, 20, 60); variable 186 // position the oval, and make it at off-integer coords. 193 canvas->drawRect(oval, rectPaint); 194 canvas->drawOval(oval, fPaints[i]); 198 // non-scaled wide and short oval 200 SkRect oval = SkRect::MakeLTRB(-80, -30, 80, 30); variable 217 SkRect oval = SkRect::MakeLTRB(0, -60, 1, 60); variable 232 SkRect oval = SkRect::MakeLTRB(-80, -1, 80, 0); variable 274 SkRect oval = SkRect::MakeLTRB(-30, -30, 30, 30); variable [all...] |
dashcircle.cpp | 45 SkRect oval = SkRect::MakeLTRB(-radius - 20, -radius - 20, radius + 20, radius + 20); variable 66 refPath.arcTo(oval, angle, span, false);
|
/frameworks/base/graphics/java/android/graphics/ |
Path.java | 450 * @param oval The bounds of oval defining shape and size of the arc 456 public void arcTo(RectF oval, float startAngle, float sweepAngle, 458 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, forceMoveTo); 468 * @param oval The bounds of oval defining shape and size of the arc 472 public void arcTo(RectF oval, float startAngle, float sweepAngle) [all...] |
BaseCanvas.java | 90 public void drawArc(@NonNull RectF oval, float startAngle, float sweepAngle, boolean useCenter, 93 drawArc(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, useCenter, 261 public void drawOval(@NonNull RectF oval, @NonNull Paint paint) { 262 if (oval == null) { 266 drawOval(oval.left, oval.top, oval.right, oval.bottom, paint) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
EclipseControl.java | 111 public void actionDown(float x, float y, Oval oval) { 117 mDownCenterX = oval.getCenterX(); 118 mDownCenterY = oval.getCenterY(); 119 mDownRadiusX = oval.getRadiusX(); 120 mDownRadiusY = oval.getRadiusY(); 124 public void actionMove(int handle, float x, float y, Oval oval) { 145 oval.setCenter((x - ctrdx), (y - ctrdy)); 153 oval.setRadiusY(Math.abs(x - oval.getCenterY() + sign * raddx)) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Arcs.java | 89 private void drawArcs(Canvas canvas, RectF oval, boolean useCenter, 91 canvas.drawRect(oval, mFramePaint); 92 canvas.drawArc(oval, mStart, mSweep, useCenter, paint);
|
/external/skia/samplecode/ |
SamplePathEffects.cpp | 115 SkRect oval; variable 116 oval.set(SkIntToScalar(20), SkIntToScalar(30), 118 oval.offset(x, 0); 119 fPath.addRoundRect(oval, SkIntToScalar(8), SkIntToScalar(8));
|
SamplePathFuzz.cpp | 335 SkRect oval = makeRect(); local 336 rrect.setOval(oval); 376 SkRect oval = makeRect(); local 379 path.addArc(oval, startAngle, sweepAngle); 526 SkRect oval = makeRect(); local 530 path.arcTo(oval, startAngle, sweepAngle, forceMoveTo);
|
/external/fio/ |
options.c | 1557 .oval = FILE_LOCK_NONE, 1561 .oval = FILE_LOCK_EXCLUSIVE, [all...] |
parse.h | 31 unsigned int oval; /* output value */ member in struct:value_pair
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
CornerPathEffectTest.java | 71 RectF oval = new RectF(BITMAP_WIDTH - PADDING - 2 * RADIUS, PADDING, local 74 expectedPath.arcTo(oval, 270, 90);
|
PathTest.java | 187 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM); local 188 path.arcTo(oval, 0.0f, 30.0f, true); 196 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM); local 197 path.arcTo(oval, 0.0f, 30.0f); 270 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM); local 271 path.addOval(oval, Path.Direction.CW); 415 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM); local 416 path.addArc(oval, 0.0f, 30.0f);
|
/external/skia/include/core/ |
SkRRect.h | 65 //!< The RR is actually a (non-empty) oval (i.e., all x radii are equal 70 //!< are equal but it is not an oval (i.e., there are lines between 76 //!< neither an rect, oval, nor a simple RR. It is called "nine patch" 159 static SkRRect MakeOval(const SkRect& oval) { 161 rr.setOval(oval); 172 * Set this RR to match the supplied oval. All x radii will equal half the 175 void setOval(const SkRect& oval) { 176 fRect = oval;
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
CircleImageView.java | 64 OvalShape oval = new OvalShadow(mShadowRadius); local 65 circle = new ShapeDrawable(oval);
|
/external/skia/src/core/ |
SkLiteRecorder.cpp | 73 void SkLiteRecorder::onDrawOval(const SkRect& oval, const SkPaint& paint) { 74 fDL->drawOval(oval, paint); 76 void SkLiteRecorder::onDrawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, 78 fDL->drawArc(oval, startAngle, sweepAngle, useCenter, paint);
|
SkPath.cpp | 932 OvalPointIterator(const SkRect& oval, SkPath::Direction dir, unsigned startIndex) 935 const SkScalar cx = oval.centerX(); 936 const SkScalar cy = oval.centerY(); 938 fPts[0] = SkPoint::Make(cx, oval.fTop); 939 fPts[1] = SkPoint::Make(oval.fRight, cy); 940 fPts[2] = SkPoint::Make(cx, oval.fBottom); 941 fPts[3] = SkPoint::Make(oval.fLeft, cy); [all...] |
SkLiteDL.cpp | 200 DrawOval(const SkRect& oval, const SkPaint& paint) : oval(oval), paint(paint) {} 201 SkRect oval; member in struct:__anon30901::final 203 void draw(SkCanvas* c, const SkMatrix&) const { c->drawOval(oval, paint); } 207 DrawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, 209 : oval(oval), startAngle(startAngle), sweepAngle(sweepAngle), useCenter(useCenter) 211 SkRect oval; member in struct:__anon30901::final 216 void draw(SkCanvas* c, const SkMatrix&) const { c->drawArc(oval, startAngle, sweepAngle [all...] |
/external/skia/src/svg/ |
SkSVGDevice.h | 25 void drawOval(const SkRect& oval, const SkPaint& paint) override;
|
/external/skia/tools/lua/ |
classify_rrect_clips.lua | 58 elseif (rrect:type() == "oval") then 63 return "oval"
|
/frameworks/base/core/java/android/view/ |
RecordingCanvas.java | 64 public final void drawArc(@NonNull RectF oval, float startAngle, float sweepAngle, 66 drawArc(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, useCenter, 244 public final void drawOval(@NonNull RectF oval, @NonNull Paint paint) { 245 if (oval == null) { 248 drawOval(oval.left, oval.top, oval.right, oval.bottom, paint) [all...] |