Searched refs:bottomInset (Results 1 – 2 of 2) sorted by relevance
182 const SafeAreaInsets::Inset& bottomInset, bool isShowKeyboard) in ScrollToSafeAreaHelper() argument200 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() local253 CHECK_NULL_RETURN(bottomInset.IsValid(), false); in ScrollTextFieldToSafeArea()254 return ScrollToSafeAreaHelper(bottomInset, isShowKeyboard); in ScrollTextFieldToSafeArea()
281 bool ScrollToSafeAreaHelper(const SafeAreaInsets::Inset& bottomInset, bool isShowKeyboard);