Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/
H A Dweb_pattern.h967 bool CheckParentScroll(const float &directValue, const NestedScrollMode &scrollMode);
968 bool CheckOverParentScroll(const float &directValue, const NestedScrollMode &scrollMode);
H A Dweb_pattern.cpp5906 bool WebPattern::CheckParentScroll(const float &directValue, const NestedScrollMode &scrollMode) in CheckParentScroll() argument
5909 return (directValue > 0 && nestedScroll.scrollUp == scrollMode && in CheckParentScroll()
5911 (directValue > 0 && nestedScroll.scrollLeft == scrollMode && in CheckParentScroll()
5913 (directValue < 0 && nestedScroll.scrollDown == scrollMode && in CheckParentScroll()
5915 (directValue < 0 && nestedScroll.scrollRight == scrollMode && in CheckParentScroll()
5919 bool WebPattern::CheckOverParentScroll(const float &directValue, const NestedScrollMode &scrollMode) in CheckOverParentScroll() argument
5922 return (directValue < 0 && nestedScroll.scrollUp == scrollMode && in CheckOverParentScroll()
5924 (directValue < 0 && nestedScroll.scrollLeft == scrollMode && in CheckOverParentScroll()
5926 (directValue > 0 && nestedScroll.scrollDown == scrollMode && in CheckOverParentScroll()
5928 (directValue > 0 && nestedScroll.scrollRight == scrollMode && in CheckOverParentScroll()