Home
last modified time | relevance | path

Searched refs:kBounds (Results 1 – 3 of 3) sorted by relevance

/external/skia/samplecode/
DSampleSVGPong.cpp21 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()
92 SkPoint::Make(kBounds.centerX(), kBounds.centerY()), in onOnceBeforeDraw()
108 bgPath.moveTo(kBounds.left() , fieldBounds.top()); in onOnceBeforeDraw()
109 bgPath.lineTo(kBounds.right(), fieldBounds.top()); in onOnceBeforeDraw()
110 bgPath.moveTo(kBounds.left() , fieldBounds.bottom()); in onOnceBeforeDraw()
111 bgPath.lineTo(kBounds.right(), fieldBounds.bottom()); in onOnceBeforeDraw()
114 bgPath.moveTo(kBounds.centerX(), in onOnceBeforeDraw()
115 kBounds.top() + (i + 0.25f) * kBounds.height() / kBackgroundDashCount); in onOnceBeforeDraw()
116 bgPath.lineTo(kBounds.centerX(), in onOnceBeforeDraw()
[all …]
/external/skia/tests/
DClipStackTest.cpp925 static const SkRect kBounds = SkRect::Make(kIBounds); in test_reduced_clip_stack() local
985 kBounds.width() * r.nextRangeScalar(kMinElemSizeFrac, kMaxElemSizeFrac), in test_reduced_clip_stack()
986 kBounds.height() * r.nextRangeScalar(kMinElemSizeFrac, kMaxElemSizeFrac)); in test_reduced_clip_stack()
988 SkPoint xy = {r.nextRangeScalar(kBounds.fLeft, kBounds.fRight - size.fWidth), in test_reduced_clip_stack()
989 r.nextRangeScalar(kBounds.fTop, kBounds.fBottom - size.fHeight)}; in test_reduced_clip_stack()
1022 SkRect queryBounds = kBounds; in test_reduced_clip_stack()
1023 queryBounds.outset(kBounds.width() / 2, kBounds.height() / 2); in test_reduced_clip_stack()
/external/skia/bench/
DPathBench.cpp868 xy.fX = rand.nextRangeScalar(kBounds.fLeft, kBounds.fRight - size.fWidth); in onDelayedSetup()
869 xy.fY = rand.nextRangeScalar(kBounds.fTop, kBounds.fBottom - size.fHeight); in onDelayedSetup()
878 static const SkRect kBounds; // bounds for all random query rects member in ConservativelyContainsBench
1117 const SkRect ConservativelyContainsBench::kBounds = SkRect::MakeWH(SkIntToScalar(100), SkIntToScala… member in ConservativelyContainsBench