Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/
H A Ddot_indicator_layout_algorithm.cpp34 constexpr float INDICATOR_ZOOM_IN_SCALE = 1.33f; variable
72 userItemWidth *= INDICATOR_ZOOM_IN_SCALE; in Measure()
73 userItemHeight *= INDICATOR_ZOOM_IN_SCALE; in Measure()
74 userSelectedItemWidth *= INDICATOR_ZOOM_IN_SCALE; in Measure()
75 userSelectedItemHeight *= INDICATOR_ZOOM_IN_SCALE; in Measure()
H A Ddot_indicator_paint_method.cpp33 constexpr float INDICATOR_ZOOM_IN_SCALE = 1.33f; variable
162 itemHalfSizes.emplace_back(itemWidth * 0.5 * INDICATOR_ZOOM_IN_SCALE); in PaintHoverIndicator()
163 itemHalfSizes.emplace_back(itemHeight * 0.5 * INDICATOR_ZOOM_IN_SCALE); in PaintHoverIndicator()
164 itemHalfSizes.emplace_back(selectedItemWidth * 0.5 * INDICATOR_ZOOM_IN_SCALE); in PaintHoverIndicator()
165 itemHalfSizes.emplace_back(selectedItemHeight * 0.5 * INDICATOR_ZOOM_IN_SCALE); in PaintHoverIndicator()
233 auto itemHalfWidth = itemWidth * 0.5 * INDICATOR_ZOOM_IN_SCALE; in PaintPressIndicator()
234 auto itemHalfHeight = itemHeight * 0.5 * INDICATOR_ZOOM_IN_SCALE; in PaintPressIndicator()
235 auto selectedItemHalfWidth = selectedItemWidth * 0.5 * INDICATOR_ZOOM_IN_SCALE; in PaintPressIndicator()
461 itemHalfSizes.emplace_back(itemWidth * 0.5f * INDICATOR_ZOOM_IN_SCALE); in UpdateBackground()
462 itemHalfSizes.emplace_back(itemHeight * 0.5f * INDICATOR_ZOOM_IN_SCALE); in UpdateBackground()
[all …]
H A Ddot_indicator_modifier.cpp28 constexpr float INDICATOR_ZOOM_IN_SCALE = 1.33f; variable
493 …ionUtils::Animate(option, [&]() { normalToHoverPointDilateRatio_->Set(INDICATOR_ZOOM_IN_SCALE); }); in UpdateNormalToHoverPointDilateRatio()
511 … AnimationUtils::Animate(option, [&]() { longPointDilateRatio_->Set(INDICATOR_ZOOM_IN_SCALE); }); in UpdateLongPointDilateRatio()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/
H A Dswiper_indicator_pattern.cpp30 constexpr float INDICATOR_ZOOM_IN_SCALE = 1.33f; variable
392 float itemWidth = itemWidthValue * INDICATOR_ZOOM_IN_SCALE; in GetMouseClickIndex()
393 float itemHeight = itemHeightValue * INDICATOR_ZOOM_IN_SCALE; in GetMouseClickIndex()
394 float selectedItemWidth = selectedItemWidthValue * INDICATOR_ZOOM_IN_SCALE; in GetMouseClickIndex()