Home
last modified time | relevance | path

Searched refs:hwRatio (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/window/window_manager/test/systemtest/wms/
H A Dwindow_app_floating_window_test.cpp408 …float hwRatio = static_cast<float>(displayRect_.height_) / static_cast<float>(displayRect_.width_); variable
422 exceptRect.height_ = static_cast<uint32_t>(exceptRect.width_ * hwRatio);
/ohos5.0/foundation/window/window_manager/wmserver/src/
H A Dwindow_layout_policy.cpp472 … float hwRatio = static_cast<float>(displayRect.height_) / static_cast<float>(displayRect.width_); in GetSystemSizeLimits() local
486 systemLimits.minHeight_ = static_cast<uint32_t>(systemLimits.minWidth_ * hwRatio); in GetSystemSizeLimits()
/ohos5.0/foundation/window/window_manager/wm/src/
H A Dwindow_scene_session_impl.cpp1621 float hwRatio = static_cast<float>(displayHeight) / static_cast<float>(displayWidth); in LimitCameraFloatWindowMininumSize() local
1637 height = static_cast<uint32_t>(width * hwRatio); in LimitCameraFloatWindowMininumSize()