HomeSort by relevance Sort by last modified time
    Searched refs:nextRangeScalar (Results 1 - 25 of 42) sorted by null

1 2

  /external/chromium_org/third_party/skia/bench/
RectoriBench.cpp 31 SkScalar blurSigma = Random.nextRangeScalar(1.5f, 25.0f);
32 SkScalar size = Random.nextRangeScalar(20*blurSigma, 50*blurSigma);
34 SkScalar x = Random.nextRangeScalar(0.0f, W - size);
35 SkScalar y = Random.nextRangeScalar(0.0f, H - size);
XfermodeBench.cpp 41 SkScalar w = random.nextRangeScalar(SkIntToScalar(kMinSize), SkIntToScalar(kMaxSize));
42 SkScalar h = random.nextRangeScalar(SkIntToScalar(kMinSize), SkIntToScalar(kMaxSize));
GameBench.cpp 173 fSaved[fNumSaved][0] = transRand.nextRangeScalar(0.0f, maxTransX);
174 fSaved[fNumSaved][1] = transRand.nextRangeScalar(0.0f, maxTransY);
184 fSaved[fNumSaved][2] = scaleRand.nextRangeScalar(0.5f, 1.5f);
187 fSaved[fNumSaved][2] = rotRand.nextRangeScalar(0.0f, 360.0f);
PathBench.cpp 245 fPoints[i].set(fRandom.nextRangeScalar(bounds->fLeft, bounds->fRight),
246 fRandom.nextRangeScalar(bounds->fTop, bounds->fBottom));
779 size.fWidth = rand.nextRangeScalar(kQueryMin.fWidth, kQueryMax.fWidth);
780 size.fHeight = rand.nextRangeScalar(kQueryMin.fHeight, kQueryMax.fHeight);
781 xy.fX = rand.nextRangeScalar(kBounds.fLeft, kBounds.fRight - size.fWidth);
782 xy.fY = rand.nextRangeScalar(kBounds.fTop, kBounds.fBottom - size.fHeight);
  /external/skia/bench/
RectoriBench.cpp 31 SkScalar blurSigma = Random.nextRangeScalar(1.5f, 25.0f);
32 SkScalar size = Random.nextRangeScalar(20*blurSigma, 50*blurSigma);
34 SkScalar x = Random.nextRangeScalar(0.0f, W - size);
35 SkScalar y = Random.nextRangeScalar(0.0f, H - size);
XfermodeBench.cpp 41 SkScalar w = random.nextRangeScalar(SkIntToScalar(kMinSize), SkIntToScalar(kMaxSize));
42 SkScalar h = random.nextRangeScalar(SkIntToScalar(kMinSize), SkIntToScalar(kMaxSize));
GameBench.cpp 173 fSaved[fNumSaved][0] = transRand.nextRangeScalar(0.0f, maxTransX);
174 fSaved[fNumSaved][1] = transRand.nextRangeScalar(0.0f, maxTransY);
184 fSaved[fNumSaved][2] = scaleRand.nextRangeScalar(0.5f, 1.5f);
187 fSaved[fNumSaved][2] = rotRand.nextRangeScalar(0.0f, 360.0f);
  /external/chromium_org/third_party/skia/gm/
mixedxfermodes.cpp 104 SkScalar s = random.nextRangeScalar(SK_Scalar1 / 8, SK_Scalar1) * maxScale;
105 SkScalar r = random.nextRangeScalar(0, SkIntToScalar(360));
106 SkScalar dx = random.nextRangeScalar(0, SkIntToScalar(size.fWidth));
107 SkScalar dy = random.nextRangeScalar(0, SkIntToScalar(size.fHeight));
imageblur.cpp 51 textPaint.setTextSize(rand.nextRangeScalar(0, 300));
imagemagnifier.cpp 53 paint.setTextSize(rand.nextRangeScalar(0, 300));
variedtext.cpp 82 fPtSizes[i] = random.nextRangeScalar(kMinPtSize, kMaxPtSize);
101 fPositions[i].fX = random.nextRangeScalar(safeRect.fLeft, safeRect.fRight);
102 fPositions[i].fY = random.nextRangeScalar(safeRect.fTop, safeRect.fBottom);
  /external/skia/gm/
mixedxfermodes.cpp 104 SkScalar s = random.nextRangeScalar(SK_Scalar1 / 8, SK_Scalar1) * maxScale;
105 SkScalar r = random.nextRangeScalar(0, SkIntToScalar(360));
106 SkScalar dx = random.nextRangeScalar(0, SkIntToScalar(size.fWidth));
107 SkScalar dy = random.nextRangeScalar(0, SkIntToScalar(size.fHeight));
imageblur.cpp 51 textPaint.setTextSize(rand.nextRangeScalar(0, 300));
imagemagnifier.cpp 53 paint.setTextSize(rand.nextRangeScalar(0, 300));
variedtext.cpp 82 fPtSizes[i] = random.nextRangeScalar(kMinPtSize, kMaxPtSize);
101 fPositions[i].fX = random.nextRangeScalar(safeRect.fLeft, safeRect.fRight);
102 fPositions[i].fY = random.nextRangeScalar(safeRect.fTop, safeRect.fBottom);
  /external/chromium_org/third_party/skia/experimental/nanomsg/
picture_demo.cpp 86 SkScalar r = rand.nextRangeScalar(0, picture->width()),
87 b = rand.nextRangeScalar(0, picture->height()),
88 l = rand.nextRangeScalar(0, r),
89 t = rand.nextRangeScalar(0, b);
92 header.matrix.postRotate(rand.nextRangeScalar(-25, 25));
  /external/skia/experimental/nanomsg/
picture_demo.cpp 86 SkScalar r = rand.nextRangeScalar(0, picture->width()),
87 b = rand.nextRangeScalar(0, picture->height()),
88 l = rand.nextRangeScalar(0, r),
89 t = rand.nextRangeScalar(0, b);
92 header.matrix.postRotate(rand.nextRangeScalar(-25, 25));
  /external/chromium_org/third_party/skia/include/utils/
SkRandom.h 103 SkScalar nextRangeScalar(SkScalar min, SkScalar max) {
257 SkScalar nextRangeScalar(SkScalar min, SkScalar max) {
  /external/skia/include/utils/
SkRandom.h 103 SkScalar nextRangeScalar(SkScalar min, SkScalar max) {
257 SkScalar nextRangeScalar(SkScalar min, SkScalar max) {
  /external/chromium_org/third_party/skia/src/gpu/effects/
GrOvalEffect.cpp 89 center.fX = random->nextRangeScalar(0.f, 1000.f);
90 center.fY = random->nextRangeScalar(0.f, 1000.f);
261 center.fX = random->nextRangeScalar(0.f, 1000.f);
262 center.fY = random->nextRangeScalar(0.f, 1000.f);
GrDashingEffect.cpp 610 SkScalar strokeWidth = random->nextRangeScalar(0, 100.f);
615 info.fIntervals[0] = random->nextRangeScalar(0, 10.f);
616 info.fIntervals[1] = random->nextRangeScalar(0, 10.f);
617 info.fPhase = random->nextRangeScalar(0, info.fIntervals[0] + info.fIntervals[1]);
GrTextureDomain.cpp 266 domain.fRight = random->nextRangeScalar(domain.fLeft, SK_Scalar1);
268 domain.fBottom = random->nextRangeScalar(domain.fTop, SK_Scalar1);
  /external/skia/src/gpu/effects/
GrOvalEffect.cpp 89 center.fX = random->nextRangeScalar(0.f, 1000.f);
90 center.fY = random->nextRangeScalar(0.f, 1000.f);
261 center.fX = random->nextRangeScalar(0.f, 1000.f);
262 center.fY = random->nextRangeScalar(0.f, 1000.f);
GrDashingEffect.cpp 610 SkScalar strokeWidth = random->nextRangeScalar(0, 100.f);
615 info.fIntervals[0] = random->nextRangeScalar(0, 10.f);
616 info.fIntervals[1] = random->nextRangeScalar(0, 10.f);
617 info.fPhase = random->nextRangeScalar(0, info.fIntervals[0] + info.fIntervals[1]);
GrTextureDomain.cpp 266 domain.fRight = random->nextRangeScalar(domain.fLeft, SK_Scalar1);
268 domain.fBottom = random->nextRangeScalar(domain.fTop, SK_Scalar1);

Completed in 1444 milliseconds

1 2