Home
last modified time | relevance | path

Searched refs:nextULessThan (Results 1 – 9 of 9) sorted by relevance

/external/skia/src/effects/
DSkMagnifierImageFilter.cpp207 uint32_t width = random->nextULessThan(kMaxWidth); in TestCreate()
208 uint32_t height = random->nextULessThan(kMaxHeight); in TestCreate()
209 uint32_t x = random->nextULessThan(kMaxWidth - width); in TestCreate()
210 uint32_t y = random->nextULessThan(kMaxHeight - height); in TestCreate()
211 SkScalar inset = SkIntToScalar(random->nextULessThan(kMaxInset)); in TestCreate()
DSkLightingImageFilter.cpp957 int type = random->nextULessThan(3); in create_random_light()
/external/skia/include/utils/
DSkRandom.h83 uint32_t nextULessThan(uint32_t count) { in nextULessThan() function
236 uint32_t nextULessThan(uint32_t count) { in nextULessThan() function
/external/skia/tests/
DLListTest.cpp212 int insertionMethod = random.nextULessThan(numValidMethods); in TestTLList()
222 int n = random.nextULessThan(list1.count()); in TestTLList()
266 int n = random.nextULessThan(list1.count()); in TestTLList()
DClipStackTest.cpp830 SkRegion::Op op = kOps[r.nextULessThan(SK_ARRAY_COUNT(kOps))]; in test_reduced_clip_stack()
851 kElementFuncs[r.nextULessThan(SK_ARRAY_COUNT(kElementFuncs))](rect, invert, op, &stack); in test_reduced_clip_stack()
/external/skia/src/gpu/
DGrEffect.cpp39 return gMatrices[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gMatrices)))]; in TestMatrix()
/external/skia/src/gpu/effects/
DGrConfigConversionEffect.cpp137 PMConversion pmConv = static_cast<PMConversion>(random->nextULessThan(kPMConversionCnt)); in TestCreate()
/external/skia/src/effects/gradients/
DSkGradientShader.cpp846 *tm = static_cast<SkShader::TileMode>(random->nextULessThan(SkShader::kTileModeCount)); in RandomGradientParams()
/external/skia/bench/
DPathBench.cpp246 fVerbs[i] = static_cast<SkPath::Verb>(fRandom.nextULessThan(SkPath::kDone_Verb)); in createData()