/foundation/arkui/ace_engine/frameworks/core/components/theme/ |
H A D | shadow_theme.cpp | 29 RefPtr<ThemeStyle> shadowTheme = themeConstants->GetPatternByName(THEME_PATTERN_SHADOW); in Build() local 30 if (!shadowTheme) { in Build() 34 theme->SetThemeStyle(shadowTheme); in Build()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toast/ |
H A D | toast_view.cpp | 167 auto shadowTheme = pipelineContext->GetTheme<ShadowTheme>(); in UpdateToastNodeStyle() local 168 if (shadowTheme) { in UpdateToastNodeStyle() 169 shadow = shadowTheme->GetShadow(shadowStyle, colorMode); in UpdateToastNodeStyle()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/ |
H A D | drag_drop_func_wrapper.cpp | 429 auto shadowTheme = pipelineContext->GetTheme<ShadowTheme>(); in GetDefaultShadow() local 430 CHECK_NULL_RETURN(shadowTheme, std::nullopt); in GetDefaultShadow() 432 auto shadow = shadowTheme->GetShadow(ShadowStyle::OuterFloatingSM, colorMode); in GetDefaultShadow()
|
/foundation/arkui/ace_engine/test/unittest/core/event/ |
H A D | drag_event_test_ng.cpp | 1748 auto shadowTheme = AceType::MakeRefPtr<ShadowTheme>(); in HWTEST_F() local 1750 shadowTheme->SetThemeStyle(themeStyle); in HWTEST_F() 1751 EXPECT_CALL(*themeManager, GetTheme(_)).WillRepeatedly(Return(shadowTheme)); in HWTEST_F() 1781 auto shadowTheme = AceType::MakeRefPtr<ShadowTheme>(); in HWTEST_F() local 1783 shadowTheme->SetThemeStyle(themeStyle); in HWTEST_F() 1784 EXPECT_CALL(*themeManager, GetTheme(_)).WillRepeatedly(Return(shadowTheme)); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_overlay/ |
H A D | select_overlay_node.cpp | 949 auto shadowTheme = pipeline->GetTheme<ShadowTheme>(); in MoreAnimation() local 950 CHECK_NULL_VOID(shadowTheme); in MoreAnimation() 964 extensionOption, [extensionContext, selectMenuInnerContext, id = Container::CurrentId(), shadowTheme]() { in MoreAnimation() 971 extensionContext->UpdateBackShadow(shadowTheme->GetShadow(ShadowStyle::OuterDefaultMD, colorMode)); in MoreAnimation() 1359 auto shadowTheme = pipeline->GetTheme<ShadowTheme>(); in SelectMenuAndInnerInitProperty() local 1360 CHECK_NULL_VOID(shadowTheme); in SelectMenuAndInnerInitProperty() 1365 selectMenu_->GetRenderContext()->UpdateBackShadow(shadowTheme->GetShadow(ShadowStyle::OuterDefaultMD, colorMode)); in SelectMenuAndInnerInitProperty()
|
H A D | service_collaboration_menu_ace_helper.cpp | 711 auto shadowTheme = pipelineContext->GetTheme<ShadowTheme>(); in GetPopupParam() local 712 shadow = shadowTheme->GetShadow(ShadowStyle::OuterDefaultSM, colorMode); in GetPopupParam()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/ |
H A D | menu_pattern.cpp | 912 auto shadowTheme = pipelineContext->GetTheme<ShadowTheme>(); in GetShadowFromTheme() local 913 CHECK_NULL_RETURN(shadowTheme, false); in GetShadowFromTheme() 914 shadow = shadowTheme->GetShadow(shadowStyle, colorMode); in GetShadowFromTheme()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/ |
H A D | indexer_pattern.cpp | 1030 auto shadowTheme = pipelineContext->GetTheme<ShadowTheme>(); in GetPopupShadow() local 1031 CHECK_NULL_RETURN(shadowTheme, shadow); in GetPopupShadow() 1032 shadow = shadowTheme->GetShadow(ShadowStyle::OuterDefaultLG, colorMode); in GetPopupShadow()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | drag_event.cpp | 2325 auto shadowTheme = pipelineContext->GetTheme<ShadowTheme>(); in GetDefaultShadow() local 2326 CHECK_NULL_RETURN(shadowTheme, std::nullopt); in GetDefaultShadow() 2328 auto shadow = shadowTheme->GetShadow(ShadowStyle::OuterFloatingSM, colorMode); in GetDefaultShadow()
|
/foundation/arkui/ace_engine/interfaces/napi/kits/promptaction/ |
H A D | prompt_action.cpp | 239 auto shadowTheme = pipelineContext->GetTheme<ShadowTheme>(); in GetShadowFromTheme() local 240 if (!shadowTheme) { in GetShadowFromTheme() 243 shadow = shadowTheme->GetShadow(shadowStyle, colorMode); in GetShadowFromTheme()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | ui_content_impl.cpp | 3499 auto shadowTheme = pipelineContext->GetTheme<ShadowTheme>(); in GetPopupShadow() local 3500 CHECK_NULL_RETURN(shadowTheme, shadow); in GetPopupShadow() 3501 return shadowTheme->GetShadow(ShadowStyle::OuterDefaultMD, colorMode); in GetPopupShadow()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_common_modifier.cpp | 997 auto shadowTheme = pipelineContext->GetTheme<ShadowTheme>(); in GetShadowFromTheme() local 998 CHECK_NULL_RETURN(shadowTheme, false); in GetShadowFromTheme() 1000 shadow = shadowTheme->GetShadow(shadowStyle, colorMode); in GetShadowFromTheme()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_view_abstract.cpp | 9343 auto shadowTheme = pipelineContext->GetTheme<ShadowTheme>(); in GetShadowFromTheme() local 9344 if (!shadowTheme) { in GetShadowFromTheme() 9348 shadow = shadowTheme->GetShadow(shadowStyle, colorMode); in GetShadowFromTheme()
|