Home
last modified time | relevance | path

Searched refs:shadowTheme (Results 1 - 13 of 13) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components/theme/
H A Dshadow_theme.cpp29 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 Dtoast_view.cpp167 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 Ddrag_drop_func_wrapper.cpp429 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 Ddrag_event_test_ng.cpp1748 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 Dselect_overlay_node.cpp949 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 Dservice_collaboration_menu_ace_helper.cpp711 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 Dmenu_pattern.cpp912 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 Dindexer_pattern.cpp1030 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 Ddrag_event.cpp2325 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 Dprompt_action.cpp239 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 Dui_content_impl.cpp3499 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 Dnode_common_modifier.cpp997 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 Djs_view_abstract.cpp9343 auto shadowTheme = pipelineContext->GetTheme<ShadowTheme>(); in GetShadowFromTheme() local
9344 if (!shadowTheme) { in GetShadowFromTheme()
9348 shadow = shadowTheme->GetShadow(shadowStyle, colorMode); in GetShadowFromTheme()

Completed in 63 milliseconds