Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/
H A Dpipeline_context.cpp1844 float offsetFix = (rootSize.Height() - positionYWithOffset) > 100.0f in OriginalAvoidanceLogic() local
1848 if (offsetFix > 0.0f && positionYWithOffset < offsetFix) { in OriginalAvoidanceLogic()
1858 safeAreaManager_->UpdateKeyboardOffset(-offsetFix); in OriginalAvoidanceLogic()
1862 safeAreaManager_->UpdateKeyboardOffset(-height - offsetFix / 2.0f); in OriginalAvoidanceLogic()
1975 float offsetFix = (rootSize.Height() - positionY - height) < keyboardHeight in OnVirtualKeyboardHeightChange() local
1983 newKeyboardOffset = -offsetFix; in OnVirtualKeyboardHeightChange()
1990 newKeyboardOffset = -height - offsetFix / 2.0f; in OnVirtualKeyboardHeightChange()
2144 float offsetFix = (rootSize.Height() - positionY - height) < keyboardHeight in CalcAvoidOffset() local
2150 if (positionY + height > (rootSize.Height() - keyboardHeight) && offsetFix > 0.0f) { in CalcAvoidOffset()
2151 return -offsetFix; in CalcAvoidOffset()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline/
H A Dpipeline_context.cpp2005 double offsetFix = in OnVirtualKeyboardHeightChange() local
2008 (height - newKeyboardHeight), offsetFix); in OnVirtualKeyboardHeightChange()
2018 } else if (positionY > (height - newKeyboardHeight) && offsetFix > 0.0) { in OnVirtualKeyboardHeightChange()
2021 if (textFieldManager->UpdatePanelForVirtualKeyboard(-offsetFix, height)) { in OnVirtualKeyboardHeightChange()
2025 SetRootSizeWithWidthHeight(width_, height_, -offsetFix); in OnVirtualKeyboardHeightChange()
2026 rootOffset_.SetY(-offsetFix); in OnVirtualKeyboardHeightChange()