/external/skia/modules/sksg/samples/ |
D | SampleSVGPong.cpp | 24 static const SkRect kBounds = SkRect::MakeLTRB(0.1f, 0.1f, 0.9f, 0.9f); variable 84 const SkRect fieldBounds = kBounds.makeOutset(kBallSize / 2, kBallSize / 2); in onOnceBeforeDraw() 91 SkPoint::Make(kBounds.centerX(), kBounds.centerY()), in onOnceBeforeDraw() 105 bgPath.moveTo(kBounds.left() , fieldBounds.top()); in onOnceBeforeDraw() 106 bgPath.lineTo(kBounds.right(), fieldBounds.top()); in onOnceBeforeDraw() 107 bgPath.moveTo(kBounds.left() , fieldBounds.bottom()); in onOnceBeforeDraw() 108 bgPath.lineTo(kBounds.right(), fieldBounds.bottom()); in onOnceBeforeDraw() 111 bgPath.moveTo(kBounds.centerX(), in onOnceBeforeDraw() 112 kBounds.top() + (i + 0.25f) * kBounds.height() / kBackgroundDashCount); in onOnceBeforeDraw() 113 bgPath.lineTo(kBounds.centerX(), in onOnceBeforeDraw() [all …]
|
/external/skqp/modules/sksg/samples/ |
D | SampleSVGPong.cpp | 24 static const SkRect kBounds = SkRect::MakeLTRB(0.1f, 0.1f, 0.9f, 0.9f); variable 84 const SkRect fieldBounds = kBounds.makeOutset(kBallSize / 2, kBallSize / 2); in onOnceBeforeDraw() 91 SkPoint::Make(kBounds.centerX(), kBounds.centerY()), in onOnceBeforeDraw() 105 bgPath.moveTo(kBounds.left() , fieldBounds.top()); in onOnceBeforeDraw() 106 bgPath.lineTo(kBounds.right(), fieldBounds.top()); in onOnceBeforeDraw() 107 bgPath.moveTo(kBounds.left() , fieldBounds.bottom()); in onOnceBeforeDraw() 108 bgPath.lineTo(kBounds.right(), fieldBounds.bottom()); in onOnceBeforeDraw() 111 bgPath.moveTo(kBounds.centerX(), in onOnceBeforeDraw() 112 kBounds.top() + (i + 0.25f) * kBounds.height() / kBackgroundDashCount); in onOnceBeforeDraw() 113 bgPath.lineTo(kBounds.centerX(), in onOnceBeforeDraw() [all …]
|
/external/skqp/tests/ |
D | ClipStackTest.cpp | 952 static const SkRect kBounds = SkRect::Make(kIBounds); in test_reduced_clip_stack() local 1012 kBounds.width() * r.nextRangeScalar(kMinElemSizeFrac, kMaxElemSizeFrac), in test_reduced_clip_stack() 1013 kBounds.height() * r.nextRangeScalar(kMinElemSizeFrac, kMaxElemSizeFrac)); in test_reduced_clip_stack() 1015 SkPoint xy = {r.nextRangeScalar(kBounds.fLeft, kBounds.fRight - size.fWidth), in test_reduced_clip_stack() 1016 r.nextRangeScalar(kBounds.fTop, kBounds.fBottom - size.fHeight)}; in test_reduced_clip_stack() 1052 SkRect queryBounds = kBounds; in test_reduced_clip_stack() 1053 queryBounds.outset(kBounds.width() / 2, kBounds.height() / 2); in test_reduced_clip_stack()
|
/external/skia/tests/ |
D | ClipStackTest.cpp | 952 static const SkRect kBounds = SkRect::Make(kIBounds); in test_reduced_clip_stack() local 1012 kBounds.width() * r.nextRangeScalar(kMinElemSizeFrac, kMaxElemSizeFrac), in test_reduced_clip_stack() 1013 kBounds.height() * r.nextRangeScalar(kMinElemSizeFrac, kMaxElemSizeFrac)); in test_reduced_clip_stack() 1015 SkPoint xy = {r.nextRangeScalar(kBounds.fLeft, kBounds.fRight - size.fWidth), in test_reduced_clip_stack() 1016 r.nextRangeScalar(kBounds.fTop, kBounds.fBottom - size.fHeight)}; in test_reduced_clip_stack() 1052 SkRect queryBounds = kBounds; in test_reduced_clip_stack() 1053 queryBounds.outset(kBounds.width() / 2, kBounds.height() / 2); in test_reduced_clip_stack()
|
/external/skqp/bench/ |
D | PathBench.cpp | 862 xy.fX = rand.nextRangeScalar(kBounds.fLeft, kBounds.fRight - size.fWidth); in onDelayedSetup() 863 xy.fY = rand.nextRangeScalar(kBounds.fTop, kBounds.fBottom - size.fHeight); in onDelayedSetup() 872 static const SkRect kBounds; // bounds for all random query rects member in ConservativelyContainsBench 1111 const SkRect ConservativelyContainsBench::kBounds = SkRect::MakeWH(SkIntToScalar(100), SkIntToScala… member in ConservativelyContainsBench
|
/external/skia/bench/ |
D | PathBench.cpp | 862 xy.fX = rand.nextRangeScalar(kBounds.fLeft, kBounds.fRight - size.fWidth); in onDelayedSetup() 863 xy.fY = rand.nextRangeScalar(kBounds.fTop, kBounds.fBottom - size.fHeight); in onDelayedSetup() 872 static const SkRect kBounds; // bounds for all random query rects member in ConservativelyContainsBench 1111 const SkRect ConservativelyContainsBench::kBounds = SkRect::MakeWH(SkIntToScalar(100), SkIntToScala… member in ConservativelyContainsBench
|
/external/skia/gm/ |
D | dashcircle.cpp | 184 static const SkRect kBounds = kThinCircle.makeOutset(kThinStrokeWidth / 2.f, in onDraw() local 188 m.mapRect(&devBounds, kBounds); in onDraw()
|
/external/skqp/gm/ |
D | dashcircle.cpp | 184 static const SkRect kBounds = kThinCircle.makeOutset(kThinStrokeWidth / 2.f, in onDraw() local 188 m.mapRect(&devBounds, kBounds); in onDraw()
|