Home
last modified time | relevance | path

Searched refs:windowWidth (Results 1 - 13 of 13) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_v2/grid_layout/
H A Dgrid_container_utils.cpp49 double windowWidth = 0.0; in ProcessGridSizeType() local
51 windowWidth = pipeline->GetDisplayWindowRectInfo().GetSize().Width(); in ProcessGridSizeType()
53 windowWidth -= 2 * (CONTAINER_BORDER_WIDTH + CONTENT_PADDING).ConvertToPx(); in ProcessGridSizeType()
56 windowWidth = size.Width(); in ProcessGridSizeType()
60 if (cur.ConvertToPx() > windowWidth) { in ProcessGridSizeType()
72 double windowWidth = 0.0; in ProcessGridSizeType() local
74 windowWidth = GridSystemManager::GetInstance().GetScreenWidth(); in ProcessGridSizeType()
78 windowWidth -= 2 * (CONTAINER_BORDER_WIDTH + CONTENT_PADDING).ConvertToPx(); in ProcessGridSizeType()
81 windowWidth = size.Width(); in ProcessGridSizeType()
85 if (pipeline->NormalizeToPx(cur) > windowWidth) { in ProcessGridSizeType()
[all...]
/foundation/distributedhardware/distributed_screen/services/screendemo/
H A Dtest.cpp299 uint32_t windowWidth; in CreateWindow() local
300 cin >> windowWidth; in CreateWindow() local
305 if (windowWidth == 0 || windowWidth >= MAX_WINDOW_WIDTH || in CreateWindow()
316 windowProperty->width = windowWidth; in CreateWindow()
330 << ", width: " << windowWidth in CreateWindow()
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_common/
H A Dnapi_common_start_options.cpp174 int32_t windowWidth = 0; in UnwrapStartOptions() local
175 if (UnwrapInt32ByPropertyName(env, param, "windowWidth", windowWidth)) { in UnwrapStartOptions()
176 startOptions.SetWindowWidth(windowWidth); in UnwrapStartOptions()
/foundation/window/window_manager/utils/include/
H A Dpip_report.h34 void ReportPiPRatio(int32_t windowWidth, int32_t windowHeight);
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dstart_options.cpp172 void StartOptions::SetWindowWidth(int32_t windowWidth) in SetWindowWidth() argument
174 windowWidth_ = windowWidth; in SetWindowWidth()
/foundation/window/window_manager/utils/src/
H A Dpip_report.cpp150 void PiPReporter::ReportPiPRatio(int32_t windowWidth, int32_t windowHeight) in ReportPiPRatio() argument
159 EVENT_KEY_WINDOW_WIDTH, windowWidth, in ReportPiPRatio()
/foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/include/
H A Dstart_options.h66 void SetWindowWidth(int32_t windowWidth);
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dmmi_event_convertor.cpp630 auto windowWidth = displayWindowRect.Width(); in CalculatePointerEvent() local
639 windowY = windowWidth - offsetF.GetY() - xRelative; in CalculatePointerEvent()
642 windowX = windowWidth - offsetF.GetX() - xRelative; in CalculatePointerEvent()
/foundation/ability/ability_runtime/tools/aa/src/
H A Dability_command.cpp1291 int windowWidth = 0; in MakeWantFromCmd() local
1737 windowWidth = int(atof(optarg)); in MakeWantFromCmd()
1739 TAG_LOGI(AAFwkTag::AA_TOOL, "windowWidth=%{public}d", windowWidth); in MakeWantFromCmd()
1881 want.SetParam(Want::PARAM_RESV_WINDOW_WIDTH, windowWidth); in MakeWantFromCmd()
/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/
H A Dpipeline_context.h576 void UpdateHalfFoldHoverStatus(int32_t windowWidth, int32_t windowHeight);
960 void UpdateHalfFoldHoverProperty(int32_t windowWidth, int32_t windowHeight);
H A Dpipeline_context.cpp1596 void PipelineContext::UpdateHalfFoldHoverProperty(int32_t windowWidth, int32_t windowHeight) in UpdateHalfFoldHoverProperty() argument
1600 UpdateHalfFoldHoverStatus(windowWidth, windowHeight); in UpdateHalfFoldHoverProperty()
5358 void PipelineContext::UpdateHalfFoldHoverStatus(int32_t windowWidth, int32_t windowHeight) in UpdateHalfFoldHoverStatus() argument
5379 (NearEqual(displayWidth, windowWidth) && NearEqual(displayHeight, windowHeight)); in UpdateHalfFoldHoverStatus()
/foundation/window/window_manager/test/systemtest/dms/
H A Dscreen_manager_test.cpp169 uint32_t windowWidth = rect.width_; in DrawWindowColor() local
171 WLOGI("windowWidth: %{public}u, windowHeight: %{public}u", windowWidth, windowHeight); in DrawWindowColor()
172 SurfaceDraw::DrawColor(surfaceNode, windowWidth, windowHeight, color); in DrawWindowColor()
/foundation/window/window_manager/window_scene/session/host/src/
H A Dscene_session.cpp2290 auto windowWidth = windowRect.width_; in HandleCompatibleModeDrag() local
2293 if (isSupportDragInPcCompatibleMode && windowWidth > windowHeight && in HandleCompatibleModeDrag()
2301 } else if (isSupportDragInPcCompatibleMode && windowWidth < windowHeight && in HandleCompatibleModeDrag()
2309 if (windowWidth < windowHeight) { in HandleCompatibleModeDrag()

Completed in 29 milliseconds