Lines Matching refs:SkRandom
21 static const SkMatrix& test_matrix(SkRandom* random, in test_matrix()
54 const SkMatrix& TestMatrix(SkRandom* random) { return test_matrix(random, true, true); } in TestMatrix()
56 const SkMatrix& TestMatrixPreservesRightAngles(SkRandom* random) { in TestMatrixPreservesRightAngles()
82 const SkMatrix& TestMatrixRectStaysRect(SkRandom* random) { in TestMatrixRectStaysRect()
108 const SkMatrix& TestMatrixInvertible(SkRandom* random) { return test_matrix(random, true, false); } in TestMatrixInvertible()
109 const SkMatrix& TestMatrixPerspective(SkRandom* random) { return test_matrix(random, false, true); } in TestMatrixPerspective()
111 void TestWrapModes(SkRandom* random, GrSamplerState::WrapMode wrapModes[2]) { in TestWrapModes()
120 const SkRect& TestRect(SkRandom* random) { in TestRect()
136 const SkRect& TestSquare(SkRandom* random) { in TestSquare()
147 const SkRRect& TestRRectSimple(SkRandom* random) { in TestRRectSimple()
165 const SkPath& TestPath(SkRandom* random) { in TestPath()
213 const SkPath& TestPathConvex(SkRandom* random) { in TestPathConvex()
247 static void randomize_stroke_rec(SkStrokeRec* rec, SkRandom* random) { in randomize_stroke_rec()
258 SkStrokeRec TestStrokeRec(SkRandom* random) { in TestStrokeRec()
266 void TestStyle(SkRandom* random, GrStyle* style) { in TestStyle()
312 sk_sp<SkColorSpace> TestColorSpace(SkRandom* random) { in TestColorSpace()
326 sk_sp<GrColorSpaceXform> TestColorXform(SkRandom* random) { in TestColorXform()
354 GrColor RandomColor(SkRandom* random) { in RandomColor()
391 uint8_t RandomCoverage(SkRandom* random) { in RandomCoverage()