Searched refs:GENERATE_EXTENTS (Results 1 – 2 of 2) sorted by relevance
/external/skqp/bench/ |
D | RTreeBench.cpp | 15 static const SkScalar GENERATE_EXTENTS = 1000.0f; variable 84 query.fLeft = rand.nextRangeF(0, GENERATE_EXTENTS); in onDraw() 85 query.fTop = rand.nextRangeF(0, GENERATE_EXTENTS); in onDraw() 86 query.fRight = query.fLeft + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/2); in onDraw() 87 query.fBottom = query.fTop + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/2); in onDraw() 102 out.fRight = out.fLeft + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/3); in make_XYordered_rects() 103 out.fBottom = out.fTop + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/3); in make_XYordered_rects() 110 out.fRight = out.fLeft + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/3); in make_YXordered_rects() 111 out.fBottom = out.fTop + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/3); in make_YXordered_rects() 117 out.fLeft = rand.nextRangeF(0, GENERATE_EXTENTS); in make_random_rects() [all …]
|
/external/skia/bench/ |
D | RTreeBench.cpp | 15 static const SkScalar GENERATE_EXTENTS = 1000.0f; variable 84 query.fLeft = rand.nextRangeF(0, GENERATE_EXTENTS); in onDraw() 85 query.fTop = rand.nextRangeF(0, GENERATE_EXTENTS); in onDraw() 86 query.fRight = query.fLeft + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/2); in onDraw() 87 query.fBottom = query.fTop + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/2); in onDraw() 102 out.fRight = out.fLeft + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/3); in make_XYordered_rects() 103 out.fBottom = out.fTop + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/3); in make_XYordered_rects() 110 out.fRight = out.fLeft + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/3); in make_YXordered_rects() 111 out.fBottom = out.fTop + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/3); in make_YXordered_rects() 117 out.fLeft = rand.nextRangeF(0, GENERATE_EXTENTS); in make_random_rects() [all …]
|