/test/testfwk/arkxtest/uitest/record/ |
H A D | size.h | 31 Size(double width, double height) : width_(width), height_(height) {} in Size() 55 return height_; in Height() 65 height_ = height; in SetHeight() 71 height_ = size.Height(); in SetSize() 81 return NearEqual(height_, INFINITE_SIZE); in IsHeightInfinite() 86 return NearEqual(width_, INFINITE_SIZE) || NearEqual(height_, INFINITE_SIZE); in IsInfinite() 91 return NearEqual(width_, ZERO) || NearEqual(height_, ZERO); in IsEmpty() 96 height_ += height; in AddHeight() 108 height_ -= height; in MinusHeight() 120 return width_ > ZERO && height_ > ZER in IsValid() 215 ss << height_; ToString() local 224 double height_ = 0.0; global() member in OHOS::uitest::Size [all...] |
/test/xts/acts/graphic/acts_drawing_native/ |
H A D | DrawingNativeBitmapTest.cpp | 110 uint32_t height_ = OH_Drawing_BitmapGetHeight(bitmap); in HWTEST_F() local 114 EXPECT_TRUE(height_ == height || height_ == 0); in HWTEST_F() 124 height_ = OH_Drawing_BitmapGetHeight(bitmap); in HWTEST_F() 126 EXPECT_TRUE(height_ == height || height_ == 0); in HWTEST_F() 274 uint32_t height_ = OH_Drawing_BitmapGetHeight(bitmap); in HWTEST_F() local 278 EXPECT_TRUE(height_ == height || height_ == 0); in HWTEST_F() 288 height_ in HWTEST_F() 336 uint32_t height_ = OH_Drawing_BitmapGetHeight(bitmap); HWTEST_F() local [all...] |
H A D | DrawingNativeImageTest.cpp | 196 int32_t height_ = OH_Drawing_ImageGetHeight(image); in HWTEST_F() local 197 EXPECT_EQ(height_, 200); in HWTEST_F() 246 int32_t height_ = OH_Drawing_ImageGetHeight(image); in HWTEST_F() local 247 EXPECT_EQ(height_, 200 + i * 10); in HWTEST_F() 274 int32_t height_ = OH_Drawing_ImageGetHeight(image); in HWTEST_F() local 275 EXPECT_EQ(height_, 2160); in HWTEST_F()
|
/test/xts/hats/distributedhardware/distributedcameratest_additional/ |
H A D | dcameraprovidercase.cpp | 104 streamInfo1.height_ = TEST_HEIGTH; in SetUpTestCase() 118 captureInfo1.height_ = TEST_HEIGTH; in SetUpTestCase() 511 streamInfo2.height_ = TEST_HEIGTH; in HWTEST_F() 534 streamInfo2.height_ = TEST_HEIGTH; in HWTEST_F() 557 streamInfo2.height_ = TEST_HEIGTH; in HWTEST_F() 581 streamInfo2.height_ = TEST_HEIGTH; in HWTEST_F() 605 streamInfo2.height_ = TEST_HEIGTH; in HWTEST_F() 629 streamInfo2.height_ = TEST_HEIGTH; in HWTEST_F() 653 streamInfo2.height_ = TEST_HEIGTH; in HWTEST_F() 676 streamInfo2.height_ in HWTEST_F() [all...] |
/test/xts/hats/distributedhardware/distributedcameratest/ |
H A D | dcameraprovidercase.cpp | 103 streamInfo1.height_ = TEST_HEIGTH;
in SetUpTestCase() 117 captureInfo1.height_ = TEST_HEIGTH;
in SetUpTestCase() 327 streamInfo2.height_ = TEST_HEIGTH;
in HWTEST_F() 342 streamInfo3.height_ = TEST_HEIGTH;
in HWTEST_F() 357 streamInfo4.height_ = TEST_HEIGTH;
in HWTEST_F() 372 streamInfo5.height_ = TEST_HEIGTH;
in HWTEST_F() 387 captureInfo2.height_ = TEST_HEIGTH;
in HWTEST_F() 402 captureInfo3.height_ = TEST_HEIGTH;
in HWTEST_F()
|
/test/xts/hats/hdf/camera/cameraMg/v1_0/src/ |
H A D | hdi_stream_uttest.cpp | 58 cameraTest->streamInfo->height_ = 480;
in HWTEST_F() 100 cameraTest->streamInfo->height_ = 480;
in HWTEST_F() 140 cameraTest->streamInfo->height_ = 480;
in HWTEST_F() 175 cameraTest->streamInfo->height_ = 480;
in HWTEST_F() 213 cameraTest->streamInfo->height_ = 640;
in HWTEST_F() 248 cameraTest->streamInfo->height_ = 640;
in HWTEST_F() 287 cameraTest->streamInfo->height_ = -1;
in HWTEST_F() 323 cameraTest->streamInfo->height_ = 2147483647;
in HWTEST_F() 362 cameraTest->streamInfo->height_ = 1080;
in HWTEST_F() 401 cameraTest->streamInfo->height_ in HWTEST_F() [all...] |
H A D | common.cpp | 171 streamInfoPre->height_ = previewHeight;
in StartStream() 186 streamInfoVideo->height_ = videoHeight;
in StartStream() 202 streamInfoAnalyze->height_ = analyzeHeight;
in StartStream() 235 streamInfoCapture->height_ = analyzeHeight;
in StartStream()
|
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/napi/ |
H A D | image_receiver_module_test.cpp | 73 height_ = height; in CreateImageReceiver() 75 Image_Size size = { width_, height_ }; in CreateImageReceiver() 213 if (size.width != width_ || size.height != height_) { in VerifyImageReceiver() 216 width_, height_, size.width, size.height); in VerifyImageReceiver() 300 if (width == width_ && height == height_ && capacity == capacity_) { in ReuseSameRecevier() 318 if (size.width != width_ || size.height != height_) { in VerifyImageReceiverOptions() 321 width_, height_, size.width, size.height); in VerifyImageReceiverOptions()
|
/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/render/ |
H A D | egl_core.cpp | 71 height_ = h; in GLContextInit() 133 glViewport(0, 0, width_, height_); in DrawTriangle() 167 glViewport(0, 0, width_, height_); in ChangeShape() 199 glViewport(0, 0, width_, height_); in ChangeColor()
|
H A D | plugin_render.cpp | 177 int32_t ret = OH_NativeXComponent_GetXComponentSize(component, window, &width_, &height_); in OnSurfaceCreated() 181 eglCore_->GLContextInit(window, width_, height_); in OnSurfaceCreated() 183 xcHeight_ = height_; in OnSurfaceCreated() 196 int32_t ret = OH_NativeXComponent_GetXComponentSize(component, window, &width_, &height_); in OnSurfaceChanged() 199 xcHeight_ = height_; in OnSurfaceChanged()
|
H A D | egl_core.h | 36 int height_; member in EGLCore
|
/test/xts/hats/hdf/camera/cameraHdi/v4l2/src/ |
H A D | camera_preview_test.cpp | 87 streamInfo.height_ = 480; // 480:picture height in HWTEST_F() 206 streamInfo.height_ = 480; // 480:picture height in HWTEST_F() 260 streamInfo.height_ = 480; // 480:picture height in HWTEST_F() 303 streamInfo.height_ = 480; // 480:picture height in HWTEST_F() 357 streamInfo.height_ = 480; // 480:picture height in HWTEST_F() 401 streamInfo.height_ = -1; in HWTEST_F() 444 streamInfo.height_ = 480; // 480:picture height in HWTEST_F() 488 streamInfo.height_ = 480; // 480:picture height in HWTEST_F() 617 streamInfo.height_ = 480; // 480:picture height in HWTEST_F() 672 streamInfo.height_ in HWTEST_F() [all...] |
H A D | camera_video_test.cpp | 45 streamInfo.height_ = PREVIEW_HEIGHT; in SetStreamInfo() 48 streamInfo.height_ = HEIGHT; in SetStreamInfo() 52 streamInfo.height_ = HEIGHT; in SetStreamInfo() 537 display_->streamInfo.height_ = 960; // 960:picture height in HWTEST_F()
|
H A D | test_display.cpp | 107 streamInfo.height_ = hight; // 240:picture height in StartStreamUpdate() 554 streamInfoPre.height_ = PREVIEW_HEIGHT; // 480:picture height in StartStream() 571 streamInfoVideo.height_ = VIDEO_HEIGHT; // 960:picture height in StartStream() 589 streamInfoCapture.height_ = CAPTURE_HEIGHT; // 960:picture height in StartStream() 607 streamInfoAnalyze.height_ = ANALYZE_HEIGHT; // 480:picture height in StartStream()
|
/test/xts/hats/hdf/camera/cameraMg_additional/v1_0/src/ |
H A D | hdi_stream_uttest.cpp | 159 cameraTest->streamInfo->height_ = 480;
in HWTEST_F() 209 cameraTest->streamInfo->height_ = 480;
in HWTEST_F() 255 cameraTest->streamInfo->height_ = 480;
in HWTEST_F() 305 cameraTest->streamInfo->height_ = 480;
in HWTEST_F() 351 cameraTest->streamInfo->height_ = 480;
in HWTEST_F() 401 cameraTest->streamInfo->height_ = 480;
in HWTEST_F() 447 cameraTest->streamInfo->height_ = -1;
in HWTEST_F() 497 cameraTest->streamInfo->height_ = 2147483647;
in HWTEST_F() 545 cameraTest->streamInfo->height_ = 2147483647;
in HWTEST_F() 591 cameraTest->streamInfo->height_ in HWTEST_F() [all...] |
H A D | common.cpp | 151 streamInfoPre->height_ = previewHeight;
in StartStream() 166 streamInfoVideo->height_ = videoHeight;
in StartStream() 182 streamInfoAnalyze->height_ = analyzeHeight;
in StartStream() 215 streamInfoCapture->height_ = analyzeHeight;
in StartStream()
|
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_0/src/ |
H A D | hdf_camera_benchmark_test.cpp | 167 streamInfoPre->height_ = cameraTest->previewHeight;
in BENCHMARK_F() 207 streamInfoPre->height_ = cameraTest->previewHeight;
in BENCHMARK_F() 449 cameraTest->streamInfo->height_ = 480;
in BENCHMARK_F() 494 cameraTest->streamInfo->height_ = 480; // Pixel height
in BENCHMARK_F() 512 cameraTest->streamInfoSnapshot->height_ = 480; // Pixel height
in BENCHMARK_F() 573 cameraTest->streamInfo->height_ = 480; // Pixel height
in BENCHMARK_F() 591 cameraTest->streamInfoSnapshot->height_ = 480; // Pixel height
in BENCHMARK_F() 652 cameraTest->streamInfo->height_ = 480;
in BENCHMARK_F() 669 cameraTest->streamInfoSnapshot->height_ = 480;
in BENCHMARK_F() 742 cameraTest->streamInfo->height_ in BENCHMARK_F() [all...] |
H A D | benchmark_common.cpp | 145 streamInfoPre->height_ = previewHeight; in StartStream() 160 streamInfoVideo->height_ = videoHeight; in StartStream() 176 streamInfoAnalyze->height_ = analyzeHeight; in StartStream() 209 streamInfoCapture->height_ = analyzeHeight; in StartStream()
|
/test/xts/hats/hdf/camera/cameraHdi/buffer_manager/ |
H A D | buffer_manager_utest.cpp | 410 rc = bufferPool_->Init(width_, height_, usage_, format_, queueSize_, CAMERA_BUFFER_SOURCE_TYPE_HEAP); in Init() 418 producer_->SetWidthAndHeight(width_, height_); in Init() 421 rc = bufferPool_->Init(width_, height_, usage_, format_, queueSize_, CAMERA_BUFFER_SOURCE_TYPE_EXTERNAL); in Init() 447 rc = bufferPool_->Init(width_, height_, usage_, format_, queueSize_, CAMERA_BUFFER_SOURCE_TYPE_HEAP); 458 requestConfig_.height = static_cast<int32_t>(height_); 466 flushConfig_.damage.h = height_; 468 rc = bufferPool_->Init(width_, height_, usage_, format_, queueSize_, CAMERA_BUFFER_SOURCE_TYPE_EXTERNAL);
|
/test/xts/hats/hdf/camera/cameraMg/v1_1/src/ |
H A D | hdi_common_v1_1.cpp | 154 infos->v1_0.height_ = previewHeight;
in DefaultPreview() 166 infos->v1_0.height_ = captureHeight;
in DefaultCapture() 204 infos->v1_0.height_ = videoHeight;
in DefaultInfosVideo() 223 infos->v1_0.height_ = analyzeHeight;
in DefaultInfosAnalyze()
|
/test/xts/hats/hdf/camera/cameraMg_additional/v1_1/src/ |
H A D | hdi_common_v1_1.cpp | 154 infos->v1_0.height_ = previewHeight; in DefaultPreview() 166 infos->v1_0.height_ = captureHeight; in DefaultCapture() 202 infos->v1_0.height_ = videoHeight; in DefaultInfosVideo() 221 infos->v1_0.height_ = analyzeHeight; in DefaultInfosAnalyze()
|
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_1/src/ |
H A D | benchmark_common.cpp | 170 streamInfoPre->v1_0.height_ = previewHeight; in StartStream() 185 streamInfoVideo->v1_0.height_ = videoHeight; in StartStream() 201 streamInfoAnalyze->v1_0.height_ = analyzeHeight; in StartStream() 235 streamInfoCapture->v1_0.height_ = analyzeHeight; in StartStream()
|
/test/xts/hats/hdf/camera/cameraMg/v1_3/src/ |
H A D | hdi_common_v1_3.cpp | 199 infos->v1_0.height_ = previewHeight;
in DefaultPreview() 211 infos->v1_0.height_ = captureHeight;
in DefaultCapture() 230 cameraTest->streamInfoPre->v1_0.height_ = STREAMINFO_HEIGHT;
in CreateAndCommitStreamsForHighFrameRate() 236 cameraTest->streamInfoVideo->v1_0.height_ = STREAMINFO_HEIGHT;
in CreateAndCommitStreamsForHighFrameRate() 259 cameraTest->streamInfoPre->v1_0.height_ = STREAMINFO_HEIGHT;
in CreateAndCommitStreamsForSlowMotion() 265 cameraTest->streamInfoVideo->v1_0.height_ = STREAMINFO_HEIGHT;
in CreateAndCommitStreamsForSlowMotion() 348 cameraTest->streamInfoCapture->v1_0.height_ = HIGH_RESOLUTION_PHOTO_HEIGHT;
in startStreamForHighResolutionPhoto() 422 infos->v1_0.height_ = sketchHeight;
in DefaultSketch() 493 infos->v1_0.height_ = videoHeight;
in DefaultInfosVideo() 512 infos->v1_0.height_ in DefaultInfosAnalyze() [all...] |
/test/xts/dcts/distributedhardware/distributedscreentest/ |
H A D | decoder_demo.cpp | 82 format.PutIntValue("height", height_); in RunCase() 185 height_ = height; in SetWindowSize()
|
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_2/src/ |
H A D | camera_benchmark_test.cpp | 123 cameraTest->streamInfoV1_1->v1_0.height_ = 1080; in BENCHMARK_F() 133 cameraTest->streamInfoCapture->v1_0.height_ = 1080; in BENCHMARK_F()
|