Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/
H A Ddot_indicator_modifier.cpp39 constexpr uint32_t ITEM_HALF_HEIGHT = 1; variable
84 auto itemHeight = contentProperty.itemHalfSizes[ITEM_HALF_HEIGHT] * 2; in PaintBackground()
242 …if (!NearEqual(itemHalfSizes[ITEM_HALF_WIDTH], itemHalfSizes[ITEM_HALF_HEIGHT]) || currentIndexFla… in PaintUnselectedIndicator()
245 float rectItemHeight = itemHalfSizes[ITEM_HALF_HEIGHT] * 2; in PaintUnselectedIndicator()
267 canvas.DrawCircle({ pointX, pointY }, itemHalfSizes[ITEM_HALF_HEIGHT]); in PaintUnselectedIndicator()
H A Ddot_indicator_paint_method.cpp42 constexpr uint32_t ITEM_HALF_HEIGHT = 1; variable
261 auto itemHeight = itemHalfSizes[ITEM_HALF_HEIGHT] * 2; in CalculateNormalMargin()
434 float itemHalfHeight = itemHalfSizes[ITEM_HALF_HEIGHT]; in isHoverPoint()