Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/
H A Dtitle_bar_layout_algorithm.cpp247 float afterAvoidWidth = width; in WidthAfterAvoidMenubar() local
249 CHECK_NULL_RETURN(pipeline, afterAvoidWidth); in WidthAfterAvoidMenubar()
251 return afterAvoidWidth; in WidthAfterAvoidMenubar()
257 CHECK_NULL_RETURN(container, afterAvoidWidth); in WidthAfterAvoidMenubar()
259 CHECK_NULL_RETURN(appBar, afterAvoidWidth); in WidthAfterAvoidMenubar()
261 CHECK_NULL_RETURN(appBarRect, afterAvoidWidth); in WidthAfterAvoidMenubar()
266 CHECK_NULL_RETURN(titleBarGeo, afterAvoidWidth); in WidthAfterAvoidMenubar()
274 afterAvoidWidth = afterAvoidWidth - avoidArea; in WidthAfterAvoidMenubar()
277 if (LessOrEqual(afterAvoidWidth, 0.0)) { in WidthAfterAvoidMenubar()
280 return afterAvoidWidth; in WidthAfterAvoidMenubar()