Home
last modified time | relevance | path

Searched refs:itemHalfWidth (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.cpp233 auto itemHalfWidth = itemWidth * 0.5 * INDICATOR_ZOOM_IN_SCALE; in PaintPressIndicator() local
238 itemHalfSizes.emplace_back(itemHalfWidth); in PaintPressIndicator()
433 float itemHalfWidth = itemHalfSizes[ITEM_HALF_WIDTH]; in isHoverPoint() local
436 itemHalfWidth = itemHalfSizes[SELECTED_ITEM_HALF_WIDTH]; in isHoverPoint()
439 return hoverPoint.GetX() >= (tempLeftCenterX - itemHalfWidth) && (hoverPoint.GetX() <= in isHoverPoint()
440 …(tempRightCenterX + itemHalfWidth)) && (hoverPoint.GetY() >= (tempLeftCenterY - itemHalfHeight)) && in isHoverPoint()