Home
last modified time | relevance | path

Searched refs:bitmapWidth_ (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.cpp134 x = rand.nextULessThan(bitmapWidth_); in OnTestPerformance()
288 int l = i % bitmapWidth_; in OnTestPerformance()
290 int r = ((l + 100) > bitmapWidth_) ? bitmapWidth_ : (l + 100); // 100 用于宽度计算 in OnTestPerformance()
314 int l = i % bitmapWidth_; in OnTestPerformance()
316 int r = ((l + 100) > bitmapWidth_) ? bitmapWidth_ : (l + 100); // 100 用于宽度计算 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()
418 …rand.nextULessThan(bitmapWidth_), rand.nextULessThan(bitmapHeight_), rand.nextULessThan(bitmapWidt… in OnTestPerformance()
423 …rand.nextULessThan(bitmapWidth_), rand.nextULessThan(bitmapHeight_), rand.nextULessThan(bitmapWidt… in OnTestPerformance()
453 l = rand.nextULessThan(bitmapWidth_); in OnTestPerformance()
[all …]
H A Dtext_blob_test.cpp52 l = rand.nextULessThan(bitmapWidth_); in OnTestPerformance()
54 r = l + rand.nextULessThan(bitmapWidth_); 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()
164 …OH_Drawing_CanvasDrawTextBlob(canvas, blob, rand.nextULessThan(bitmapWidth_), rand.nextULessThan(b… 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()
203 OH_PixelmapInitializationOptions_SetWidth(createOps, bitmapWidth_); in BitmapCanvasToFile()
209 size_t bufferSize = bitmapWidth_ * bitmapHeight_ * 4; in BitmapCanvasToFile()
215 bitmapWidth_, bitmapHeight_); in BitmapCanvasToFile()
238 OH_PixelmapInitializationOptions_SetWidth(createOps, bitmapWidth_); in GpuCanvasToFile()
244 size_t bufferSize = bitmapWidth_ * bitmapHeight_ * 4; in GpuCanvasToFile()
249 dstPixels_ = malloc(bitmapWidth_ * bitmapHeight_ * 4); // 4 for rgba in GpuCanvasToFile()
264 …bitmap_ = OH_Drawing_BitmapCreateFromPixels(&imageInfo_, dstPixels_, 4 * bitmapWidth_); // 4 for r… in GpuCanvasToFile()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/
H A Dadd_arc.cpp53 bitmapWidth_ = 2 * R + 40; // 2 * R + 40宽度 in AddArcMeas()
98 bitmapWidth_ = 1040; // 1040宽度 in AddArc()
H A Ddashing.cpp74 bitmapWidth_ = K_W; in Dashing()
156 bitmapWidth_ = 640; // 640宽度 in Dashing2()
213 bitmapWidth_ = 640; // 640宽度 in Dashing4()
H A Dstroke_rect_shader.h28 bitmapWidth_ = K_W; in StrokeRectShader()
H A Dconvex_paths.h32 bitmapWidth_ = 1200; // 1200宽度 in ConvexPaths()
H A Dalpha_image.cpp75 bitmapWidth_ = 256; // 256宽度 in AlphaImage()
140 bitmapWidth_ = K_W; in AlphaImageAlphaTint()
H A Dlargeclippedpath.h29 bitmapWidth_ = defaultBitmapWidth; in LargeClippedPath()
H A Dconic_paths.h32 bitmapWidth_ = 920; // 920宽度 in ConicPaths()
H A Danisotropic.h37 bitmapWidth_ = 2 * kImageSize + 3 * kSpacer; // 2,3宽度 in Anisotropic()
H A Dnewsurface.cpp43 bitmapWidth_ = K_W; in NewSurfaceGM()
H A Dskbug_8955.cpp34 bitmapWidth_ = K_W; in SkBug8955()
H A Dclipped_cubic.cpp28 bitmapWidth_ = K_W; in ClippedCubic()
H A Darcofzorro.cpp34 bitmapWidth_ = 1000; // width is 1000 in ArcOfZorro()
H A Donebadarc.cpp29 bitmapWidth_ = K_W; in OneBadArc()
H A Dfont_regen.cpp48 bitmapWidth_ = WIDTH; in BadApple()
H A Dblur_circles.cpp29 bitmapWidth_ = 950; // 950宽度 in BlurCircles()
H A Dblur_large_rrects.cpp31 bitmapWidth_ = 300; // 300宽度 in BlurLargeRrects()
H A Dpoints_mask_filter.cpp38 bitmapWidth_ = K_W; in PointsMaskFilter()
H A Dpoints.cpp36 bitmapWidth_ = K_W; in Points()
H A Dbitmaprect.cpp67 bitmapWidth_ = K_W; in DrawBitmapRect4()
H A Dstrokes.cpp57 bitmapWidth_ = K_W; in Strokes2()
H A Dalpha_gradients.cpp29 bitmapWidth_ = K_W; in AlphaGradients()
H A Dclip_cubic.cpp33 bitmapWidth_ = 400; // 400宽度 in ClipCubic()

12