Home
last modified time | relevance | path

Searched refs:width_ (Results 1 – 25 of 29) sorted by relevance

12

/test/testfwk/arkxtest/uitest/record/
Dsize.h31 Size(double width, double height) : width_(width), height_(height) {} in Size()
50 return width_; in Width()
60 width_ = width; in SetWidth()
70 width_ = size.Width(); in SetSize()
76 return NearEqual(width_, INFINITE_SIZE); in IsWidthInfinite()
86 return NearEqual(width_, INFINITE_SIZE) || NearEqual(height_, INFINITE_SIZE); in IsInfinite()
91 return NearEqual(width_, ZERO) || NearEqual(height_, ZERO); in IsEmpty()
102 width_ += value; in AddWidth()
114 width_ -= width; in MinusWidth()
120 return width_ > ZERO && height_ > ZERO; in IsValid()
[all …]
/test/xts/hats/distributedhardware/distributedcameratest_additional/
Ddcameraprovidercase.cpp103 streamInfo1.width_ = TEST_WIDTH; in SetUpTestCase()
117 captureInfo1.width_ = TEST_WIDTH; in SetUpTestCase()
510 streamInfo2.width_ = TEST_WIDTH;
533 streamInfo2.width_ = TEST_WIDTH;
556 streamInfo2.width_ = TEST_WIDTH;
580 streamInfo2.width_ = TEST_WIDTH;
604 streamInfo2.width_ = TEST_WIDTH;
628 streamInfo2.width_ = TEST_WIDTH;
652 streamInfo2.width_ = TEST_WIDTH;
675 streamInfo2.width_ = TEST_WIDTH;
[all …]
/test/xts/hats/distributedhardware/distributedcameratest/
Ddcameraprovidercase.cpp102 streamInfo1.width_ = TEST_WIDTH; in SetUpTestCase()
116 captureInfo1.width_ = TEST_WIDTH; in SetUpTestCase()
326 streamInfo2.width_ = TEST_WIDTH;
341 streamInfo3.width_ = TEST_WIDTH;
356 streamInfo4.width_ = TEST_WIDTH;
371 streamInfo5.width_ = TEST_WIDTH;
386 captureInfo2.width_ = TEST_WIDTH;
401 captureInfo3.width_ = TEST_WIDTH;
/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/render/
Degl_core.cpp70 width_ = w; 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()
Degl_core.h35 int width_; variable
Dplugin_render.cpp171 int32_t ret = OH_NativeXComponent_GetXComponentSize(component, window, &width_, &height_); in OnSurfaceCreated()
175 eglCore_->GLContextInit(window, width_, height_); in OnSurfaceCreated()
178 xcWidth_ = width_; in OnSurfaceCreated()
190 int32_t ret = OH_NativeXComponent_GetXComponentSize(component, window, &width_, &height_); in OnSurfaceChanged()
194 xcWidth_ = width_; in OnSurfaceChanged()
Dplugin_render.h91 uint64_t width_; variable
/test/xts/hats/hdf/camera/cameraMg/v1_0/src/
Dhdi_stream_uttest.cpp59 cameraTest->streamInfo->width_ = 640;
99 cameraTest->streamInfo->width_ = 640;
139 cameraTest->streamInfo->width_ = 640;
174 cameraTest->streamInfo->width_ = 640;
212 cameraTest->streamInfo->width_ = -1;
247 cameraTest->streamInfo->width_ = 2147483647;
286 cameraTest->streamInfo->width_ = 1920;
322 cameraTest->streamInfo->width_ = 1920;
361 cameraTest->streamInfo->width_ = 1920;
400 cameraTest->streamInfo->width_ = 1920;
[all …]
Dcommon.cpp144 streamInfoPre->width_ = previewWidth; in StartStream()
159 streamInfoVideo->width_ = videoWidth; in StartStream()
175 streamInfoAnalyze->width_ = analyzeWidth; in StartStream()
208 streamInfoCapture->width_ = analyzeWidth; in StartStream()
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_0/src/
Dhdf_camera_benchmark_test.cpp168 streamInfoPre->width_ = cameraTest->previewWidth; in BENCHMARK_F()
208 streamInfoPre->width_ = cameraTest->previewWidth; in BENCHMARK_F()
452 cameraTest->streamInfo->width_ = 640; in BENCHMARK_F()
495 cameraTest->streamInfo->width_ = 720; // Pixel Width in BENCHMARK_F()
513 cameraTest->streamInfoSnapshot->width_ = 720; // Pixel Width in BENCHMARK_F()
574 cameraTest->streamInfo->width_ = 720; // Pixel Width in BENCHMARK_F()
592 cameraTest->streamInfoSnapshot->width_ = 720; // Pixel Width in BENCHMARK_F()
653 cameraTest->streamInfo->width_ = 720; in BENCHMARK_F()
670 cameraTest->streamInfoSnapshot->width_ = 720; in BENCHMARK_F()
743 cameraTest->streamInfo->width_ = 720; in BENCHMARK_F()
[all …]
Dbenchmark_common.cpp144 streamInfoPre->width_ = previewWidth; in StartStream()
159 streamInfoVideo->width_ = videoWidth; in StartStream()
175 streamInfoAnalyze->width_ = analyzeWidth; in StartStream()
208 streamInfoCapture->width_ = analyzeWidth; in StartStream()
/test/xts/hats/hdf/camera/cameraHdi/v4l2/src/
Dcamera_preview_test.cpp86 streamInfo.width_ = 640; // 640:picture width
205 streamInfo.width_ = 640; // 640:picture width
259 streamInfo.width_ = 640; // 640:picture width
302 streamInfo.width_ = 640; // 640:picture width
356 streamInfo.width_ = -1;
400 streamInfo.width_ = 640; // 640:picture width
443 streamInfo.width_ = 640; // 640:picture width
487 streamInfo.width_ = 640; // 640:picture width
616 streamInfo.width_ = 640; // 640:picture width
671 streamInfo.width_ = 640; // 640:picture width
[all …]
Dcamera_video_test.cpp44 streamInfo.width_ = PREVIEW_WIDTH; in SetStreamInfo()
47 streamInfo.width_ = WIDTH; in SetStreamInfo()
51 streamInfo.width_ = WIDTH; in SetStreamInfo()
536 display_->streamInfo.width_ = 1280; // 1280:picture width
Dtest_display.cpp106 streamInfo.width_ = wide; // 320:picture width in StartStreamUpdate()
553 streamInfoPre.width_ = PREVIEW_WIDTH; // 640:picture width in StartStream()
570 streamInfoVideo.width_ = VIDEO_WIDTH; // 1280:picture width in StartStream()
588 streamInfoCapture.width_ = CAPTURE_WIDTH; // 1280:picture width in StartStream()
606 streamInfoAnalyze.width_ = ANALYZE_WIDTH; // 640:picture width in StartStream()
Dcamera_capture_test.cpp295 display_->streamInfo.width_ = 1280; // picture width
349 display_->streamInfo.width_ = 1280; // 640:picture width
409 streamInfo_capture->width_ = 640;
/test/xts/hats/hdf/camera/cameraMg_additional/v1_0/src/
Dhdi_stream_uttest.cpp159 cameraTest->streamInfo->width_ = 640;
205 cameraTest->streamInfo->width_ = 640;
251 cameraTest->streamInfo->width_ = 640;
297 cameraTest->streamInfo->width_ = 640;
343 cameraTest->streamInfo->width_ = -1;
389 cameraTest->streamInfo->width_ = 2147483647;
435 cameraTest->streamInfo->width_ = 640;
481 cameraTest->streamInfo->width_ = 640;
529 cameraTest->streamInfo->width_ = 640;
575 cameraTest->streamInfo->width_ = 640;
[all …]
Dcommon.cpp145 streamInfoPre->width_ = previewWidth; in StartStream()
160 streamInfoVideo->width_ = videoWidth; in StartStream()
176 streamInfoAnalyze->width_ = analyzeWidth; in StartStream()
209 streamInfoCapture->width_ = analyzeWidth; in StartStream()
/test/xts/hats/hdf/camera/cameraHdi/buffer_manager/
Dbuffer_manager_utest.cpp410 …rc = bufferPool_->Init(width_, height_, usage_, format_, queueSize_, CAMERA_BUFFER_SOURCE_TYPE_HEA… in Init()
418 producer_->SetWidthAndHeight(width_, height_); in Init()
421 …rc = bufferPool_->Init(width_, height_, usage_, format_, queueSize_, CAMERA_BUFFER_SOURCE_TYPE_EXT… in Init()
447 …rc = bufferPool_->Init(width_, height_, usage_, format_, queueSize_, CAMERA_BUFFER_SOURCE_TYPE_HEA…
457 requestConfig_.width = static_cast<int32_t>(width_);
465 flushConfig_.damage.w = width_;
468 …rc = bufferPool_->Init(width_, height_, usage_, format_, queueSize_, CAMERA_BUFFER_SOURCE_TYPE_EXT…
Dbuffer_manager_utest.h75 uint32_t width_ = 1920; variable
/test/xts/dcts/distributedhardware/distributedscreentest/
Ddecoder_demo.cpp80 format.PutIntValue("width", width_); in RunCase()
183 width_ = width; in SetWindowSize()
Ddecoder_demo.h80 uint32_t width_ = 0; variable
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_1/src/
Dbenchmark_common.cpp169 streamInfoPre->v1_0.width_ = previewWidth; in StartStream()
184 streamInfoVideo->v1_0.width_ = videoWidth; in StartStream()
200 streamInfoAnalyze->v1_0.width_ = analyzeWidth; in StartStream()
234 streamInfoCapture->v1_0.width_ = analyzeWidth; in StartStream()
/test/xts/hats/hdf/camera/cameraMg/v1_1/src/
Dhdi_common_v1_1.cpp148 infos->v1_0.width_ = previewWidth; in DefaultPreview()
160 infos->v1_0.width_ = captureWidth; in DefaultCapture()
196 infos->v1_0.width_ = videoWidth; in DefaultInfosVideo()
215 infos->v1_0.width_ = analyzeWidth; in DefaultInfosAnalyze()
/test/xts/hats/hdf/camera/cameraMg_additional/v1_1/src/
Dhdi_common_v1_1.cpp148 infos->v1_0.width_ = previewWidth; in DefaultPreview()
160 infos->v1_0.width_ = captureWidth; in DefaultCapture()
196 infos->v1_0.width_ = videoWidth; in DefaultInfosVideo()
215 infos->v1_0.width_ = analyzeWidth; in DefaultInfosAnalyze()
/test/xts/hats/hdf/camera/cameraMg/v1_2/src/
Dhdi_common_v1_2.cpp186 infos->v1_0.width_ = previewWidth; in DefaultPreview()
198 infos->v1_0.width_ = captureWidth; in DefaultCapture()
210 infos->v1_0.width_ = sketchWidth; in DefaultSketch()
269 infos->v1_0.width_ = videoWidth; in DefaultInfosVideo()
288 infos->v1_0.width_ = analyzeWidth; in DefaultInfosAnalyze()

12