Home
last modified time | relevance | path

Searched refs:previewWidth (Results 1 – 25 of 27) sorted by relevance

12

/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/test/
H A Dcamera_capture.cpp62 int32_t previewWidth = 640; in main() local
84 previewWidth = atoi(argv[previewWidthIndex]); in main()
185 previewWidth = previewSizes[0].width; in main()
195 previewFormat, previewWidth, previewHeight); in main()
236 previewsize.width = previewWidth; in main()
H A Dcamera_video.cpp183 int32_t previewWidth = 640; in main() local
206 previewWidth = atoi(argv[previewWidthIndex]); in main()
315 previewWidth = previewSizes[0].width; in main()
325 previewFormat, previewWidth, previewHeight); in main()
337 previewSurface->SetDefaultWidthAndHeight(previewWidth, previewHeight); in main()
339 previewsize.width = previewWidth; in main()
H A Dcamera_capture_mode.cpp274 int32_t previewWidth = 1280; in main() local
295 previewWidth = atoi(argv[previewWidthIndex]); in main()
471 previewsize.width = previewWidth; in main()
486 previewFormat, previewWidth, previewHeight, abilityIds.c_str()); in main()
488 cout<< "previewFormat: " << previewFormat << " previewWidth: "<< previewWidth in main()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/include/
H A Dcamera_framework_moduletest.h115 void TestSupportedResolution(int32_t previewWidth, int32_t previewHeight, int32_t photoWidth,
117 void TestUnSupportedResolution(int32_t previewWidth, int32_t previewHeight, int32_t photoWidth,
/ohos5.0/foundation/multimedia/camera_framework/
H A DREADME_zh.md212 int32_t previewWidth = 640;
215 …viewOutput = camManagerObj->CreateCustomPreviewOutput(previewSurface, previewWidth, previewHeight);
H A DREADME.md213 int32_t previewWidth = 640;
216 …viewOutput = camManagerObj->CreateCustomPreviewOutput(previewSurface, previewWidth, previewHeight);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/
H A Dmenu_view.cpp654 auto previewWidth = previewPattern->GetStackAfterScaleActualWidth(); in GetHoverImageCustomPreviewBaseScaleInfo() local
657 if (LessOrEqual(previewWidth / width, previewHeight / height)) { in GetHoverImageCustomPreviewBaseScaleInfo()
658 CHECK_EQUAL_RETURN(previewWidth, 0, scaleRet); in GetHoverImageCustomPreviewBaseScaleInfo()
659 scaleRet = width / previewWidth; in GetHoverImageCustomPreviewBaseScaleInfo()
1072 auto previewWidth = previewPattern->GetCustomPreviewWidth(); in CustomPreviewParentNodeCreate() local
1075 CalcSize maxSize = { CalcLength(previewWidth), CalcLength(previewHeight) }; in CustomPreviewParentNodeCreate()
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_0/src/
H A Dut_common.cpp105 previewWidth = usbCamera_previewWidth; in GetCameraMetadata()
152 infos->width_ = previewWidth; in DefaultPreview()
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_0/include/
H A Dut_common.h93 int previewWidth = 1920; variable
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_1/include/
H A Dhdi_common_v1_1.h116 int previewWidth = 1920; variable
/ohos5.0/drivers/peripheral/camera/test/benchmarktest/v1_0/src/
H A Dcamera_benchmark_test.cpp174 streamInfoPre->width_ = cameraTest->previewWidth; in BENCHMARK_F()
214 streamInfoPre->width_ = cameraTest->previewWidth; in BENCHMARK_F()
H A Dbenchmark_common.cpp144 streamInfoPre->width_ = previewWidth; in StartStream()
/ohos5.0/drivers/peripheral/camera/test/fuzztest/common/include/
H A Dcommon.h165 int previewWidth = 1920; variable
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_2/include/
H A Dhdi_common_v1_2.h158 int previewWidth = 1920; variable
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_3/include/
H A Dhdi_common_v1_3.h144 int previewWidth = 1920; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/
H A Ddrag_drop_manager.h375 …void GetGatherPixelMap(DragDataCore& dragData, float scale, float previewWidth = 0.0f, float previ…
H A Ddrag_drop_manager.cpp2059 void DragDropManager::GetGatherPixelMap(DragDataCore& dragData, float scale, float previewWidth, fl… in GetGatherPixelMap() argument
2073 …if (((width > previewWidth) || (height > previewHeight)) && !NearZero(width) && !NearZero(height))… in GetGatherPixelMap()
2074 updateScale *= std::min(previewWidth / width, previewHeight / height); in GetGatherPixelMap()
/ohos5.0/drivers/peripheral/camera/test/benchmarktest/v1_1/src/
H A Dbenchmark_common.cpp187 streamInfoPre->v1_0.width_ = previewWidth; in StartStream()
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_1/src/
H A Dhdi_common_v1_1.cpp137 infos->v1_0.width_ = previewWidth; in DefaultPreview()
/ohos5.0/drivers/peripheral/camera/test/benchmarktest/v1_2/src/
H A Dbenchmark_common.cpp199 streamInfoPre->v1_0.width_ = previewWidth; in StartStream()
/ohos5.0/drivers/peripheral/camera/test/fuzztest/common/src/
H A Dcommon.cpp264 infos->v1_0.width_ = previewWidth; in DefaultPreview()
/ohos5.0/drivers/peripheral/camera/test/benchmarktest/v1_3/src/
H A Dbenchmark_common.cpp159 infos->v1_0.width_ = previewWidth; in DefaultPreview()
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_2/src/
H A Dhdi_common_v1_2.cpp187 infos->v1_0.width_ = previewWidth; in DefaultPreview()
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_3/src/
H A Dhdi_common_v1_3.cpp158 infos->v1_0.width_ = previewWidth; in DefaultPreview()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/
H A Doverlay_manager.cpp468 auto previewWidth = previewPattern->GetCustomPreviewWidth(); in ContextMenuSwitchDragPreviewScaleAnimationProc() local
473 if (previewWidth - width < previewHeight - height) { in ContextMenuSwitchDragPreviewScaleAnimationProc()
474 CHECK_EQUAL_VOID(previewWidth, 0); in ContextMenuSwitchDragPreviewScaleAnimationProc()
475 scaleTo = width / previewWidth; in ContextMenuSwitchDragPreviewScaleAnimationProc()

12