Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_manager.cpp182 const SafeAreaInsets::Inset& bottomInset, bool isShowKeyboard) in ScrollToSafeAreaHelper() argument
200 CHECK_NULL_RETURN(scrollableRect.Top() < bottomInset.start, false); in ScrollToSafeAreaHelper()
214 if (isShowKeyboard && diffTop <= 0 && LessNotEqual(bottomInset.start, in ScrollToSafeAreaHelper()
228 …d && LessNotEqual((caretRect.Bottom() + RESERVE_BOTTOM_HEIGHT.ConvertToPx()), bottomInset.start)) { in ScrollToSafeAreaHelper()
235 auto scrollBottom = isShowKeyboard && GreatOrEqual(scrollableRect.Bottom(), bottomInset.start) ? in ScrollToSafeAreaHelper()
236 bottomInset.start : scrollableRect.Bottom(); in ScrollToSafeAreaHelper()
252 auto bottomInset = pipeline->GetSafeArea().bottom_.Combine(keyboardInset); in ScrollTextFieldToSafeArea() local
253 CHECK_NULL_RETURN(bottomInset.IsValid(), false); in ScrollTextFieldToSafeArea()
254 return ScrollToSafeAreaHelper(bottomInset, isShowKeyboard); in ScrollTextFieldToSafeArea()
H A Dtext_field_manager.h281 bool ScrollToSafeAreaHelper(const SafeAreaInsets::Inset& bottomInset, bool isShowKeyboard);