Searched defs:kBounds (Results 1 - 7 of 7) sorted by relevance

/external/skia/gm/
H A Ddashcircle.cpp184 static const SkRect kBounds = kThinCircle.makeOutset(kThinStrokeWidth / 2.f, variable
188 m.mapRect(&devBounds, kBounds);
/external/skia/samplecode/
H A DSampleSVGPong.cpp24 static const SkRect kBounds = SkRect::MakeLTRB(0.1f, 0.1f, 0.9f, 0.9f); member in namespace:__anon20627
84 const SkRect fieldBounds = kBounds.makeOutset(kBallSize / 2, kBallSize / 2);
91 SkPoint::Make(kBounds.centerX(), kBounds.centerY()),
105 bgPath.moveTo(kBounds.left() , fieldBounds.top());
106 bgPath.lineTo(kBounds.right(), fieldBounds.top());
107 bgPath.moveTo(kBounds.left() , fieldBounds.bottom());
108 bgPath.lineTo(kBounds.right(), fieldBounds.bottom());
111 bgPath.moveTo(kBounds.centerX(),
112 kBounds
[all...]
/external/skqp/samplecode/
H A DSampleSVGPong.cpp24 static const SkRect kBounds = SkRect::MakeLTRB(0.1f, 0.1f, 0.9f, 0.9f); member in namespace:__anon21296
84 const SkRect fieldBounds = kBounds.makeOutset(kBallSize / 2, kBallSize / 2);
91 SkPoint::Make(kBounds.centerX(), kBounds.centerY()),
105 bgPath.moveTo(kBounds.left() , fieldBounds.top());
106 bgPath.lineTo(kBounds.right(), fieldBounds.top());
107 bgPath.moveTo(kBounds.left() , fieldBounds.bottom());
108 bgPath.lineTo(kBounds.right(), fieldBounds.bottom());
111 bgPath.moveTo(kBounds.centerX(),
112 kBounds
[all...]
/external/skia/bench/
H A DPathBench.cpp862 xy.fX = rand.nextRangeScalar(kBounds.fLeft, kBounds.fRight - size.fWidth);
863 xy.fY = rand.nextRangeScalar(kBounds.fTop, kBounds.fBottom - size.fHeight);
872 static const SkRect kBounds; // bounds for all random query rects member in class:ConservativelyContainsBench
874 static const SkSize kQueryMax; // max query rect size, should < kBounds
1111 const SkRect ConservativelyContainsBench::kBounds = SkRect::MakeWH(SkIntToScalar(100), SkIntToScalar(100)); member in class:ConservativelyContainsBench
/external/skia/tests/
H A DClipStackTest.cpp932 static const SkRect kBounds = SkRect::Make(kIBounds); local
940 // min/max size of a clip element as a fraction of kBounds.
992 kBounds.width() * r.nextRangeScalar(kMinElemSizeFrac, kMaxElemSizeFrac),
993 kBounds.height() * r.nextRangeScalar(kMinElemSizeFrac, kMaxElemSizeFrac));
995 SkPoint xy = {r.nextRangeScalar(kBounds.fLeft, kBounds.fRight - size.fWidth),
996 r.nextRangeScalar(kBounds.fTop, kBounds.fBottom - size.fHeight)};
1032 SkRect queryBounds = kBounds;
1033 queryBounds.outset(kBounds
[all...]
/external/skqp/bench/
H A DPathBench.cpp862 xy.fX = rand.nextRangeScalar(kBounds.fLeft, kBounds.fRight - size.fWidth);
863 xy.fY = rand.nextRangeScalar(kBounds.fTop, kBounds.fBottom - size.fHeight);
872 static const SkRect kBounds; // bounds for all random query rects member in class:ConservativelyContainsBench
874 static const SkSize kQueryMax; // max query rect size, should < kBounds
1111 const SkRect ConservativelyContainsBench::kBounds = SkRect::MakeWH(SkIntToScalar(100), SkIntToScalar(100)); member in class:ConservativelyContainsBench
/external/skqp/tests/
H A DClipStackTest.cpp932 static const SkRect kBounds = SkRect::Make(kIBounds); local
940 // min/max size of a clip element as a fraction of kBounds.
992 kBounds.width() * r.nextRangeScalar(kMinElemSizeFrac, kMaxElemSizeFrac),
993 kBounds.height() * r.nextRangeScalar(kMinElemSizeFrac, kMaxElemSizeFrac));
995 SkPoint xy = {r.nextRangeScalar(kBounds.fLeft, kBounds.fRight - size.fWidth),
996 r.nextRangeScalar(kBounds.fTop, kBounds.fBottom - size.fHeight)};
1032 SkRect queryBounds = kBounds;
1033 queryBounds.outset(kBounds
[all...]

Completed in 555 milliseconds