Searched refs:dialogTheme_ (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/dialog/ |
H A D | dialog_component.cpp | 79 if (!dialogTheme_) { in BuildChild() 408 …AceType::MakeRefPtr<Keyframe<float>>(dialogTheme_->GetFrameStart(), dialogTheme_->GetScaleStart()); in BuildAnimation() 418 … AceType::MakeRefPtr<Keyframe<float>>(dialogTheme_->GetFrameEnd(), dialogTheme_->GetOpacityEnd()); in BuildAnimation() 432 … AceType::MakeRefPtr<Keyframe<float>>(dialogTheme_->GetFrameStart(), dialogTheme_->GetScaleEnd()); in BuildAnimation() 434 … AceType::MakeRefPtr<Keyframe<float>>(dialogTheme_->GetFrameEnd(), dialogTheme_->GetScaleStart()); in BuildAnimation() 441 …AceType::MakeRefPtr<Keyframe<float>>(dialogTheme_->GetFrameStart(), dialogTheme_->GetOpacityEnd()); in BuildAnimation() 443 …AceType::MakeRefPtr<Keyframe<float>>(dialogTheme_->GetFrameEnd(), dialogTheme_->GetOpacityStart()); in BuildAnimation() 467 …AceType::MakeRefPtr<Keyframe<float>>(dialogTheme_->GetFrameStart(), dialogTheme_->GetScaleStart()); in BuildAnimationForPhone() 481 … AceType::MakeRefPtr<Keyframe<float>>(dialogTheme_->GetFrameEnd(), dialogTheme_->GetOpacityEnd()); in BuildAnimationForPhone() 495 … AceType::MakeRefPtr<Keyframe<float>>(dialogTheme_->GetFrameStart(), dialogTheme_->GetScaleEnd()); in BuildAnimationForPhone() [all …]
|
H A D | alert_dialog_component.cpp | 33 dialogTheme_ = AceType::DynamicCast<DialogTheme>(themeManager->GetTheme(DialogTheme::TypeId())); in BuildChild() 34 if (!dialogTheme_) { in BuildChild() 43 backDecoration->SetBackgroundColor(dialogTheme_->GetBackgroundColor()); in BuildChild() 45 border.SetBorderRadius(Radius(dialogTheme_->GetRadius())); in BuildChild() 101 dialogTheme_ = AceType::DynamicCast<DialogTheme>(themeManager->GetTheme(DialogTheme::TypeId())); in BuildActions() 102 if (!dialogTheme_) { in BuildActions() 123 actionsPadding->SetPadding(dialogTheme_->GetActionsPadding()); in BuildActions() 150 … padding->SetPadding(Edge(dialogTheme_->GetButtonSpacingHorizontal(), 0.0_vp, 0.0_vp, 0.0_vp)); in BuildActions()
|
H A D | dialog_component.h | 338 RefPtr<DialogTheme> dialogTheme_; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/ |
H A D | dialog_pattern.cpp | 331 radius.SetRadius(dialogTheme_->GetRadius().GetX()); in UpdateContentRenderContext() 497 auto titleStyle = dialogTheme_->GetTitleTextStyle(); in BuildMainTitle() 619 … props.buttons.empty() ? dialogTheme_->GetDefaultPadding() : dialogTheme_->GetAdjustPadding(); in BuildContent() 623 …props.buttons.empty() ? dialogTheme_->GetContentDefaultPadding() : dialogTheme_->GetContentAdjustP… in BuildContent() 851 auto padding = dialogTheme_->GetActionsPadding(); in BuildButtons() 865 auto dividerLength = dialogTheme_->GetDividerLength(); in AddButtonAndDivider() 867 auto dividerColor = dialogTheme_->GetDividerColor(); in AddButtonAndDivider() 899 …dialogTheme_->GetButtonTextSize().IsValid() ? dialogTheme_->GetButtonTextSize() : DIALOG_BUTTON_TE… in CreateButtonText() 975 auto style = dialogTheme_->GetContentTextStyle(); in BuildSheetInfoTitle() 1156 dialogTheme_ = dialogTheme; in OnColorConfigurationUpdate() [all …]
|
H A D | dialog_pattern.h | 56 : dialogTheme_(dialogTheme), customNode_(customNode) in DialogPattern() 386 RefPtr<DialogTheme> dialogTheme_; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/dialog/action_sheet/ |
H A D | action_sheet_component.cpp | 38 dialogTheme_ = AceType::DynamicCast<DialogTheme>(themeManager->GetTheme(DialogTheme::TypeId())); in BuildChild() 39 if (!dialogTheme_) { in BuildChild() 94 auto style = dialogTheme_->GetContentTextStyle(); in BuildMenu() 95 style.SetMaxLines(dialogTheme_->GetTitleMaxLines()); in BuildMenu() 97 style.SetAdaptTextSize(style.GetFontSize(), dialogTheme_->GetTitleMinFontSize()); in BuildMenu() 128 …contentPadding_ = actions_.empty() ? dialogTheme_->GetDefaultPadding() : dialogTheme_->GetAdjustPa… in BuildContent() 131 …actions_.empty() ? dialogTheme_->GetContentDefaultPadding() : dialogTheme_->GetContentAdjustPaddin… in BuildContent()
|