Home
last modified time | relevance | path

Searched refs:bitmapHeight_ (Results 1 – 25 of 36) sorted by relevance

12

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/interface/
H A Dpath_test.cpp58 float t = rand.nextULessThan(bitmapHeight_); in OnTestPerformance()
135 y = rand.nextULessThan(bitmapHeight_); in OnTestPerformance()
291 int b = ((t + 100) > bitmapHeight_) ? bitmapHeight_ : (t + 100); // 100 用于高度计算 in OnTestPerformance()
317 int b = ((t + 100) > bitmapHeight_) ? bitmapHeight_ : (t + 100); // 100 用于高度计算 in OnTestPerformance()
340 rand.nextULessThan(bitmapHeight_)); in OnTestPerformance()
345 rand.nextULessThan(bitmapHeight_)); in OnTestPerformance()
419 rand.nextULessThan(bitmapHeight_)); in OnTestPerformance()
424 rand.nextULessThan(bitmapHeight_)); in OnTestPerformance()
454 t = rand.nextULessThan(bitmapHeight_); in OnTestPerformance()
476 t = rand.nextULessThan(bitmapHeight_); in OnTestPerformance()
[all …]
H A Dtext_blob_test.cpp53 t = rand.nextULessThan(bitmapHeight_); 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()
98 pt.y = rand.nextULessThan(bitmapHeight_); 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 …vasDrawTextBlob(canvas, blob, rand.nextULessThan(bitmapWidth_), rand.nextULessThan(bitmapHeight_)); in OnTestPerformance()
164 …vasDrawTextBlob(canvas, blob, rand.nextULessThan(bitmapWidth_), rand.nextULessThan(bitmapHeight_)); in OnTestPerformance()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/
H A Dtest_base.cpp70 OH_Drawing_Rect *rect = OH_Drawing_RectCreate(0, 0, bitmapWidth_, bitmapHeight_); in ClipCanvasToDrawSize()
167 OH_Drawing_BitmapBuild(bitmap_, bitmapWidth_, bitmapHeight_, &cFormat); in CreateBitmapCanvas()
184 imageInfo_ = {static_cast<int32_t>(bitmapWidth_), static_cast<int32_t>(bitmapHeight_), in CreateGpuCanvas()
204 OH_PixelmapInitializationOptions_SetHeight(createOps, bitmapHeight_); in BitmapCanvasToFile()
209 size_t bufferSize = bitmapWidth_ * bitmapHeight_ * 4; in BitmapCanvasToFile()
215 bitmapWidth_, bitmapHeight_); in BitmapCanvasToFile()
239 OH_PixelmapInitializationOptions_SetHeight(createOps, bitmapHeight_); in GpuCanvasToFile()
244 size_t bufferSize = bitmapWidth_ * bitmapHeight_ * 4; in GpuCanvasToFile()
249 dstPixels_ = malloc(bitmapWidth_ * bitmapHeight_ * 4); // 4 for rgba in GpuCanvasToFile()
269 …E("failed to CreatePixelMap width = %{public}u, height = %{public}u", bitmapWidth_, bitmapHeight_); in GpuCanvasToFile()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/
H A Dadd_arc.cpp54 bitmapHeight_ = 2 * R + 40; // 2 * R + 40高度 in AddArcMeas()
99 bitmapHeight_ = 1040; // 1040高度 in AddArc()
H A Ddashing.cpp75 bitmapHeight_ = K_H; in Dashing()
157 bitmapHeight_ = 480; // 480高度 in Dashing2()
214 bitmapHeight_ = 1100; // 1100高度 in Dashing4()
H A Dstroke_rect_shader.h29 bitmapHeight_ = K_H; in StrokeRectShader()
H A Dconvex_paths.h33 bitmapHeight_ = 1100; // 1100高度 in ConvexPaths()
H A Dalpha_image.cpp76 bitmapHeight_ = 256; // 256高度 in AlphaImage()
141 bitmapHeight_ = K_H; in AlphaImageAlphaTint()
H A Dlargeclippedpath.h30 bitmapHeight_ = defaultBitmapHeight; in LargeClippedPath()
H A Dconic_paths.h33 bitmapHeight_ = 960; // 960高度 in ConicPaths()
H A Danisotropic.h38 bitmapHeight_ = kNumVertImages * kImageSize + (kNumVertImages + 1) * kSpacer; // 1高度 in Anisotropic()
H A Dnewsurface.cpp44 bitmapHeight_ = K_H; in NewSurfaceGM()
H A Dskbug_8955.cpp35 bitmapHeight_ = K_H; in SkBug8955()
H A Dclipped_cubic.cpp29 bitmapHeight_ = K_H; in ClippedCubic()
H A Darcofzorro.cpp35 bitmapHeight_ = 1000; // height is 1000 in ArcOfZorro()
H A Donebadarc.cpp30 bitmapHeight_ = K_H; in OneBadArc()
H A Dfont_regen.cpp49 bitmapHeight_ = HEIGHT; in BadApple()
H A Dblur_circles.cpp30 bitmapHeight_ = 950; // 950高度 in BlurCircles()
H A Dblur_large_rrects.cpp32 bitmapHeight_ = 300; // 300高度 in BlurLargeRrects()
H A Dpoints_mask_filter.cpp39 bitmapHeight_ = K_H; in PointsMaskFilter()
H A Dpoints.cpp37 bitmapHeight_ = K_H; in Points()
H A Dbitmaprect.cpp68 bitmapHeight_ = K_H; in DrawBitmapRect4()
H A Dstrokes.cpp58 bitmapHeight_ = K_H * 2; // 2 画2倍的高度 in Strokes2()
H A Dalpha_gradients.cpp30 bitmapHeight_ = K_H; in AlphaGradients()
H A Dclip_cubic.cpp34 bitmapHeight_ = 410; // 410高度 in ClipCubic()

12