Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/
H A Dscrollable_pattern.cpp2798 auto hotZoneHeightPX = HOT_ZONE_HEIGHT_VP_DIM.ConvertToPx(); in IsInHotZone() local
2803 topHotzone.SetHeight(hotZoneHeightPX); in IsInHotZone()
2808 bottomHotzone.SetTop(bottomZoneEdgeY - hotZoneHeightPX); in IsInHotZone()
2809 bottomHotzone.SetHeight(hotZoneHeightPX); in IsInHotZone()
2815 offset = hotZoneHeightPX - point.GetY() + topHotzone.GetY(); in IsInHotZone()
2816 if (!NearZero(hotZoneHeightPX)) { in IsInHotZone()
2817 return offset / hotZoneHeightPX; in IsInHotZone()
2820 offset = bottomZoneEdgeY - point.GetY() - hotZoneHeightPX; in IsInHotZone()
2821 if (!NearZero(hotZoneHeightPX)) { in IsInHotZone()
2822 return offset / hotZoneHeightPX; in IsInHotZone()