Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/
H A Ddot_indicator_paint_method.cpp59 auto swiperTheme = pipelineContext->GetTheme<SwiperIndicatorTheme>(); in UpdateContentModifier() local
60 CHECK_NULL_VOID(swiperTheme); in UpdateContentModifier()
72 … dotIndicatorModifier_->SetUnselectedColor(paintProperty->GetColorValue(swiperTheme->GetColor())); in UpdateContentModifier()
151 auto swiperTheme = GetSwiperIndicatorTheme(); in PaintHoverIndicator() local
152 CHECK_NULL_VOID(swiperTheme); in PaintHoverIndicator()
223 auto swiperTheme = GetSwiperIndicatorTheme(); in PaintPressIndicator() local
224 CHECK_NULL_VOID(swiperTheme); in PaintPressIndicator()
314 auto swiperTheme = GetSwiperIndicatorTheme(); in CalculateLongPointCenterX() local
315 CHECK_NULL_RETURN(swiperTheme, tmp); in CalculateLongPointCenterX()
449 auto swiperTheme = GetSwiperIndicatorTheme(); in UpdateBackground() local
[all …]
H A Doverlength_dot_indicator_paint_method.cpp46 auto swiperTheme = pipelineContext->GetTheme<SwiperIndicatorTheme>(); in UpdateContentModifier() local
47 CHECK_NULL_VOID(swiperTheme); in UpdateContentModifier()
58 … dotIndicatorModifier_->SetUnselectedColor(paintProperty->GetColorValue(swiperTheme->GetColor())); in UpdateContentModifier()
59 …dotIndicatorModifier_->SetSelectedColor(paintProperty->GetSelectedColorValue(swiperTheme->GetSelec… in UpdateContentModifier()
151 auto swiperTheme = GetSwiperIndicatorTheme(); in CalculateLongPointCenterX() local
152 CHECK_NULL_RETURN(swiperTheme, tmp); in CalculateLongPointCenterX()
155 …auto itemWidth = static_cast<float>(paintProperty->GetItemWidthValue(swiperTheme->GetSize()).Conve… in CalculateLongPointCenterX()
156 …auto itemHeight = static_cast<float>(paintProperty->GetItemHeightValue(swiperTheme->GetSize()).Con… in CalculateLongPointCenterX()
158 …static_cast<float>(paintProperty->GetSelectedItemWidthValue(swiperTheme->GetSize()).ConvertToPx()); in CalculateLongPointCenterX()
160 …static_cast<float>(paintProperty->GetSelectedItemHeightValue(swiperTheme->GetSize()).ConvertToPx()… in CalculateLongPointCenterX()
H A Ddot_indicator_modifier.cpp375 auto swiperTheme = GetSwiperIndicatorTheme(); in UpdateNormalPaintProperty() local
376 CHECK_NULL_VOID(swiperTheme); in UpdateNormalPaintProperty()
378 swiperTheme->GetPressedColor() : in UpdateNormalPaintProperty()
379 swiperTheme->GetHoverColor().ChangeOpacity(0); in UpdateNormalPaintProperty()
388 auto swiperTheme = GetSwiperIndicatorTheme(); in UpdateHoverPaintProperty() local
389 CHECK_NULL_VOID(swiperTheme); in UpdateHoverPaintProperty()
399 auto swiperTheme = GetSwiperIndicatorTheme(); in UpdatePressPaintProperty() local
400 CHECK_NULL_VOID(swiperTheme); in UpdatePressPaintProperty()
474 auto swiperTheme = GetSwiperIndicatorTheme(); in UpdateHoverAndPressConversionPaintProperty() local
475 CHECK_NULL_VOID(swiperTheme); in UpdateHoverAndPressConversionPaintProperty()
[all …]
H A Ddot_indicator_paint_method.h173 auto swiperTheme = pipelineContext->GetTheme<SwiperIndicatorTheme>(); in GetSwiperIndicatorTheme() local
174 CHECK_NULL_RETURN(swiperTheme, nullptr); in GetSwiperIndicatorTheme()
175 return swiperTheme; in GetSwiperIndicatorTheme()
H A Ddot_indicator_modifier.h310 auto swiperTheme = pipelineContext->GetTheme<SwiperIndicatorTheme>(); in GetSwiperIndicatorTheme() local
311 CHECK_NULL_RETURN(swiperTheme, nullptr); in GetSwiperIndicatorTheme()
312 return swiperTheme; in GetSwiperIndicatorTheme()
H A Doverlength_dot_indicator_modifier.cpp203 auto swiperTheme = GetSwiperIndicatorTheme(); in UpdateNormalPaintProperty() local
204 CHECK_NULL_VOID(swiperTheme); in UpdateNormalPaintProperty()
206 … indicatorMask_ ? swiperTheme->GetPressedColor() : swiperTheme->GetHoverColor().ChangeOpacity(0); in UpdateNormalPaintProperty()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/
H A Dswiper_arrow_pattern.h58 auto swiperTheme = pipelineContext->GetTheme<SwiperIndicatorTheme>(); in GetFocusPattern() local
59 CHECK_NULL_RETURN(swiperTheme, FocusPattern()); in GetFocusPattern()
61 paintParam.SetPaintColor(swiperTheme->GetFocusedColor()); in GetFocusPattern()
62 paintParam.SetPaintWidth(swiperTheme->GetFocusedBorderWidth()); in GetFocusPattern()
H A Dswiper_indicator_pattern.h141 auto swiperTheme = pipelineContext->GetTheme<SwiperIndicatorTheme>(); in GetFocusPattern() local
142 CHECK_NULL_RETURN(swiperTheme, FocusPattern()); in GetFocusPattern()
144 paintParam.SetPaintWidth(swiperTheme->GetFocusedBorderWidth()); in GetFocusPattern()
145 paintParam.SetPaintColor(swiperTheme->GetFocusedColor()); in GetFocusPattern()
H A Dswiper_indicator_pattern.cpp376 auto swiperTheme = pipelineContext->GetTheme<SwiperIndicatorTheme>(); in GetMouseClickIndex() local
377 CHECK_NULL_VOID(swiperTheme); in GetMouseClickIndex()
386 …float itemWidthValue = static_cast<float>(paintProperty->GetItemWidthValue(swiperTheme->GetSize())… in GetMouseClickIndex()
387 …float itemHeightValue = static_cast<float>(paintProperty->GetItemHeightValue(swiperTheme->GetSize(… in GetMouseClickIndex()
389 …static_cast<float>(paintProperty->GetSelectedItemWidthValue(swiperTheme->GetSize()).ConvertToPx() … in GetMouseClickIndex()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/
H A Dswiper_arrow_test_ng.cpp91 auto swiperTheme = pipelineContext->GetTheme<SwiperIndicatorTheme>(); variable
92 …EXPECT_EQ(leftSymbolProperty->GetSymbolSourceInfoValue(), SymbolSourceInfo(swiperTheme->GetLeftSym…
93 …EXPECT_EQ(rightSymbolProperty->GetSymbolSourceInfoValue(), SymbolSourceInfo(swiperTheme->GetRightS…