/external/skqp/samplecode/ |
D | SampleClip.cpp | 31 rand.nextSScalar1() * W, rand.nextSScalar1() * H + 20, in show_text() 45 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_fill() 50 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_fill() 74 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_stroke() 79 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_stroke()
|
D | SampleAtlas.cpp | 156 fRec[i].fVelocity.fX = rand.nextSScalar1() * kMaxSpeed; in DrawAtlasDrawable() 157 fRec[i].fVelocity.fY = rand.nextSScalar1() * kMaxSpeed; in DrawAtlasDrawable() 159 fRec[i].fDScale = rand.nextSScalar1() / 16; in DrawAtlasDrawable() 161 fRec[i].fDRadian = rand.nextSScalar1() / 8; in DrawAtlasDrawable() 163 fRec[i].fDAlpha = rand.nextSScalar1() / 10; in DrawAtlasDrawable()
|
/external/skia/samplecode/ |
D | SampleClip.cpp | 31 rand.nextSScalar1() * W, rand.nextSScalar1() * H + 20, in show_text() 45 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_fill() 50 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_fill() 74 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_stroke() 79 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_stroke()
|
D | SampleAtlas.cpp | 156 fRec[i].fVelocity.fX = rand.nextSScalar1() * kMaxSpeed; in DrawAtlasDrawable() 157 fRec[i].fVelocity.fY = rand.nextSScalar1() * kMaxSpeed; in DrawAtlasDrawable() 159 fRec[i].fDScale = rand.nextSScalar1() / 16; in DrawAtlasDrawable() 161 fRec[i].fDRadian = rand.nextSScalar1() / 8; in DrawAtlasDrawable() 163 fRec[i].fDAlpha = rand.nextSScalar1() / 10; in DrawAtlasDrawable()
|
/external/skqp/tests/ |
D | DrawBitmapRectTest.cpp | 27 mat->postTranslate(rand.nextSScalar1(), rand.nextSScalar1()); in rand_matrix() 30 mat->postScale(rand.nextSScalar1(), rand.nextSScalar1()); in rand_matrix() 33 mat->postRotate(rand.nextSScalar1() * 360); in rand_matrix() 36 mat->setPerspX(rand.nextSScalar1()); in rand_matrix() 37 mat->setPerspY(rand.nextSScalar1()); in rand_matrix()
|
/external/skia/tests/ |
D | DrawBitmapRectTest.cpp | 27 mat->postTranslate(rand.nextSScalar1(), rand.nextSScalar1()); in rand_matrix() 30 mat->postScale(rand.nextSScalar1(), rand.nextSScalar1()); in rand_matrix() 33 mat->postRotate(rand.nextSScalar1() * 360); in rand_matrix() 36 mat->setPerspX(rand.nextSScalar1()); in rand_matrix() 37 mat->setPerspY(rand.nextSScalar1()); in rand_matrix()
|
/external/skia/bench/ |
D | ScalarBench.cpp | 49 array[i] = rand.nextSScalar1(); in init9() 99 fArray[i] = rand.nextSScalar1(); in IsFiniteScalarBench() 137 fPts[i].fX = rand.nextSScalar1(); in RectBoundsBench() 138 fPts[i].fY = rand.nextSScalar1(); in RectBoundsBench()
|
D | MathBench.cpp | 39 fSrc[i] = rand.nextSScalar1(); in MathBench() 265 fData[i] = rand.nextSScalar1(); in IsFiniteBench() 335 fData[i] = rand.nextSScalar1(); in FloorBench() 456 fVec[i].set(rand.nextSScalar1(), rand.nextSScalar1()); in NormalizeBench() 504 fData[i] = rand.nextSScalar1(); in FixedMathBench()
|
D | PathIterBench.cpp | 22 pts[i].fX = rand.nextSScalar1(); in rand_pts() 23 pts[i].fY = rand.nextSScalar1(); in rand_pts()
|
D | StrokeBench.cpp | 57 return SkPoint::Make(rand.nextSScalar1() * X, rand.nextSScalar1() * Y); in rand_pt()
|
D | MatrixBench.cpp | 92 array[i] = rand.nextSScalar1(); in init9() 286 fSrc[i].set(rand.nextSScalar1(), rand.nextSScalar1()); in MapPointsMatrixBench()
|
/external/skqp/bench/ |
D | ScalarBench.cpp | 49 array[i] = rand.nextSScalar1(); in init9() 99 fArray[i] = rand.nextSScalar1(); in IsFiniteScalarBench() 137 fPts[i].fX = rand.nextSScalar1(); in RectBoundsBench() 138 fPts[i].fY = rand.nextSScalar1(); in RectBoundsBench()
|
D | MathBench.cpp | 39 fSrc[i] = rand.nextSScalar1(); in MathBench() 265 fData[i] = rand.nextSScalar1(); in IsFiniteBench() 335 fData[i] = rand.nextSScalar1(); in FloorBench() 456 fVec[i].set(rand.nextSScalar1(), rand.nextSScalar1()); in NormalizeBench() 504 fData[i] = rand.nextSScalar1(); in FixedMathBench()
|
D | PathIterBench.cpp | 22 pts[i].fX = rand.nextSScalar1(); in rand_pts() 23 pts[i].fY = rand.nextSScalar1(); in rand_pts()
|
D | StrokeBench.cpp | 57 return SkPoint::Make(rand.nextSScalar1() * X, rand.nextSScalar1() * Y); in rand_pt()
|
/external/skqp/src/gpu/effects/ |
D | GrAARectEffect.fp | 53 SkRect rect = SkRect::MakeLTRB(d->fRandom->nextSScalar1(), 54 d->fRandom->nextSScalar1(), 55 d->fRandom->nextSScalar1(), 56 d->fRandom->nextSScalar1());
|
D | GrAARectEffect.cpp | 105 SkRect rect = SkRect::MakeLTRB(d->fRandom->nextSScalar1(), in TestCreate() 106 d->fRandom->nextSScalar1(), in TestCreate() 107 d->fRandom->nextSScalar1(), in TestCreate() 108 d->fRandom->nextSScalar1()); in TestCreate()
|
/external/skia/src/gpu/effects/ |
D | GrAARectEffect.fp | 53 SkRect rect = SkRect::MakeLTRB(d->fRandom->nextSScalar1(), 54 d->fRandom->nextSScalar1(), 55 d->fRandom->nextSScalar1(), 56 d->fRandom->nextSScalar1());
|
D | GrAARectEffect.cpp | 105 SkRect rect = SkRect::MakeLTRB(d->fRandom->nextSScalar1(), in TestCreate() 106 d->fRandom->nextSScalar1(), in TestCreate() 107 d->fRandom->nextSScalar1(), in TestCreate() 108 d->fRandom->nextSScalar1()); in TestCreate()
|
/external/skia/src/effects/ |
D | SkDiscretePathEffect.cpp | 60 SkScalar nextSScalar1() { return SkFixedToScalar(this->nextSFixed1()); } in nextSScalar1() function in LCGRandom 114 Perterb(&p, v, rand.nextSScalar1() * scale); in filterPath() 120 Perterb(&p, v, rand.nextSScalar1() * scale); in filterPath()
|
/external/skqp/src/effects/ |
D | SkDiscretePathEffect.cpp | 60 SkScalar nextSScalar1() { return SkFixedToScalar(this->nextSFixed1()); } in nextSScalar1() function in LCGRandom 114 Perterb(&p, v, rand.nextSScalar1() * scale); in filterPath() 120 Perterb(&p, v, rand.nextSScalar1() * scale); in filterPath()
|
/external/skqp/gm/ |
D | strokerects.cpp | 41 SkScalar hoffset = rand.nextSScalar1(); in rnd_rect() 42 SkScalar woffset = rand.nextSScalar1(); in rnd_rect()
|
/external/skia/gm/ |
D | strokerects.cpp | 41 SkScalar hoffset = rand.nextSScalar1(); in rnd_rect() 42 SkScalar woffset = rand.nextSScalar1(); in rnd_rect()
|
/external/skia/src/gpu/ops/ |
D | GrShadowRRectOp.cpp | 682 SkScalar rotate = random->nextSScalar1() * 360.f; in GR_DRAW_OP_TEST_DEFINE() 683 SkScalar translateX = random->nextSScalar1() * 1000.f; in GR_DRAW_OP_TEST_DEFINE() 684 SkScalar translateY = random->nextSScalar1() * 1000.f; in GR_DRAW_OP_TEST_DEFINE() 685 SkScalar scale = random->nextSScalar1() * 100.f; in GR_DRAW_OP_TEST_DEFINE() 690 SkScalar insetWidth = random->nextSScalar1() * 72.f; in GR_DRAW_OP_TEST_DEFINE() 691 SkScalar blurWidth = random->nextSScalar1() * 72.f; in GR_DRAW_OP_TEST_DEFINE() 692 SkScalar blurClamp = random->nextSScalar1(); in GR_DRAW_OP_TEST_DEFINE()
|
/external/skqp/src/gpu/ops/ |
D | GrShadowRRectOp.cpp | 683 SkScalar rotate = random->nextSScalar1() * 360.f; in GR_DRAW_OP_TEST_DEFINE() 684 SkScalar translateX = random->nextSScalar1() * 1000.f; in GR_DRAW_OP_TEST_DEFINE() 685 SkScalar translateY = random->nextSScalar1() * 1000.f; in GR_DRAW_OP_TEST_DEFINE() 686 SkScalar scale = random->nextSScalar1() * 100.f; in GR_DRAW_OP_TEST_DEFINE() 691 SkScalar insetWidth = random->nextSScalar1() * 72.f; in GR_DRAW_OP_TEST_DEFINE() 692 SkScalar blurWidth = random->nextSScalar1() * 72.f; in GR_DRAW_OP_TEST_DEFINE() 693 SkScalar blurClamp = random->nextSScalar1(); in GR_DRAW_OP_TEST_DEFINE()
|