Searched refs:kBounds (Results 1 - 2 of 2) sorted by relevance
/external/skia/tests/ |
H A D | ClipStackTest.cpp | 886 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/bench/ |
H A D | PathBench.cpp | 780 xy.fX = rand.nextRangeScalar(kBounds.fLeft, kBounds.fRight - size.fWidth); 781 xy.fY = rand.nextRangeScalar(kBounds.fTop, kBounds.fBottom - size.fHeight); 790 static const SkRect kBounds; // bounds for all random query rects member in class:ConservativelyContainsBench 792 static const SkSize kQueryMax; // max query rect size, should < kBounds 989 const SkRect ConservativelyContainsBench::kBounds = SkRect::MakeWH(SkIntToScalar(100), SkIntToScalar(100)); member in class:ConservativelyContainsBench
|
Completed in 177 milliseconds