Searched refs:swiperIndicatorTheme (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/ |
H A D | swiper_arrow_pattern.cpp | 225 auto swiperIndicatorTheme = pipelineContext->GetTheme<SwiperIndicatorTheme>(); in ButtonTouchEvent() local 226 CHECK_NULL_VOID(swiperIndicatorTheme); in ButtonTouchEvent() 235 backgroundColor = swiperIndicatorTheme->GetHoverArrowBackgroundColor(); in ButtonTouchEvent() 249 swiperIndicatorTheme->GetClickArrowBackgroundColor()); in ButtonTouchEvent() 272 auto swiperIndicatorTheme = pipelineContext->GetTheme<SwiperIndicatorTheme>(); in ButtonOnHover() local 273 CHECK_NULL_VOID(swiperIndicatorTheme); in ButtonOnHover() 288 swiperIndicatorTheme->GetClickArrowBackgroundColor()); in ButtonOnHover() 381 CHECK_NULL_VOID(swiperIndicatorTheme); in UpdateArrowContent() 386 … isRtl ? swiperIndicatorTheme->GetRightSymbolId() : swiperIndicatorTheme->GetLeftSymbolId())); in UpdateArrowContent() 393 … isRtl ? swiperIndicatorTheme->GetLeftSymbolId() : swiperIndicatorTheme->GetRightSymbolId())); in UpdateArrowContent() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_swiper.cpp | 382 CHECK_NULL_VOID(swiperIndicatorTheme); in GetFontContent() 460 CHECK_NULL_RETURN(swiperIndicatorTheme, SwiperParameters()); in GetDotIndicatorInfo() 475 auto defaultSize = swiperIndicatorTheme->GetSize(); in GetDotIndicatorInfo() 548 CHECK_NULL_RETURN(swiperIndicatorTheme, SwiperDigitalParameters()); in GetDigitIndicatorInfo() 587 CHECK_NULL_RETURN(swiperIndicatorTheme, false); in GetArrowInfo() 602 : swiperIndicatorTheme->GetBigArrowBackgroundSize(); in GetArrowInfo() 612 : swiperIndicatorTheme->GetBigArrowSize(); in GetArrowInfo() 622 : swiperIndicatorTheme->GetSmallArrowBackgroundSize(); in GetArrowInfo() 632 : swiperIndicatorTheme->GetSmallArrowSize(); in GetArrowInfo() 662 CHECK_NULL_VOID(swiperIndicatorTheme); in SetDisplayArrow() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_swiper_modifier.cpp | 129 : swiperIndicatorTheme->GetBigArrowBackgroundSize(); in SetArrowBackgroundInfo() 139 : swiperIndicatorTheme->GetBigArrowSize(); in SetArrowBackgroundInfo() 149 : swiperIndicatorTheme->GetSmallArrowBackgroundSize(); in SetArrowBackgroundInfo() 159 : swiperIndicatorTheme->GetSmallArrowSize(); in SetArrowBackgroundInfo() 175 CHECK_NULL_RETURN(swiperIndicatorTheme, false); in GetArrowInfo() 232 CHECK_NULL_RETURN(swiperIndicatorTheme, SwiperParameters()); in GetDotIndicatorInfo() 244 auto defaultSize = swiperIndicatorTheme->GetSize(); in GetDotIndicatorInfo() 303 CHECK_NULL_RETURN(swiperIndicatorTheme, SwiperParameters()); in GetDotIndicatorProps() 310 auto defaultSize = swiperIndicatorTheme->GetSize(); in GetDotIndicatorProps() 345 CHECK_NULL_VOID(swiperIndicatorTheme); in GetFontContent() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/digit_indicator/ |
H A D | digit_indicator_layout_algorithm.cpp | 60 auto swiperIndicatorTheme = pipelineContext->GetTheme<SwiperIndicatorTheme>(); in Measure() local 61 CHECK_NULL_VOID(swiperIndicatorTheme); in Measure() 63 …if (LessNotEqual(indicatorHeight, swiperIndicatorTheme->GetIndicatorDigitHeight().ConvertToPx())) { in Measure() 64 indicatorHeight = swiperIndicatorTheme->GetIndicatorDigitHeight().ConvertToPx(); in Measure()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/ |
H A D | swiper_layout_algorithm.cpp | 1096 auto swiperIndicatorTheme = pipelineContext->GetTheme<SwiperIndicatorTheme>(); in PlaceDigitChild() local 1097 CHECK_NULL_VOID(swiperIndicatorTheme); in PlaceDigitChild() 1099 indicatorHeight = swiperIndicatorTheme->GetIndicatorDigitHeight().ConvertToPx(); in PlaceDigitChild() 1125 auto themeHeight = swiperIndicatorTheme->GetIndicatorDigitHeight().ConvertToPx(); in PlaceDigitChild() 1201 auto swiperIndicatorTheme = pipelineContext->GetTheme<SwiperIndicatorTheme>(); in CalculateCustomOffset() local 1202 CHECK_NULL_RETURN(swiperIndicatorTheme, indicatorOffset); in CalculateCustomOffset() 1203 auto indicatorPadding = swiperIndicatorTheme->GetIndicatorDigitPadding().ConvertToPx(); in CalculateCustomOffset() 1243 auto swiperIndicatorTheme = pipelineContext->GetTheme<SwiperIndicatorTheme>(); in MeasureArrow() local 1244 CHECK_NULL_VOID(swiperIndicatorTheme); in MeasureArrow() 1317 auto swiperIndicatorTheme = pipelineContext->GetTheme<SwiperIndicatorTheme>(); in ArrowLayout() local [all …]
|
H A D | swiper_pattern.cpp | 3982 auto swiperIndicatorTheme = pipelineContext->GetTheme<SwiperIndicatorTheme>(); in GetSwiperParameters() local 3983 CHECK_NULL_RETURN(swiperIndicatorTheme, swiperParameters_); in GetSwiperParameters() 3984 swiperParameters_->itemWidth = swiperIndicatorTheme->GetSize(); in GetSwiperParameters() 3985 swiperParameters_->itemHeight = swiperIndicatorTheme->GetSize(); in GetSwiperParameters() 3986 swiperParameters_->selectedItemWidth = swiperIndicatorTheme->GetSize(); in GetSwiperParameters() 3987 swiperParameters_->selectedItemHeight = swiperIndicatorTheme->GetSize(); in GetSwiperParameters() 3989 swiperParameters_->colorVal = swiperIndicatorTheme->GetColor(); in GetSwiperParameters() 4005 swiperIndicatorTheme->GetDigitalIndicatorTextStyle().GetTextColor(); in GetSwiperDigitalParameters() 4010 swiperIndicatorTheme->GetDigitalIndicatorTextStyle().GetFontWeight(); in GetSwiperDigitalParameters() 4119 auto swiperIndicatorTheme = pipelineContext->GetTheme<SwiperIndicatorTheme>(); in UpdatePaintProperty() local [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/ |
H A D | swiper_test_ng.cpp | 37 auto swiperIndicatorTheme = SwiperIndicatorTheme::Builder().Build(themeConstants); in SetUpTestSuite() local 38 …emeManager, GetTheme(SwiperIndicatorTheme::TypeId())).WillRepeatedly(Return(swiperIndicatorTheme)); in SetUpTestSuite() 39 swiperIndicatorTheme->color_ = Color::FromString("#182431"); in SetUpTestSuite() 40 swiperIndicatorTheme->selectedColor_ = Color::FromString("#007DFF"); in SetUpTestSuite() 41 swiperIndicatorTheme->hoverArrowBackgroundColor_ = HOVER_ARROW_COLOR; in SetUpTestSuite() 42 swiperIndicatorTheme->clickArrowBackgroundColor_ = CLICK_ARROW_COLOR; in SetUpTestSuite() 43 swiperIndicatorTheme->arrowDisabledAlpha_ = ARROW_DISABLED_ALPHA; in SetUpTestSuite() 44 swiperIndicatorTheme->size_ = Dimension(6.f); in SetUpTestSuite() 49 swiperIndicatorTheme->digitalIndicatorTextStyle_ = textStyle; in SetUpTestSuite()
|
H A D | swiper_arrow_test_ng.cpp | 120 auto swiperIndicatorTheme = pipelineContext->GetTheme<SwiperIndicatorTheme>(); variable 121 …EXPECT_EQ(leftSymbol->GetSymbolSourceInfoValue(), SymbolSourceInfo(swiperIndicatorTheme->GetUpSymb… 122 …EXPECT_EQ(rightSymbol->GetSymbolSourceInfoValue(), SymbolSourceInfo(swiperIndicatorTheme->GetDownS…
|