Home
last modified time | relevance | path

Searched refs:previewWidth (Results 1 - 8 of 8) sorted by relevance

/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()
194 MEDIA_DEBUG_LOG("previewFormat: %{public}d, previewWidth: %{public}d, previewHeight: %{public}d", in main()
195 previewFormat, previewWidth, previewHeight); in main()
236 previewsize.width = previewWidth; in main()
H A Dcamera_video.cpp187 int32_t previewWidth = 640; in main() local
210 previewWidth = atoi(argv[previewWidthIndex]); in main()
319 previewWidth = previewSizes[0].width; in main()
328 MEDIA_DEBUG_LOG("previewFormat: %{public}d, previewWidth: %{public}d, previewHeight: %{public}d", in main()
329 previewFormat, previewWidth, previewHeight); in main()
341 previewSurface->SetDefaultWidthAndHeight(previewWidth, previewHeight); in main()
343 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()
484 MEDIA_INFO_LOG("previewFormat: %{public}d, previewWidth: %{public}d, previewHeight: %{public}d" in main()
486 previewFormat, previewWidth, previewHeight, abilityIds.c_str()); in main()
488 cout<< "previewFormat: " << previewFormat << " previewWidth: "<< previewWidth in main()
/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/include/
H A Dcamera_framework_moduletest.h116 void TestSupportedResolution(int32_t previewWidth, int32_t previewHeight, int32_t photoWidth,
118 void TestUnSupportedResolution(int32_t previewWidth, int32_t previewHeight, int32_t photoWidth,
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/
H A Dmenu_view.cpp639 auto previewWidth = previewPattern->GetStackAfterScaleActualWidth(); in GetHoverImageCustomPreviewBaseScaleInfo() local
642 if (LessOrEqual(previewWidth / width, previewHeight / height)) { in GetHoverImageCustomPreviewBaseScaleInfo()
643 CHECK_EQUAL_RETURN(previewWidth, 0, scaleRet); in GetHoverImageCustomPreviewBaseScaleInfo()
644 scaleRet = width / previewWidth; in GetHoverImageCustomPreviewBaseScaleInfo()
1051 auto previewWidth = previewPattern->GetCustomPreviewWidth(); in CustomPreviewParentNodeCreate() local
1054 CalcSize maxSize = { CalcLength(previewWidth), CalcLength(previewHeight) }; in CustomPreviewParentNodeCreate()
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/
H A Ddrag_drop_manager.h377 void GetGatherPixelMap(DragDataCore& dragData, float scale, float previewWidth = 0.0f, float previewHeight = 0.0f);
H A Ddrag_drop_manager.cpp2079 void DragDropManager::GetGatherPixelMap(DragDataCore& dragData, float scale, float previewWidth, float previewHeight) in GetGatherPixelMap() argument
2093 if (((width > previewWidth) || (height > previewHeight)) && !NearZero(width) && !NearZero(height)) { in GetGatherPixelMap()
2094 updateScale *= std::min(previewWidth / width, previewHeight / height); in GetGatherPixelMap()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/
H A Doverlay_manager.cpp446 auto previewWidth = previewPattern->GetCustomPreviewWidth(); in ContextMenuSwitchDragPreviewScaleAnimationProc() local
451 if (previewWidth - width < previewHeight - height) { in ContextMenuSwitchDragPreviewScaleAnimationProc()
452 CHECK_EQUAL_VOID(previewWidth, 0); in ContextMenuSwitchDragPreviewScaleAnimationProc()
453 scaleTo = width / previewWidth; in ContextMenuSwitchDragPreviewScaleAnimationProc()

Completed in 22 milliseconds