Searched refs:kBounds (Results 1 – 2 of 2) sorted by relevance
/external/skia/tests/ |
D | ClipStackTest.cpp | 886 static const SkRect kBounds = SkRect::MakeWH(100, 100); in test_reduced_clip_stack() local 940 …SkScalarFloorToScalar(SkScalarMul(kBounds.width(), r.nextRangeScalar(kMinElemSizeFrac, kMaxElemSiz… in test_reduced_clip_stack() 941 …SkScalarFloorToScalar(SkScalarMul(kBounds.height(), r.nextRangeScalar(kMinElemSizeFrac, kMaxElemSi… in test_reduced_clip_stack() 943 …SkPoint xy = {SkScalarFloorToScalar(r.nextRangeScalar(kBounds.fLeft, kBounds.fRight - size.fWidth)… in test_reduced_clip_stack() 944 … SkScalarFloorToScalar(r.nextRangeScalar(kBounds.fTop, kBounds.fBottom - size.fHeight))}; in test_reduced_clip_stack() 956 SkRect inflatedBounds = kBounds; in test_reduced_clip_stack() 957 inflatedBounds.outset(kBounds.width() / 2, kBounds.height() / 2); in test_reduced_clip_stack()
|
/external/skia/bench/ |
D | PathBench.cpp | 781 xy.fX = rand.nextRangeScalar(kBounds.fLeft, kBounds.fRight - size.fWidth); in onDelayedSetup() 782 xy.fY = rand.nextRangeScalar(kBounds.fTop, kBounds.fBottom - size.fHeight); in onDelayedSetup() 791 static const SkRect kBounds; // bounds for all random query rects member in ConservativelyContainsBench 990 const SkRect ConservativelyContainsBench::kBounds = SkRect::MakeWH(SkIntToScalar(100), SkIntToScala… member in ConservativelyContainsBench
|