/external/skia/gm/ |
D | beziers.cpp | 19 auto a = rand.nextRangeScalar(0,W), in rnd_quad() 20 b = rand.nextRangeScalar(0,H); in rnd_quad() 23 auto c = rand.nextRangeScalar(W/4, W), in rnd_quad() 24 d = rand.nextRangeScalar( 0, H), in rnd_quad() 25 e = rand.nextRangeScalar( 0, W), in rnd_quad() 26 f = rand.nextRangeScalar(H/4, H); in rnd_quad() 30 SkScalar width = rand.nextRangeScalar(1, 5); in rnd_quad() 37 auto a = rand.nextRangeScalar(0,W), in rnd_cubic() 38 b = rand.nextRangeScalar(0,H); in rnd_cubic() 41 auto c = rand.nextRangeScalar(W/4, W), in rnd_cubic() [all …]
|
D | simplerect.cpp | 40 SkScalar x = rand.nextRangeScalar(min, max); in onDraw() 41 SkScalar y = rand.nextRangeScalar(min, max); in onDraw() 42 SkScalar w = rand.nextRangeScalar(0, size); in onDraw() 43 SkScalar h = rand.nextRangeScalar(0, size); in onDraw()
|
D | variedtext.cpp | 77 fPtSizes[i] = random.nextRangeScalar(kMinPtSize, kMaxPtSize); in onOnceBeforeDraw() 95 fPositions[i].fX = random.nextRangeScalar(safeRect.fLeft, safeRect.fRight); in onOnceBeforeDraw() 96 fPositions[i].fY = random.nextRangeScalar(safeRect.fTop, safeRect.fBottom); in onOnceBeforeDraw()
|
/external/skqp/gm/ |
D | beziers.cpp | 19 auto a = rand.nextRangeScalar(0,W), in rnd_quad() 20 b = rand.nextRangeScalar(0,H); in rnd_quad() 23 auto c = rand.nextRangeScalar(W/4, W), in rnd_quad() 24 d = rand.nextRangeScalar( 0, H), in rnd_quad() 25 e = rand.nextRangeScalar( 0, W), in rnd_quad() 26 f = rand.nextRangeScalar(H/4, H); in rnd_quad() 30 SkScalar width = rand.nextRangeScalar(1, 5); in rnd_quad() 37 auto a = rand.nextRangeScalar(0,W), in rnd_cubic() 38 b = rand.nextRangeScalar(0,H); in rnd_cubic() 41 auto c = rand.nextRangeScalar(W/4, W), in rnd_cubic() [all …]
|
D | simplerect.cpp | 40 SkScalar x = rand.nextRangeScalar(min, max); in onDraw() 41 SkScalar y = rand.nextRangeScalar(min, max); in onDraw() 42 SkScalar w = rand.nextRangeScalar(0, size); in onDraw() 43 SkScalar h = rand.nextRangeScalar(0, size); in onDraw()
|
/external/skqp/bench/ |
D | PicturePlaybackBench.cpp | 54 SkScalar x = rand.nextRangeScalar(0, 1024), in onDelayedSetup() 55 y = rand.nextRangeScalar(0, 1024), in onDelayedSetup() 56 w = rand.nextRangeScalar(0, 128), in onDelayedSetup() 57 h = rand.nextRangeScalar(0, 128); in onDelayedSetup() 76 case kRandom: x = rand.nextRangeScalar(0, 768); in onDraw() 77 y = rand.nextRangeScalar(0, 768); in onDraw()
|
D | BlendmodeBench.cpp | 40 font.setSize(random.nextRangeScalar(12, 96)); in onDraw() 41 SkScalar x = random.nextRangeScalar(0, (SkScalar)size.fWidth), in onDraw() 42 y = random.nextRangeScalar(0, (SkScalar)size.fHeight); in onDraw() 49 SkScalar w = random.nextRangeScalar(50, 100); in onDraw() 50 SkScalar h = random.nextRangeScalar(50, 100); in onDraw()
|
D | RectoriBench.cpp | 32 SkScalar blurSigma = Random.nextRangeScalar(1.5f, 25.0f); in onDraw() 33 SkScalar size = Random.nextRangeScalar(20*blurSigma, 50*blurSigma); in onDraw() 35 SkScalar x = Random.nextRangeScalar(0.0f, W - size); in onDraw() 36 SkScalar y = Random.nextRangeScalar(0.0f, H - size); in onDraw()
|
D | GeometryBench.cpp | 54 SkScalar x = rand.nextRangeScalar(min, max); in onDelayedSetup() 55 SkScalar y = rand.nextRangeScalar(min, max); in onDelayedSetup() 56 SkScalar w = rand.nextRangeScalar(min, max); in onDelayedSetup() 57 SkScalar h = rand.nextRangeScalar(min, max); in onDelayedSetup()
|
/external/skia/bench/ |
D | PicturePlaybackBench.cpp | 54 SkScalar x = rand.nextRangeScalar(0, 1024), in onDelayedSetup() 55 y = rand.nextRangeScalar(0, 1024), in onDelayedSetup() 56 w = rand.nextRangeScalar(0, 128), in onDelayedSetup() 57 h = rand.nextRangeScalar(0, 128); in onDelayedSetup() 76 case kRandom: x = rand.nextRangeScalar(0, 768); in onDraw() 77 y = rand.nextRangeScalar(0, 768); in onDraw()
|
D | BlendmodeBench.cpp | 40 font.setSize(random.nextRangeScalar(12, 96)); in onDraw() 41 SkScalar x = random.nextRangeScalar(0, (SkScalar)size.fWidth), in onDraw() 42 y = random.nextRangeScalar(0, (SkScalar)size.fHeight); in onDraw() 49 SkScalar w = random.nextRangeScalar(50, 100); in onDraw() 50 SkScalar h = random.nextRangeScalar(50, 100); in onDraw()
|
D | RectoriBench.cpp | 32 SkScalar blurSigma = Random.nextRangeScalar(1.5f, 25.0f); in onDraw() 33 SkScalar size = Random.nextRangeScalar(20*blurSigma, 50*blurSigma); in onDraw() 35 SkScalar x = Random.nextRangeScalar(0.0f, W - size); in onDraw() 36 SkScalar y = Random.nextRangeScalar(0.0f, H - size); in onDraw()
|
D | GeometryBench.cpp | 54 SkScalar x = rand.nextRangeScalar(min, max); in onDelayedSetup() 55 SkScalar y = rand.nextRangeScalar(min, max); in onDelayedSetup() 56 SkScalar w = rand.nextRangeScalar(min, max); in onDelayedSetup() 57 SkScalar h = rand.nextRangeScalar(min, max); in onDelayedSetup()
|
/external/skqp/src/gpu/ops/ |
D | GrDrawAtlasOp.cpp | 210 SkRSXform xform = SkRSXform::MakeFromRadians(random->nextRangeScalar(kMinScale, kMaxScale), in random_xform() 211 random->nextRangeScalar(kMinRotate, kMaxRotate), in random_xform() 212 random->nextRangeScalar(kMinExtent, kMaxExtent), in random_xform() 213 random->nextRangeScalar(kMinExtent, kMaxExtent), in random_xform() 214 random->nextRangeScalar(kMinExtent, kMaxExtent), in random_xform() 215 random->nextRangeScalar(kMinExtent, kMaxExtent)); in random_xform() 223 SkRect texRect = SkRect::MakeLTRB(random->nextRangeScalar(kMinCoord, kMaxCoord), in random_texRect() 224 random->nextRangeScalar(kMinCoord, kMaxCoord), in random_texRect() 225 random->nextRangeScalar(kMinCoord, kMaxCoord), in random_texRect() 226 random->nextRangeScalar(kMinCoord, kMaxCoord)); in random_texRect()
|
/external/skia/src/gpu/ops/ |
D | GrDrawAtlasOp.cpp | 290 SkRSXform xform = SkRSXform::MakeFromRadians(random->nextRangeScalar(kMinScale, kMaxScale), in random_xform() 291 random->nextRangeScalar(kMinRotate, kMaxRotate), in random_xform() 292 random->nextRangeScalar(kMinExtent, kMaxExtent), in random_xform() 293 random->nextRangeScalar(kMinExtent, kMaxExtent), in random_xform() 294 random->nextRangeScalar(kMinExtent, kMaxExtent), in random_xform() 295 random->nextRangeScalar(kMinExtent, kMaxExtent)); in random_xform() 303 SkRect texRect = SkRect::MakeLTRB(random->nextRangeScalar(kMinCoord, kMaxCoord), in random_texRect() 304 random->nextRangeScalar(kMinCoord, kMaxCoord), in random_texRect() 305 random->nextRangeScalar(kMinCoord, kMaxCoord), in random_texRect() 306 random->nextRangeScalar(kMinCoord, kMaxCoord)); in random_texRect()
|
/external/skqp/src/gpu/gradients/ |
D | GrLinearGradientLayout.fp | 52 SkPoint points[] = {{d->fRandom->nextRangeScalar(0.0f, scale), 53 d->fRandom->nextRangeScalar(0.0f, scale)}, 54 {d->fRandom->nextRangeScalar(0.0f, scale), 55 d->fRandom->nextRangeScalar(0.0f, scale)}};
|
D | GrLinearGradientLayout.cpp | 61 {d->fRandom->nextRangeScalar(0.0f, scale), d->fRandom->nextRangeScalar(0.0f, scale)}, in TestCreate() 62 {d->fRandom->nextRangeScalar(0.0f, scale), d->fRandom->nextRangeScalar(0.0f, scale)}}; in TestCreate()
|
D | GrTwoPointConicalGradientLayout.cpp | 156 SkPoint center1 = {d->fRandom->nextRangeScalar(0.0f, scale), in TestCreate() 157 d->fRandom->nextRangeScalar(0.0f, scale)}; in TestCreate() 158 SkPoint center2 = {d->fRandom->nextRangeScalar(0.0f, scale), in TestCreate() 159 d->fRandom->nextRangeScalar(0.0f, scale)}; in TestCreate() 160 SkScalar radius1 = d->fRandom->nextRangeScalar(0.0f, scale); in TestCreate() 161 SkScalar radius2 = d->fRandom->nextRangeScalar(0.0f, scale); in TestCreate()
|
D | GrRadialGradientLayout.fp | 55 SkPoint center = {d->fRandom->nextRangeScalar(0.0f, scale), 56 d->fRandom->nextRangeScalar(0.0f, scale)}; 57 SkScalar radius = d->fRandom->nextRangeScalar(0.0f, scale);
|
D | GrRadialGradientLayout.cpp | 63 SkPoint center = {d->fRandom->nextRangeScalar(0.0f, scale), in TestCreate() 64 d->fRandom->nextRangeScalar(0.0f, scale)}; in TestCreate() 65 SkScalar radius = d->fRandom->nextRangeScalar(0.0f, scale); in TestCreate()
|
/external/skia/src/gpu/gradients/ |
D | GrLinearGradientLayout.fp | 52 SkPoint points[] = {{d->fRandom->nextRangeScalar(0.0f, scale), 53 d->fRandom->nextRangeScalar(0.0f, scale)}, 54 {d->fRandom->nextRangeScalar(0.0f, scale), 55 d->fRandom->nextRangeScalar(0.0f, scale)}};
|
D | GrLinearGradientLayout.cpp | 61 {d->fRandom->nextRangeScalar(0.0f, scale), d->fRandom->nextRangeScalar(0.0f, scale)}, in TestCreate() 62 {d->fRandom->nextRangeScalar(0.0f, scale), d->fRandom->nextRangeScalar(0.0f, scale)}}; in TestCreate()
|
D | GrTwoPointConicalGradientLayout.cpp | 156 SkPoint center1 = {d->fRandom->nextRangeScalar(0.0f, scale), in TestCreate() 157 d->fRandom->nextRangeScalar(0.0f, scale)}; in TestCreate() 158 SkPoint center2 = {d->fRandom->nextRangeScalar(0.0f, scale), in TestCreate() 159 d->fRandom->nextRangeScalar(0.0f, scale)}; in TestCreate() 160 SkScalar radius1 = d->fRandom->nextRangeScalar(0.0f, scale); in TestCreate() 161 SkScalar radius2 = d->fRandom->nextRangeScalar(0.0f, scale); in TestCreate()
|
D | GrRadialGradientLayout.fp | 55 SkPoint center = {d->fRandom->nextRangeScalar(0.0f, scale), 56 d->fRandom->nextRangeScalar(0.0f, scale)}; 57 SkScalar radius = d->fRandom->nextRangeScalar(0.0f, scale);
|
D | GrRadialGradientLayout.cpp | 63 SkPoint center = {d->fRandom->nextRangeScalar(0.0f, scale), in TestCreate() 64 d->fRandom->nextRangeScalar(0.0f, scale)}; in TestCreate() 65 SkScalar radius = d->fRandom->nextRangeScalar(0.0f, scale); in TestCreate()
|