/foundation/arkui/ace_engine/frameworks/core/components_v2/grid_layout/ |
H A D | grid_container_utils.cpp | 49 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 D | test.cpp | 299 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 D | napi_common_start_options.cpp | 174 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 D | pip_report.h | 34 void ReportPiPRatio(int32_t windowWidth, int32_t windowHeight);
|
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | start_options.cpp | 172 void StartOptions::SetWindowWidth(int32_t windowWidth) in SetWindowWidth() argument 174 windowWidth_ = windowWidth; in SetWindowWidth()
|
/foundation/window/window_manager/utils/src/ |
H A D | pip_report.cpp | 150 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 D | start_options.h | 66 void SetWindowWidth(int32_t windowWidth);
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | mmi_event_convertor.cpp | 630 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 D | ability_command.cpp | 1291 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 D | pipeline_context.h | 576 void UpdateHalfFoldHoverStatus(int32_t windowWidth, int32_t windowHeight); 960 void UpdateHalfFoldHoverProperty(int32_t windowWidth, int32_t windowHeight);
|
H A D | pipeline_context.cpp | 1596 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 D | screen_manager_test.cpp | 169 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 D | scene_session.cpp | 2290 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()
|