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

/external/chromium_org/third_party/skia/tests/
H A DClipStackTest.cpp886 static const SkRect kBounds = SkRect::MakeWH(100, 100); local
894 // min/max size of a clip element as a fraction of kBounds.
940 SkScalarFloorToScalar(SkScalarMul(kBounds.width(), r.nextRangeScalar(kMinElemSizeFrac, kMaxElemSizeFrac))),
941 SkScalarFloorToScalar(SkScalarMul(kBounds.height(), r.nextRangeScalar(kMinElemSizeFrac, kMaxElemSizeFrac))));
943 SkPoint xy = {SkScalarFloorToScalar(r.nextRangeScalar(kBounds.fLeft, kBounds.fRight - size.fWidth)),
944 SkScalarFloorToScalar(r.nextRangeScalar(kBounds.fTop, kBounds.fBottom - size.fHeight))};
956 SkRect inflatedBounds = kBounds;
957 inflatedBounds.outset(kBounds
[all...]
/external/skia/tests/
H A DClipStackTest.cpp886 static const SkRect kBounds = SkRect::MakeWH(100, 100); local
894 // min/max size of a clip element as a fraction of kBounds.
940 SkScalarFloorToScalar(SkScalarMul(kBounds.width(), r.nextRangeScalar(kMinElemSizeFrac, kMaxElemSizeFrac))),
941 SkScalarFloorToScalar(SkScalarMul(kBounds.height(), r.nextRangeScalar(kMinElemSizeFrac, kMaxElemSizeFrac))));
943 SkPoint xy = {SkScalarFloorToScalar(r.nextRangeScalar(kBounds.fLeft, kBounds.fRight - size.fWidth)),
944 SkScalarFloorToScalar(r.nextRangeScalar(kBounds.fTop, kBounds.fBottom - size.fHeight))};
956 SkRect inflatedBounds = kBounds;
957 inflatedBounds.outset(kBounds
[all...]
/external/chromium_org/third_party/skia/bench/
H A DPathBench.cpp781 xy.fX = rand.nextRangeScalar(kBounds.fLeft, kBounds.fRight - size.fWidth);
782 xy.fY = rand.nextRangeScalar(kBounds.fTop, kBounds.fBottom - size.fHeight);
791 static const SkRect kBounds; // bounds for all random query rects member in class:ConservativelyContainsBench
793 static const SkSize kQueryMax; // max query rect size, should < kBounds
961 const SkRect ConservativelyContainsBench::kBounds = SkRect::MakeWH(SkIntToScalar(100), SkIntToScalar(100)); member in class:ConservativelyContainsBench
/external/skia/bench/
H A DPathBench.cpp781 xy.fX = rand.nextRangeScalar(kBounds.fLeft, kBounds.fRight - size.fWidth);
782 xy.fY = rand.nextRangeScalar(kBounds.fTop, kBounds.fBottom - size.fHeight);
791 static const SkRect kBounds; // bounds for all random query rects member in class:ConservativelyContainsBench
793 static const SkSize kQueryMax; // max query rect size, should < kBounds
961 const SkRect ConservativelyContainsBench::kBounds = SkRect::MakeWH(SkIntToScalar(100), SkIntToScalar(100)); member in class:ConservativelyContainsBench

Completed in 466 milliseconds