/external/chromium_org/third_party/skia/samplecode/ |
SampleManyRects.cpp | 42 SkRect rect = SkRect::MakeWH(SkIntToScalar(fRandom.nextRangeU(10, 100)), 43 SkIntToScalar(fRandom.nextRangeU(10, 100))); 44 int x = fRandom.nextRangeU(0, dsize.fWidth); 45 int y = fRandom.nextRangeU(0, dsize.fHeight);
|
SampleRectanizer.cpp | 37 *fRects[0].append() = SkISize::Make(random.nextRangeU(kMinRectSize, kMaxRectSize), 38 random.nextRangeU(kMinRectSize, kMaxRectSize)); 40 GrNextPow2(random.nextRangeU(kMinRectSize, kMaxRectSize)), 41 GrNextPow2(random.nextRangeU(kMinRectSize, kMaxRectSize)));
|
/external/skia/samplecode/ |
SampleManyRects.cpp | 42 SkRect rect = SkRect::MakeWH(SkIntToScalar(fRandom.nextRangeU(10, 100)), 43 SkIntToScalar(fRandom.nextRangeU(10, 100))); 44 int x = fRandom.nextRangeU(0, dsize.fWidth); 45 int y = fRandom.nextRangeU(0, dsize.fHeight);
|
SampleRectanizer.cpp | 37 *fRects[0].append() = SkISize::Make(random.nextRangeU(kMinRectSize, kMaxRectSize), 38 random.nextRangeU(kMinRectSize, kMaxRectSize)); 40 GrNextPow2(random.nextRangeU(kMinRectSize, kMaxRectSize)), 41 GrNextPow2(random.nextRangeU(kMinRectSize, kMaxRectSize)));
|
/external/chromium_org/third_party/skia/bench/ |
RectanizerBench.cpp | 93 size = SkISize::Make(rand.nextRangeU(1, kWidth / 2), 94 rand.nextRangeU(1, kHeight / 2)); 96 size = SkISize::Make(GrNextPow2(rand.nextRangeU(1, kWidth / 2)), 97 GrNextPow2(rand.nextRangeU(1, kHeight / 2)));
|
GrMemoryPoolBench.cpp | 114 uint32_t idx = r.nextRangeU(0, kMaxObjects-1); 158 uint32_t count = r.nextRangeU(0, M-1);
|
/external/skia/bench/ |
RectanizerBench.cpp | 93 size = SkISize::Make(rand.nextRangeU(1, kWidth / 2), 94 rand.nextRangeU(1, kHeight / 2)); 96 size = SkISize::Make(GrNextPow2(rand.nextRangeU(1, kWidth / 2)), 97 GrNextPow2(rand.nextRangeU(1, kHeight / 2)));
|
GrMemoryPoolBench.cpp | 114 uint32_t idx = r.nextRangeU(0, kMaxObjects-1); 158 uint32_t count = r.nextRangeU(0, M-1);
|
/external/chromium_org/third_party/skia/tests/ |
GpuRectanizerTest.cpp | 66 rects.push(SkISize::Make(rand.nextRangeU(1, kWidth / 2), 67 rand.nextRangeU(1, kHeight / 2)));
|
KtxTest.cpp | 44 uint8_t a = rand.nextRangeU(0, 255); 45 uint8_t r = rand.nextRangeU(0, 255); 46 uint8_t g = rand.nextRangeU(0, 255); 47 uint8_t b = rand.nextRangeU(0, 255);
|
SortTest.cpp | 45 int count = rand.nextRangeU(1, SK_ARRAY_COUNT(randomArray));
|
RandomTest.cpp | 166 (void) rand.nextRangeU(0, 0xffffffff); 172 unsigned int u = rand.nextRangeU(17, 17+255);
|
GrMemoryPoolTest.cpp | 163 switch (r->nextRangeU(0, 4)) { 217 int d = r.nextRangeU(0, instanceRecs.count() - 1);
|
/external/skia/tests/ |
GpuRectanizerTest.cpp | 66 rects.push(SkISize::Make(rand.nextRangeU(1, kWidth / 2), 67 rand.nextRangeU(1, kHeight / 2)));
|
KtxTest.cpp | 44 uint8_t a = rand.nextRangeU(0, 255); 45 uint8_t r = rand.nextRangeU(0, 255); 46 uint8_t g = rand.nextRangeU(0, 255); 47 uint8_t b = rand.nextRangeU(0, 255);
|
SortTest.cpp | 45 int count = rand.nextRangeU(1, SK_ARRAY_COUNT(randomArray));
|
RandomTest.cpp | 166 (void) rand.nextRangeU(0, 0xffffffff); 172 unsigned int u = rand.nextRangeU(17, 17+255);
|
/external/chromium_org/third_party/skia/include/utils/ |
SkRandom.h | 67 uint32_t nextRangeU(uint32_t min, uint32_t max) { 82 return this->nextRangeU(0, count - 1); 221 uint32_t nextRangeU(uint32_t min, uint32_t max) { 236 return this->nextRangeU(0, count - 1);
|
/external/skia/include/utils/ |
SkRandom.h | 67 uint32_t nextRangeU(uint32_t min, uint32_t max) { 82 return this->nextRangeU(0, count - 1); 221 uint32_t nextRangeU(uint32_t min, uint32_t max) { 236 return this->nextRangeU(0, count - 1);
|
/external/chromium_org/third_party/skia/include/gpu/ |
GrEffectUnitTest.h | 55 uint32_t idx = random->nextRangeU(0, GetFactories()->count() - 1);
|
/external/skia/include/gpu/ |
GrEffectUnitTest.h | 55 uint32_t idx = random->nextRangeU(0, GetFactories()->count() - 1);
|
/external/chromium_org/third_party/skia/src/effects/ |
SkMatrixConvolutionImageFilter.cpp | 635 int width = random->nextRangeU(1, MAX_KERNEL_SIZE); 636 int height = random->nextRangeU(1, MAX_KERNEL_SIZE / width); 644 SkIPoint kernelOffset = SkIPoint::Make(random->nextRangeU(0, kernelSize.width()), 645 random->nextRangeU(0, kernelSize.height())); 646 SkIRect bounds = SkIRect::MakeXYWH(random->nextRangeU(0, textures[texIdx]->width()), 647 random->nextRangeU(0, textures[texIdx]->height()), 648 random->nextRangeU(0, textures[texIdx]->width()), 649 random->nextRangeU(0, textures[texIdx]->height())); 650 TileMode tileMode = static_cast<TileMode>(random->nextRangeU(0, 2));
|
/external/skia/src/effects/ |
SkMatrixConvolutionImageFilter.cpp | 635 int width = random->nextRangeU(1, MAX_KERNEL_SIZE); 636 int height = random->nextRangeU(1, MAX_KERNEL_SIZE / width); 644 SkIPoint kernelOffset = SkIPoint::Make(random->nextRangeU(0, kernelSize.width()), 645 random->nextRangeU(0, kernelSize.height())); 646 SkIRect bounds = SkIRect::MakeXYWH(random->nextRangeU(0, textures[texIdx]->width()), 647 random->nextRangeU(0, textures[texIdx]->height()), 648 random->nextRangeU(0, textures[texIdx]->width()), 649 random->nextRangeU(0, textures[texIdx]->height())); 650 TileMode tileMode = static_cast<TileMode>(random->nextRangeU(0, 2));
|
/external/chromium_org/third_party/skia/gm/ |
variedtext.cpp | 69 int length = random.nextRangeU(kMinLength, kMaxLength); 72 text[j] = (char)random.nextRangeU('!', 'z');
|
/external/skia/gm/ |
variedtext.cpp | 69 int length = random.nextRangeU(kMinLength, kMaxLength); 72 text[j] = (char)random.nextRangeU('!', 'z');
|