HomeSort by relevance Sort by last modified time
    Searched refs:kBounds (Results 1 - 2 of 2) sorted by null

  /external/skia/tests/
ClipStackTest.cpp 886 static const SkRect kBounds = SkRect::MakeWH(100, 100);
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.width() / 2, kBounds.height() / 2)
    [all...]
  /external/skia/bench/
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
792 static const SkSize kQueryMax; // max query rect size, should < kBounds
989 const SkRect ConservativelyContainsBench::kBounds = SkRect::MakeWH(SkIntToScalar(100), SkIntToScalar(100));

Completed in 421 milliseconds