/external/skia/samplecode/ |
D | SampleClip.cpp | 29 rand.nextSScalar1() * W, rand.nextSScalar1() * H + 20, in show_text() 43 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_fill() 48 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_fill() 72 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_stroke() 77 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_stroke()
|
/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 | 30 fSrc[i] = rand.nextSScalar1(); in MathBench() 276 fData[i] = rand.nextSScalar1(); in IsFiniteBench() 346 fData[i] = rand.nextSScalar1(); in FloorBench() 467 fVec[i].set(rand.nextSScalar1(), rand.nextSScalar1()); in NormalizeBench() 515 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 | MatrixBench.cpp | 93 array[i] = rand.nextSScalar1(); in init9() 287 fSrc[i].set(rand.nextSScalar1(), rand.nextSScalar1()); in MapPointsMatrixBench()
|
/external/skia/tests/ |
D | DrawBitmapRectTest.cpp | 63 mat->postTranslate(rand.nextSScalar1(), rand.nextSScalar1()); in rand_matrix() 66 mat->postScale(rand.nextSScalar1(), rand.nextSScalar1()); in rand_matrix() 69 mat->postRotate(rand.nextSScalar1() * 360); in rand_matrix() 72 mat->setPerspX(rand.nextSScalar1()); in rand_matrix() 73 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 | 263 vectors[i].fX = rand.nextSScalar1(); in test_matrix_min_max_scale() 264 vectors[i].fY = rand.nextSScalar1(); in test_matrix_min_max_scale()
|
D | MathTest.cpp | 449 SkScalar sx = rand.nextSScalar1(); in test_copysign()
|
D | PathTest.cpp | 775 pts[i].fX = rand.nextSScalar1(); in test_addPoly() 776 pts[i].fY = rand.nextSScalar1(); in test_addPoly()
|
/external/skia/src/effects/ |
D | SkDiscretePathEffect.cpp | 47 SkScalar nextSScalar1() { return SkFixedToScalar(this->nextSFixed1()); } in nextSScalar1() function in LCGRandom 101 Perterb(&p, v, SkScalarMul(rand.nextSScalar1(), scale)); in filterPath() 107 Perterb(&p, v, SkScalarMul(rand.nextSScalar1(), scale)); in filterPath()
|
D | SkLightingImageFilter.cpp | 1368 return SkPoint3(SkScalarToFloat(random->nextSScalar1()), in random_point3() 1369 SkScalarToFloat(random->nextSScalar1()), in random_point3() 1370 SkScalarToFloat(random->nextSScalar1())); in random_point3() 1594 SkScalar surfaceScale = random->nextSScalar1(); in TestCreate() 1802 SkScalar surfaceScale = random->nextSScalar1(); in TestCreate()
|
D | SkColorMatrixFilter.cpp | 554 colorMatrix.fMat[i] = random->nextSScalar1(); in TestCreate()
|
/external/skia/src/gpu/effects/ |
D | GrConvexPolyEffect.cpp | 68 SkRect rect = SkRect::MakeLTRB(random->nextSScalar1(), in TestCreate() 69 random->nextSScalar1(), in TestCreate() 70 random->nextSScalar1(), in TestCreate() 71 random->nextSScalar1()); in TestCreate() 371 edges[i] = random->nextSScalar1(); in TestCreate()
|
D | GrMatrixConvolutionEffect.cpp | 251 kernel.get()[i] = random->nextSScalar1(); in TestCreate() 253 SkScalar gain = random->nextSScalar1(); in TestCreate() 254 SkScalar bias = random->nextSScalar1(); in TestCreate()
|
D | GrBicubicEffect.cpp | 191 coefficients[i] = random->nextSScalar1(); in TestCreate()
|
D | GrConvolutionEffect.cpp | 231 kernel[i] = random->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 | 60 pos[i].set(x, y + rand.nextSScalar1() * 24); in onDraw()
|
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
|