Home
last modified time | relevance | path

Searched refs:dialogTheme_ (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/dialog/
H A Ddialog_component.cpp79 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 Dalert_dialog_component.cpp33 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 Ddialog_component.h338 RefPtr<DialogTheme> dialogTheme_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/
H A Ddialog_pattern.cpp331 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()
899dialogTheme_->GetButtonTextSize().IsValid() ? dialogTheme_->GetButtonTextSize() : DIALOG_BUTTON_TE… in CreateButtonText()
975 auto style = dialogTheme_->GetContentTextStyle(); in BuildSheetInfoTitle()
1156 dialogTheme_ = dialogTheme; in OnColorConfigurationUpdate()
[all …]
H A Ddialog_pattern.h56 : 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 Daction_sheet_component.cpp38 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()