Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/
H A Ddot_indicator_paint_method.cpp234 auto itemHalfHeight = itemHeight * 0.5 * INDICATOR_ZOOM_IN_SCALE; in PaintPressIndicator() local
239 itemHalfSizes.emplace_back(itemHalfHeight); in PaintPressIndicator()
434 float itemHalfHeight = itemHalfSizes[ITEM_HALF_HEIGHT]; in isHoverPoint() local
437 itemHalfHeight = itemHalfSizes[SELECTED_ITEM_HALF_HEIGHT]; in isHoverPoint()
440 …(tempRightCenterX + itemHalfWidth)) && (hoverPoint.GetY() >= (tempLeftCenterY - itemHalfHeight)) && in isHoverPoint()
441 (hoverPoint.GetY() <= (tempRightCenterY + itemHalfHeight)); in isHoverPoint()