/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/interface/ |
H A D | path_test.cpp | 58 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 D | text_blob_test.cpp | 53 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 D | test_base.cpp | 70 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 D | add_arc.cpp | 54 bitmapHeight_ = 2 * R + 40; // 2 * R + 40高度 in AddArcMeas() 99 bitmapHeight_ = 1040; // 1040高度 in AddArc()
|
H A D | dashing.cpp | 75 bitmapHeight_ = K_H; in Dashing() 157 bitmapHeight_ = 480; // 480高度 in Dashing2() 214 bitmapHeight_ = 1100; // 1100高度 in Dashing4()
|
H A D | stroke_rect_shader.h | 29 bitmapHeight_ = K_H; in StrokeRectShader()
|
H A D | convex_paths.h | 33 bitmapHeight_ = 1100; // 1100高度 in ConvexPaths()
|
H A D | alpha_image.cpp | 76 bitmapHeight_ = 256; // 256高度 in AlphaImage() 141 bitmapHeight_ = K_H; in AlphaImageAlphaTint()
|
H A D | largeclippedpath.h | 30 bitmapHeight_ = defaultBitmapHeight; in LargeClippedPath()
|
H A D | conic_paths.h | 33 bitmapHeight_ = 960; // 960高度 in ConicPaths()
|
H A D | anisotropic.h | 38 bitmapHeight_ = kNumVertImages * kImageSize + (kNumVertImages + 1) * kSpacer; // 1高度 in Anisotropic()
|
H A D | newsurface.cpp | 44 bitmapHeight_ = K_H; in NewSurfaceGM()
|
H A D | skbug_8955.cpp | 35 bitmapHeight_ = K_H; in SkBug8955()
|
H A D | clipped_cubic.cpp | 29 bitmapHeight_ = K_H; in ClippedCubic()
|
H A D | arcofzorro.cpp | 35 bitmapHeight_ = 1000; // height is 1000 in ArcOfZorro()
|
H A D | onebadarc.cpp | 30 bitmapHeight_ = K_H; in OneBadArc()
|
H A D | font_regen.cpp | 49 bitmapHeight_ = HEIGHT; in BadApple()
|
H A D | blur_circles.cpp | 30 bitmapHeight_ = 950; // 950高度 in BlurCircles()
|
H A D | blur_large_rrects.cpp | 32 bitmapHeight_ = 300; // 300高度 in BlurLargeRrects()
|
H A D | points_mask_filter.cpp | 39 bitmapHeight_ = K_H; in PointsMaskFilter()
|
H A D | points.cpp | 37 bitmapHeight_ = K_H; in Points()
|
H A D | bitmaprect.cpp | 68 bitmapHeight_ = K_H; in DrawBitmapRect4()
|
H A D | strokes.cpp | 58 bitmapHeight_ = K_H * 2; // 2 画2倍的高度 in Strokes2()
|
H A D | alpha_gradients.cpp | 30 bitmapHeight_ = K_H; in AlphaGradients()
|
H A D | clip_cubic.cpp | 34 bitmapHeight_ = 410; // 410高度 in ClipCubic()
|