Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/interface/
H A Dpath_test.cpp40 … OH_Drawing_PathMoveTo(path, rand.nextULessThan(bitmapWidth_), rand.nextULessThan(bitmapHeight_)); in OnTestPerformance()
43 … rand.nextULessThan(360), rand.nextULessThan(bitmapWidth_), rand.nextULessThan(bitmapHeight_)); in OnTestPerformance()
339 …rand.nextULessThan(bitmapWidth_), rand.nextULessThan(bitmapHeight_), rand.nextULessThan(bitmapWidt… in OnTestPerformance()
344 …rand.nextULessThan(bitmapWidth_), rand.nextULessThan(bitmapHeight_), rand.nextULessThan(bitmapWidt… in OnTestPerformance()
384 rand.nextULessThan(bitmapWidth_), rand.nextULessThan(bitmapHeight_)); in OnTestPerformance()
388 rand.nextULessThan(bitmapWidth_), rand.nextULessThan(bitmapHeight_)); in OnTestPerformance()
400 rand.nextULessThan(bitmapWidth_), rand.nextULessThan(bitmapHeight_), in OnTestPerformance()
405 rand.nextULessThan(bitmapWidth_), rand.nextULessThan(bitmapHeight_), in OnTestPerformance()
418 …rand.nextULessThan(bitmapWidth_), rand.nextULessThan(bitmapHeight_), rand.nextULessThan(bitmapWidt… in OnTestPerformance()
423 …rand.nextULessThan(bitmapWidth_), rand.nextULessThan(bitmapHeight_), rand.nextULessThan(bitmapWidt… in OnTestPerformance()
[all …]
H A Dtext_blob_test.cpp52 l = rand.nextULessThan(bitmapWidth_); in OnTestPerformance()
53 t = rand.nextULessThan(bitmapHeight_); in OnTestPerformance()
54 r = l + rand.nextULessThan(bitmapWidth_); in OnTestPerformance()
55 b = t + rand.nextULessThan(bitmapHeight_); in OnTestPerformance()
66 canvas, blob, rand.nextULessThan(bitmapWidth_), rand.nextULessThan(bitmapHeight_)); in OnTestPerformance()
83 canvas, blob, rand.nextULessThan(bitmapWidth_), rand.nextULessThan(bitmapHeight_)); in OnTestPerformance()
97 pt.x = rand.nextULessThan(bitmapWidth_); in OnTestPerformance()
102 canvas, blob, rand.nextULessThan(bitmapWidth_), rand.nextULessThan(bitmapHeight_)); in OnTestPerformance()
117 canvas, blob, rand.nextULessThan(bitmapWidth_), rand.nextULessThan(bitmapHeight_)); in OnTestPerformance()
130 …OH_Drawing_CanvasDrawTextBlob(canvas, blob, rand.nextULessThan(bitmapWidth_), rand.nextULessThan(b… in OnTestPerformance()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ets/ets/testcase/interface/
H A Dpathtest.ts118 path.moveTo(rand.nextULessThan(this.width_), rand.nextULessThan(this.height_));
119 path.lineTo(rand.nextULessThan(this.width_), rand.nextULessThan(this.height_));
120 path.lineTo(rand.nextULessThan(this.width_), rand.nextULessThan(this.height_));
124 path.moveTo(rand.nextULessThan(this.width_), rand.nextULessThan(this.height_));
125 path.lineTo(rand.nextULessThan(this.width_), rand.nextULessThan(this.height_));
126 path.lineTo(rand.nextULessThan(this.width_), rand.nextULessThan(this.height_));
175 let isNeedClose = rand.nextULessThan(2);
234 path.moveTo(rand.nextULessThan(this.width_), rand.nextULessThan(this.height_));
235 path.lineTo(rand.nextULessThan(this.width_), rand.nextULessThan(this.height_));
236 path.lineTo(rand.nextULessThan(this.width_), rand.nextULessThan(this.height_));
[all …]
H A Dtextblobtest.ts41 let l: number = rand.nextULessThan(this.width_);
42 let t: number = rand.nextULessThan(this.height_);
43 let r: number = l + rand.nextULessThan(this.width_);
44 let b: number = l + rand.nextULessThan(this.height_);
58 … canvas.drawTextBlob(textBlob, rand.nextULessThan(this.width_),rand.nextULessThan(this.height_));
79 …canvas.drawTextBlob(textBlob, this.rand_.nextULessThan(this.width_),this.rand_.nextULessThan(this.…
100 … canvas.drawTextBlob(textBlob, rand.nextULessThan(this.width_),rand.nextULessThan(this.height_));
129 …anvas.drawTextBlob(this.getTextBlob(), this.rand_.nextULessThan(this.width_), this.rand_.nextULess…
H A Dpentest.ts38 let xMove: number = rand.nextULessThan(this.width_);
39 let yMove: number = rand.nextULessThan(this.height_);
40 let xLineTo: number = rand.nextULessThan(this.width_);
41 let yLineTo: number = rand.nextULessThan(this.height_);
H A Droundrecttest.ts35 this.x_ = this.rand_.nextULessThan(10);
36 this.y_ = this.rand_.nextULessThan(10);
37 this.dx_ = this.rand_.nextULessThan(100);
38 this.dy_ = this.rand_.nextULessThan(100);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/
H A Dtest_common.h45 uint32_t nextULessThan(uint32_t count);
H A Dtest_common.cpp62 uint32_t TestRend::nextULessThan(uint32_t count) in nextULessThan() function in TestRend
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ets/ets/utils/
H A DOHRandom.ts116 public nextULessThan(count: number) {