/external/skia/samplecode/ |
D | SampleClip.cpp | 30 rand.nextSScalar1() * W, rand.nextSScalar1() * H + 20, in show_text() 44 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_fill() 49 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_fill() 73 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_stroke() 78 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/bench/ |
D | ScalarBench.cpp | 50 array[i] = rand.nextSScalar1(); in init9() 100 fArray[i] = rand.nextSScalar1(); in IsFiniteScalarBench() 138 fPts[i].fX = rand.nextSScalar1(); in RectBoundsBench() 139 fPts[i].fY = rand.nextSScalar1(); in RectBoundsBench()
|
D | MathBench.cpp | 37 fSrc[i] = rand.nextSScalar1(); in MathBench() 273 fData[i] = rand.nextSScalar1(); in IsFiniteBench() 343 fData[i] = rand.nextSScalar1(); in FloorBench() 464 fVec[i].set(rand.nextSScalar1(), rand.nextSScalar1()); in NormalizeBench() 512 fData[i] = rand.nextSScalar1(); in FixedMathBench()
|
D | PathIterBench.cpp | 23 pts[i].fX = rand.nextSScalar1(); in rand_pts() 24 pts[i].fY = rand.nextSScalar1(); in rand_pts()
|
D | MatrixBench.cpp | 93 array[i] = rand.nextSScalar1(); in init9() 287 fSrc[i].set(rand.nextSScalar1(), rand.nextSScalar1()); in MapPointsMatrixBench()
|
D | StrokeBench.cpp | 57 return SkPoint::Make(rand.nextSScalar1() * X, rand.nextSScalar1() * Y); in rand_pt()
|
/external/skia/tests/ |
D | DrawBitmapRectTest.cpp | 67 mat->postTranslate(rand.nextSScalar1(), rand.nextSScalar1()); in rand_matrix() 70 mat->postScale(rand.nextSScalar1(), rand.nextSScalar1()); in rand_matrix() 73 mat->postRotate(rand.nextSScalar1() * 360); in rand_matrix() 76 mat->setPerspX(rand.nextSScalar1()); in rand_matrix() 77 mat->setPerspY(rand.nextSScalar1()); in rand_matrix()
|
D | GeometryTest.cpp | 52 pts[j].set(rand.nextSScalar1() * 100, rand.nextSScalar1() * 100); in test_evalquadat() 91 pts[j].set(rand.nextSScalar1() * 100, rand.nextSScalar1() * 100); in test_conic()
|
D | MatrixTest.cpp | 270 vectors[i].fX = rand.nextSScalar1(); in test_matrix_min_max_scale() 271 vectors[i].fY = rand.nextSScalar1(); in test_matrix_min_max_scale()
|
D | MathTest.cpp | 482 SkScalar sx = rand.nextSScalar1(); in test_copysign()
|
D | PathTest.cpp | 893 pts[i].fX = rand.nextSScalar1(); in test_addPoly() 894 pts[i].fY = rand.nextSScalar1(); in test_addPoly()
|
/external/skia/src/effects/ |
D | SkDiscretePathEffect.cpp | 48 SkScalar nextSScalar1() { return SkFixedToScalar(this->nextSFixed1()); } in nextSScalar1() function in LCGRandom 102 Perterb(&p, v, SkScalarMul(rand.nextSScalar1(), scale)); in filterPath() 108 Perterb(&p, v, SkScalarMul(rand.nextSScalar1(), scale)); in filterPath()
|
D | SkLightingImageFilter.cpp | 1470 return SkPoint3::Make(SkScalarToFloat(random->nextSScalar1()), in random_point3() 1471 SkScalarToFloat(random->nextSScalar1()), in random_point3() 1472 SkScalarToFloat(random->nextSScalar1())); in random_point3() 1708 SkScalar surfaceScale = d->fRandom->nextSScalar1(); in TestCreate() 1925 SkScalar surfaceScale = d->fRandom->nextSScalar1(); in TestCreate()
|
/external/skia/src/gpu/effects/ |
D | GrConvexPolyEffect.cpp | 66 SkRect rect = SkRect::MakeLTRB(d->fRandom->nextSScalar1(), in TestCreate() 67 d->fRandom->nextSScalar1(), in TestCreate() 68 d->fRandom->nextSScalar1(), in TestCreate() 69 d->fRandom->nextSScalar1()); in TestCreate() 342 edges[i] = d->fRandom->nextSScalar1(); in TestCreate()
|
D | GrMatrixConvolutionEffect.cpp | 235 kernel.get()[i] = d->fRandom->nextSScalar1(); in TestCreate() 237 SkScalar gain = d->fRandom->nextSScalar1(); in TestCreate() 238 SkScalar bias = d->fRandom->nextSScalar1(); in TestCreate()
|
D | GrBicubicEffect.cpp | 187 coefficients[i] = d->fRandom->nextSScalar1(); in TestCreate()
|
D | GrConvolutionEffect.cpp | 216 kernel[i] = d->fRandom->nextSScalar1(); in TestCreate()
|
/external/skia/gm/ |
D | strokerects.cpp | 42 SkScalar hoffset = rand.nextSScalar1(); in rnd_rect() 43 SkScalar woffset = rand.nextSScalar1(); in rnd_rect()
|
D | getpostextpath.cpp | 48 pos[i].set(x, y + rand.nextSScalar1() * 24);
|
D | strokes.cpp | 26 SkScalar hoffset = rand.nextSScalar1(); in rnd_rect() 27 SkScalar woffset = rand.nextSScalar1(); in rnd_rect()
|
/external/skia/include/utils/ |
D | SkRandom.h | 125 SkScalar nextSScalar1() { return SkFixedToScalar(this->nextSFixed1()); } in nextSScalar1() function
|
/external/skia/src/core/ |
D | SkColorMatrixFilterRowMajor255.cpp | 388 colorMatrix[i] = d->fRandom->nextSScalar1(); in TestCreate()
|