Home
last modified time | relevance | path

Searched refs:pickerTheme (Results 1 - 25 of 49) sorted by relevance

12

/foundation/arkui/ace_engine/test/mock/core/common/
H A Dmock_theme_default.h31 auto pickerTheme = AceType::MakeRefPtr<PickerTheme>(); in GetPickerTheme() local
32 pickerTheme->showOptionCount_ = 5; in GetPickerTheme()
33 pickerTheme->focusColor_ = Color::FromString("#FFFF0000"); in GetPickerTheme()
34 pickerTheme->showOptionCount_ = 5; in GetPickerTheme()
35 pickerTheme->showButtons_ = true; in GetPickerTheme()
36 pickerTheme->buttonWidth_ = Dimension(10.0, DimensionUnit::PX); in GetPickerTheme()
37 pickerTheme->buttonHeight_ = Dimension(10.0, DimensionUnit::PX); in GetPickerTheme()
38 pickerTheme->buttonTopPadding_ = Dimension(10.0, DimensionUnit::PX); in GetPickerTheme()
39 pickerTheme->jumpInterval_ = Dimension(10.0, DimensionUnit::PX); in GetPickerTheme()
40 pickerTheme in GetPickerTheme()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Ddatepicker_column_layout_algorithm.cpp48 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); in Measure() local
49 CHECK_NULL_VOID(pickerTheme); in Measure()
56 uint32_t showCount_ = pickerTheme->GetShowCountPortrait() + BUFFER_NODE_NUMBER; in Measure()
58 showCount_ = pickerTheme->GetShowCountLandscape() + BUFFER_NODE_NUMBER; in Measure()
76 pickerWidth = static_cast<float>((pickerTheme->GetDividerSpacing() * DIVIDER_SIZE).ConvertToPx()); in Measure()
87 auto height = static_cast<float>(pickerTheme->GetGradientHeight().ConvertToPx() * gradientFontScale_ * in Measure()
88 (showCount_ - HIDENODE) + pickerTheme->GetDividerSpacing().ConvertToPx() * dividerSpacingFontScale_); in Measure()
100 auto gradientHeight = pickerTheme->GetGradientHeight().ConvertToPx() * gradientFontScale_; in Measure()
101 auto dividerSpacingHeight = pickerTheme->GetDividerSpacing().ConvertToPx() * dividerSpacingFontScale_; in Measure()
118 auto gradientPercent = static_cast<float>(pickerTheme in Measure()
159 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); ChangeTextStyle() local
180 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); Layout() local
215 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); NeedAdaptForAging() local
228 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); AdjustFontSizeScale() local
245 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); ReCalcItemHeightScale() local
[all...]
H A Ddatepicker_dialog_view.cpp163 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); in CreateLunarSwitchTextNode() local
164 CHECK_NULL_RETURN(pickerTheme, nullptr); in CreateLunarSwitchTextNode()
172 textLayoutProperty->UpdateFontSize(ConvertFontScaleValue(pickerTheme->GetLunarSwitchTextSize())); in CreateLunarSwitchTextNode()
173 textLayoutProperty->UpdateTextColor(pickerTheme->GetLunarSwitchTextColor()); in CreateLunarSwitchTextNode()
256 auto pickerTheme = pipeline->GetTheme<PickerTheme>();
277 textLayoutProperty->UpdateTextColor(pickerTheme->GetTitleStyle().GetTextColor());
278 textLayoutProperty->UpdateFontSize(ConvertTitleFontScaleValue(pickerTheme->GetTitleStyle().GetFontSize()));
279 textLayoutProperty->UpdateFontWeight(pickerTheme->GetTitleStyle().GetFontWeight());
280 textLayoutProperty->UpdateTextOverflow(pickerTheme->GetTitleStyle().GetTextOverflow());
281 textLayoutProperty->UpdateMaxLines(pickerTheme
[all...]
H A Ddatepicker_column_pattern.cpp75 auto pickerTheme = context->GetTheme<PickerTheme>(); in OnAttachToFrameNode() local
76 CHECK_NULL_VOID(pickerTheme); in OnAttachToFrameNode()
83 jumpInterval_ = pickerTheme->GetJumpInterval().ConvertToPx(); in OnAttachToFrameNode()
450 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); in UpdatePickerTextProperties() local
451 CHECK_NULL_VOID(pickerTheme); in UpdatePickerTextProperties()
455 UpdateSelectedTextProperties(pickerTheme, textLayoutProperty, dataPickerRowLayoutProperty); in UpdatePickerTextProperties()
458 UpdateCandidateTextProperties(pickerTheme, textLayoutProperty, dataPickerRowLayoutProperty); in UpdatePickerTextProperties()
460 UpdateDisappearTextProperties(pickerTheme, textLayoutProperty, dataPickerRowLayoutProperty); in UpdatePickerTextProperties()
471 void DatePickerColumnPattern::UpdateDisappearTextProperties(const RefPtr<PickerTheme>& pickerTheme, in UpdateDisappearTextProperties() argument
475 auto normalOptionSize = pickerTheme in UpdateDisappearTextProperties()
492 UpdateCandidateTextProperties(const RefPtr<PickerTheme>& pickerTheme, const RefPtr<TextLayoutProperty>& textLayoutProperty, const RefPtr<DataPickerRowLayoutProperty>& dataPickerRowLayoutProperty) UpdateCandidateTextProperties() argument
516 UpdateSelectedTextProperties(const RefPtr<PickerTheme>& pickerTheme, const RefPtr<TextLayoutProperty>& textLayoutProperty, const RefPtr<DataPickerRowLayoutProperty>& dataPickerRowLayoutProperty) UpdateSelectedTextProperties() argument
543 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); SetDividerHeight() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
H A Dtextpicker_layout_algorithm.cpp41 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); in Measure() local
42 CHECK_NULL_VOID(pickerTheme); in Measure()
60 GetColumnSize(layoutProperty, pickerTheme, dialogTheme, frameSize, pickerNode); in Measure()
70 float gradientPercent = GetGradientPercent(layoutProperty, textPickerPattern, frameSize, pickerTheme); in Measure()
75 const RefPtr<TextPickerPattern>& textPickerPattern, SizeF& frameSize, const RefPtr<PickerTheme>& pickerTheme) in GetGradientPercent()
92 (pickerTheme->GetGradientHeight().ConvertToPx()) * gradientFontScale_ / frameSize.Height(); in GetGradientPercent()
97 gradientPercent = static_cast<float>(pickerTheme->GetGradientHeight().ConvertToPx()) * gradientFontScale_ / in GetGradientPercent()
104 const RefPtr<PickerTheme>& pickerTheme, const RefPtr<DialogTheme>& dialogTheme, SizeF& frameSize, in GetColumnSize()
116 uint32_t showCount_ = pickerTheme->GetShowCountPortrait(); in GetColumnSize()
118 showCount_ = pickerTheme in GetColumnSize()
74 GetGradientPercent(const RefPtr<TextPickerLayoutProperty>& layoutProperty, const RefPtr<TextPickerPattern>& textPickerPattern, SizeF& frameSize, const RefPtr<PickerTheme>& pickerTheme) GetGradientPercent() argument
103 GetColumnSize(const RefPtr<TextPickerLayoutProperty>& layoutProperty, const RefPtr<PickerTheme>& pickerTheme, const RefPtr<DialogTheme>& dialogTheme, SizeF& frameSize, const RefPtr<FrameNode>& pickerNode) GetColumnSize() argument
197 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); ChangeTextStyle() local
250 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); Layout() local
300 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); NeedAdaptForAging() local
313 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); AdjustFontSizeScale() local
330 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); ReCalcItemHeightScale() local
[all...]
H A Dtextpicker_dialog_view.cpp96 auto pickerTheme = themeManager->GetTheme<PickerTheme>(); in RangeShow() local
97 CHECK_NULL_RETURN(pickerTheme, nullptr); in RangeShow()
103 uint32_t showCount = pickerTheme->GetShowOptionCount() + BUFFER_NODE_NUMBER; in RangeShow()
104 OptionsCreateNode(textPickerPattern, settingData, textPickerNode, showCount, 1, pickerTheme); in RangeShow()
106 SetTextProperties(pickerTheme, settingData.properties); in RangeShow()
162 uint32_t columnCount, RefPtr<PickerTheme> pickerTheme) in OptionsCreateNode()
168 showCount, pickerTheme); in OptionsCreateNode()
169 auto stackNode = CreateStackNode(pickerTheme); in OptionsCreateNode()
194 RefPtr<PickerTheme> pickerTheme) in OptionsShowInternal()
209 OptionsCreateNode(textPickerPattern, settingData, textPickerNode, showCount, columnCount, pickerTheme); in OptionsShowInternal()
160 OptionsCreateNode(const RefPtr<TextPickerPattern>& textPickerPattern, const TextPickerSettingData& settingData, const RefPtr<FrameNode>& textPickerNode, uint32_t showCount, uint32_t columnCount, RefPtr<PickerTheme> pickerTheme) OptionsCreateNode() argument
192 OptionsShowInternal(const RefPtr<TextPickerPattern>& textPickerPattern, const TextPickerSettingData& settingData, const RefPtr<FrameNode>& textPickerNode, uint32_t showCount, RefPtr<PickerTheme> pickerTheme) OptionsShowInternal() argument
250 auto pickerTheme = themeManager->GetTheme<PickerTheme>(); OptionsShow() local
294 CreateIconItemNode(RefPtr<PickerTheme> pickerTheme) CreateIconItemNode() argument
316 CreateTextItemNode(RefPtr<PickerTheme> pickerTheme) CreateTextItemNode() argument
328 CreateMixtureItemNode(RefPtr<PickerTheme> pickerTheme) CreateMixtureItemNode() argument
353 CreateColumnNode( uint32_t columnKind, uint32_t showCount, RefPtr<PickerTheme> pickerTheme) CreateColumnNode() argument
382 CreateStackNode(RefPtr<PickerTheme> pickerTheme) CreateStackNode() argument
[all...]
H A Dtextpicker_dialog_view.h72 static RefPtr<FrameNode> CreateStackNode(RefPtr<PickerTheme> pickerTheme);
76 uint32_t showCount, RefPtr<PickerTheme> pickerTheme);
77 static RefPtr<FrameNode> CreateIconItemNode(RefPtr<PickerTheme> pickerTheme);
78 static RefPtr<FrameNode> CreateTextItemNode(RefPtr<PickerTheme> pickerTheme);
79 static RefPtr<FrameNode> CreateMixtureItemNode(RefPtr<PickerTheme> pickerTheme);
80 static void SetTextProperties(const RefPtr<PickerTheme>& pickerTheme,
84 uint32_t showCount, uint32_t columnCount, RefPtr<PickerTheme> pickerTheme);
87 uint32_t showCount, RefPtr<PickerTheme> pickerTheme);
91 RefPtr<PickerTheme> pickerTheme);
99 const RefPtr<FrameNode>& textConfirmNode, const RefPtr<PickerTheme>& pickerTheme);
[all...]
H A Dtextpicker_model.h56 virtual void Create(RefPtr<PickerTheme> pickerTheme, uint32_t columnKind) = 0;
63 virtual void SetDefaultAttributes(const RefPtr<PickerTheme>& pickerTheme) = 0;
64 virtual void SetDisappearTextStyle(const RefPtr<PickerTheme>& pickerTheme, const NG::PickerTextStyle& value) = 0;
65 virtual void SetNormalTextStyle(const RefPtr<PickerTheme>& pickerTheme, const NG::PickerTextStyle& value) = 0;
66 virtual void SetSelectedTextStyle(const RefPtr<PickerTheme>& pickerTheme, const NG::PickerTextStyle& value) = 0;
70 virtual void MultiInit(const RefPtr<PickerTheme> pickerTheme) = 0;
H A Dtextpicker_model_ng.h28 void Create(RefPtr<PickerTheme> pickerTheme, uint32_t columnKind) override;
35 void SetDefaultAttributes(const RefPtr<PickerTheme>& pickerTheme) override;
36 void SetDisappearTextStyle(const RefPtr<PickerTheme>& pickerTheme, const NG::PickerTextStyle& value) override;
37 void SetNormalTextStyle(const RefPtr<PickerTheme>& pickerTheme, const NG::PickerTextStyle& value) override;
38 void SetSelectedTextStyle(const RefPtr<PickerTheme>& pickerTheme, const NG::PickerTextStyle& value) override;
42 void MultiInit(const RefPtr<PickerTheme> pickerTheme) override;
98 FrameNode* frameNode, const RefPtr<PickerTheme>& pickerTheme, const NG::PickerTextStyle& value);
100 FrameNode* frameNode, const RefPtr<PickerTheme>& pickerTheme, const NG::PickerTextStyle& value);
102 FrameNode* frameNode, const RefPtr<PickerTheme>& pickerTheme, const NG::PickerTextStyle& value);
115 static void SetDefaultAttributes(RefPtr<FrameNode>& frameNode, const RefPtr<PickerTheme>& pickerTheme);
[all...]
H A Dtextpicker_model_ng.cpp76 void TextPickerModelNG::Create(RefPtr<PickerTheme> pickerTheme, uint32_t columnKind) in Create() argument
91 CHECK_NULL_VOID(pickerTheme); in Create()
92 uint32_t showCount = pickerTheme->GetShowOptionCount() + BUFFER_NODE_NUMBER; in Create()
112 void TextPickerModelNG::SetDefaultAttributes(const RefPtr<PickerTheme>& pickerTheme) in SetDefaultAttributes() argument
114 CHECK_NULL_VOID(pickerTheme); in SetDefaultAttributes()
115 auto selectedStyle = pickerTheme->GetOptionStyle(true, false); in SetDefaultAttributes()
123 auto disappearStyle = pickerTheme->GetDisappearOptionStyle(); in SetDefaultAttributes()
131 auto normalStyle = pickerTheme->GetOptionStyle(false, false); in SetDefaultAttributes()
226 auto pickerTheme = pipeline->GetTheme<PickerTheme>();
227 CHECK_NULL_RETURN(pickerTheme, textPickerNod
[all...]
H A Dtextpicker_column_pattern.cpp64 auto pickerTheme = context->GetTheme<PickerTheme>(); in OnAttachToFrameNode() local
65 CHECK_NULL_VOID(pickerTheme); in OnAttachToFrameNode()
73 jumpInterval_ = pickerTheme->GetJumpInterval().ConvertToPx(); in OnAttachToFrameNode()
345 auto pickerTheme = context->GetTheme<PickerTheme>(); in GetShowOptionCount() local
346 CHECK_NULL_RETURN(pickerTheme, 0); in GetShowOptionCount()
347 auto showCount = pickerTheme->GetShowOptionCount() + BUFFER_NODE_NUMBER; in GetShowOptionCount()
707 void TextPickerColumnPattern::UpdateDisappearTextProperties(const RefPtr<PickerTheme>& pickerTheme, in UpdateDisappearTextProperties() argument
711 auto normalOptionSize = pickerTheme->GetOptionStyle(false, false).GetFontSize(); in UpdateDisappearTextProperties()
713 pickerTheme->GetOptionStyle(false, false).GetTextColor())); in UpdateDisappearTextProperties()
718 textLayoutProperty->UpdateAdaptMinFontSize(pickerTheme in UpdateDisappearTextProperties()
729 UpdateCandidateTextProperties(const RefPtr<PickerTheme>& pickerTheme, const RefPtr<TextLayoutProperty>& textLayoutProperty, const RefPtr<TextPickerLayoutProperty>& textPickerLayoutProperty) UpdateCandidateTextProperties() argument
752 UpdateSelectedTextProperties(const RefPtr<PickerTheme>& pickerTheme, const RefPtr<TextLayoutProperty>& textLayoutProperty, const RefPtr<TextPickerLayoutProperty>& textPickerLayoutProperty) UpdateSelectedTextProperties() argument
829 auto pickerTheme = context->GetTheme<PickerTheme>(); UpdatePickerTextProperties() local
[all...]
H A Dtextpicker_layout_algorithm.h40 void GetColumnSize(const RefPtr<TextPickerLayoutProperty>& LayoutProperty, const RefPtr<PickerTheme>& pickerTheme,
43 const RefPtr<TextPickerPattern>& textPickerPattern, SizeF& frameSize, const RefPtr<PickerTheme>& pickerTheme);
H A Dtextpicker_pattern.cpp195 auto pickerTheme = context->GetTheme<PickerTheme>(); in SetButtonIdeaSize() local
196 CHECK_NULL_VOID(pickerTheme); in SetButtonIdeaSize()
486 auto pickerTheme = context->GetTheme<PickerTheme>(); in CalculateHeight() local
487 CHECK_NULL_RETURN(pickerTheme, height); in CalculateHeight()
491 height = pickerTheme->GetDividerSpacing().ConvertToPx(); in CalculateHeight()
495 height = pickerTheme->GetGradientHeight().ConvertToPx() * defaultPickerItemHeightValue.Value(); in CalculateHeight()
500 height = pickerTheme->GetDividerSpacing().ConvertToPx(); in CalculateHeight()
601 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); in GetInnerFocusPaintRect() local
602 CHECK_NULL_VOID(pickerTheme); in GetInnerFocusPaintRect()
611 auto dividerSpacing = pipeline->NormalizeToPx(pickerTheme in GetInnerFocusPaintRect()
1063 auto pickerTheme = context->GetTheme<PickerTheme>(); OnColorConfigurationUpdate() local
1166 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); NeedAdaptForAging() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtimepicker_column_layout_algorithm.cpp47 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); in Measure() local
48 CHECK_NULL_VOID(pickerTheme); in Measure()
60 uint32_t showCount_ = pickerTheme->GetShowCountPortrait() + BUFFER_NODE_NUMBER; in Measure()
62 showCount_ = pickerTheme->GetShowCountLandscape() + BUFFER_NODE_NUMBER; in Measure()
72 auto height = static_cast<float>(pickerTheme->GetGradientHeight().ConvertToPx() * gradientFontScale_ * in Measure()
73 (showCount_ - HIDENODE) + pickerTheme->GetDividerSpacing().ConvertToPx() * dividerSpacingFontScale_); in Measure()
79 float pickerWidth = static_cast<float>((pickerTheme->GetDividerSpacing() * DIVIDER_SIZE).ConvertToPx()); in Measure()
93 auto gradientPercent = static_cast<float>(pickerTheme->GetGradientHeight().ConvertToPx() * in Measure()
105 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); in GetPickerMaxHeight() local
106 CHECK_NULL_RETURN(pickerTheme, pickerMaxHeigh in GetPickerMaxHeight()
162 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); ChangeAmPmTextStyle() local
182 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); Layout() local
217 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); NeedAdaptForAging() local
230 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); AdjustFontSizeScale() local
246 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); ReCalcItemHeightScale() local
[all...]
H A Dtimepicker_dialog_view.cpp64 auto pickerTheme = themeManager->GetTheme<PickerTheme>(); in Show() local
65 CHECK_NULL_RETURN(pickerTheme, nullptr); in Show()
67 uint32_t showCount = pickerTheme->GetShowOptionCount() + BUFFER_NODE_NUMBER; in Show()
153 SetTextProperties(pickerTheme, settingData.properties); in Show()
264 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); in CreateNextPrevButtonNode() local
274 textNextPrevLayoutProperty->UpdateTextColor(pickerTheme->GetOptionStyle(true, false).GetTextColor()); in CreateNextPrevButtonNode()
276 ConvertFontScaleValue(pickerTheme->GetOptionStyle(false, false).GetFontSize())); in CreateNextPrevButtonNode()
277 textNextPrevLayoutProperty->UpdateFontWeight(pickerTheme->GetOptionStyle(true, false).GetFontWeight()); in CreateNextPrevButtonNode()
299 CalcSize(CalcLength(pickerTheme->GetButtonWidth()), CalcLength(pickerTheme in CreateNextPrevButtonNode()
[all...]
H A Dtimepicker_column_pattern.cpp66 auto pickerTheme = context->GetTheme<PickerTheme>(); in OnAttachToFrameNode() local
67 CHECK_NULL_VOID(pickerTheme); in OnAttachToFrameNode()
74 jumpInterval_ = pickerTheme->GetJumpInterval().ConvertToPx(); in OnAttachToFrameNode()
503 void TimePickerColumnPattern::UpdateDisappearTextProperties(const RefPtr<PickerTheme>& pickerTheme, in UpdateDisappearTextProperties() argument
507 auto normalOptionSize = pickerTheme->GetOptionStyle(false, false).GetFontSize(); in UpdateDisappearTextProperties()
509 pickerTheme->GetOptionStyle(false, false).GetTextColor())); in UpdateDisappearTextProperties()
514 textLayoutProperty->UpdateAdaptMinFontSize(pickerTheme->GetOptionStyle(false, false).GetAdaptMinFontSize()); in UpdateDisappearTextProperties()
517 pickerTheme->GetOptionStyle(false, false).GetFontWeight())); in UpdateDisappearTextProperties()
519 pickerTheme->GetOptionStyle(false, false).GetFontWeight()); in UpdateDisappearTextProperties()
521 pickerTheme in UpdateDisappearTextProperties()
526 UpdateCandidateTextProperties(const RefPtr<PickerTheme>& pickerTheme, const RefPtr<TextLayoutProperty>& textLayoutProperty, const RefPtr<TimePickerLayoutProperty>& timePickerLayoutProperty) UpdateCandidateTextProperties() argument
548 UpdateSelectedTextProperties(const RefPtr<PickerTheme>& pickerTheme, const RefPtr<TextLayoutProperty>& textLayoutProperty, const RefPtr<TimePickerLayoutProperty>& timePickerLayoutProperty) UpdateSelectedTextProperties() argument
580 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); ChangeAmPmTextStyle() local
607 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); ChangeTextStyle() local
1164 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); SetDividerHeight() local
[all...]
H A Dtimepicker_dialog_view.h55 const RefPtr<ButtonLayoutProperty>& buttonConfirmLayoutProperty, const RefPtr<PickerTheme>& pickerTheme);
65 static void SetTextProperties(const RefPtr<PickerTheme>& pickerTheme, const PickerTextProperties& properties);
101 static void SetTextDisappearProperties(const RefPtr<PickerTheme>& pickerTheme,
104 const RefPtr<TextLayoutProperty>& textLayoutProperty, const RefPtr<PickerTheme>& pickerTheme);
106 const RefPtr<TextLayoutProperty>& textCancelLayoutProperty, const RefPtr<PickerTheme>& pickerTheme);
/foundation/arkui/ace_engine/test/unittest/core/pattern/time_picker/
H A Dtime_picker_test_dialog_view.cpp185 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); in HWTEST_F() local
186 ASSERT_TRUE(pickerTheme); in HWTEST_F()
200 pickerTheme->pickerDialogMaxOneFontScale_ = 5; in HWTEST_F()
208 pickerTheme->pickerDialogNormalFontScale_ = 10; in HWTEST_F()
209 pickerTheme->pickerDialogMaxOneFontScale_ = 5; in HWTEST_F()
213 auto scale = pickerTheme->GetMaxTwoFontScale() / pickerTheme->GetMaxThirdFontScale(); in HWTEST_F()
219 pickerTheme->pickerDialogMaxTwoFontScale_ = 10; in HWTEST_F()
220 pickerTheme->pickerDialogMaxThirdFontScale_ = 5; in HWTEST_F()
240 auto pickerTheme in HWTEST_F() local
278 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dtextpicker_model_impl.h27 void Create(RefPtr<PickerTheme> pickerTheme, uint32_t columnKind) override;
33 void SetDefaultAttributes(const RefPtr<PickerTheme>& pickerTheme) override {}
34 void SetDisappearTextStyle(const RefPtr<PickerTheme>& pickerTheme, const NG::PickerTextStyle& value) override {};
35 void SetNormalTextStyle(const RefPtr<PickerTheme>& pickerTheme, const NG::PickerTextStyle& value) override {};
36 void SetSelectedTextStyle(const RefPtr<PickerTheme>& pickerTheme, const NG::PickerTextStyle& value) override {};
40 void MultiInit(const RefPtr<PickerTheme> pickerTheme) override {};
H A Dtextpicker_model_impl.cpp22 void TextPickerModelImpl::Create(RefPtr<PickerTheme> pickerTheme, uint32_t columnKind) in Create() argument
30 textPicker->SetTheme(pickerTheme); in Create()
H A Dtimepicker_model_impl.cpp22 void TimePickerModelImpl::CreateTimePicker(RefPtr<PickerTheme> pickerTheme, bool hasSecond) in CreateTimePicker() argument
29 timePicker->SetTheme(pickerTheme); in CreateTimePicker()
/foundation/arkui/ace_engine/test/unittest/core/pattern/picker/
H A Ddate_picker_order_test.cpp426 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); in HWTEST_F() local
444 uint32_t showCount = pickerTheme->GetShowOptionCount() + BUFFER_NODE_NUMBER; in HWTEST_F()
482 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); in HWTEST_F() local
500 uint32_t showCount = pickerTheme->GetShowOptionCount() + BUFFER_NODE_NUMBER; in HWTEST_F()
538 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); in HWTEST_F() local
556 uint32_t showCount = pickerTheme->GetShowOptionCount() + BUFFER_NODE_NUMBER; in HWTEST_F()
594 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); in HWTEST_F() local
612 uint32_t showCount = pickerTheme->GetShowOptionCount() + BUFFER_NODE_NUMBER; in HWTEST_F()
650 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); in HWTEST_F() local
668 uint32_t showCount = pickerTheme in HWTEST_F()
706 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); HWTEST_F() local
762 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); HWTEST_F() local
817 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); HWTEST_F() local
872 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); HWTEST_F() local
927 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); HWTEST_F() local
982 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); HWTEST_F() local
1037 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); HWTEST_F() local
1092 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); HWTEST_F() local
1147 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); HWTEST_F() local
1202 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); HWTEST_F() local
1257 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); HWTEST_F() local
1312 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); HWTEST_F() local
1367 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); HWTEST_F() local
1422 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); HWTEST_F() local
1477 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); HWTEST_F() local
1532 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); HWTEST_F() local
1587 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); HWTEST_F() local
1642 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); HWTEST_F() local
1697 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); HWTEST_F() local
1752 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); HWTEST_F() local
1811 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); HWTEST_F() local
1868 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); HWTEST_F() local
1920 auto pickerTheme = MockPipelineContext::GetCurrent()->GetTheme<PickerTheme>(); HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_textpicker_modifier.cpp155 auto pickerTheme = themeManager->GetTheme<PickerTheme>(); in ResetTextPickerTextStyle() local
156 TextPickerModelNG::SetNormalTextStyle(frameNode, pickerTheme, pickerTextStyle); in ResetTextPickerTextStyle()
198 auto pickerTheme = themeManager->GetTheme<PickerTheme>(); in ResetTextPickerSelectedTextStyle() local
199 TextPickerModelNG::SetSelectedTextStyle(frameNode, pickerTheme, pickerTextStyle); in ResetTextPickerSelectedTextStyle()
242 auto pickerTheme = themeManager->GetTheme<PickerTheme>(); in ResetTextPickerDisappearTextStyle() local
243 TextPickerModelNG::SetDisappearTextStyle(frameNode, pickerTheme, pickerTextStyle); in ResetTextPickerDisappearTextStyle()
448 auto pickerTheme = themeManager->GetTheme<PickerTheme>(); in ResetTextPickerDivider() local
452 if (pickerTheme) { in ResetTextPickerDivider()
453 defaultStrokeWidth = pickerTheme->GetDividerThickness(); in ResetTextPickerDivider()
454 defaultColor = pickerTheme in ResetTextPickerDivider()
485 auto pickerTheme = themeManager->GetTheme<PickerTheme>(); ResetTextPickerGradientHeight() local
[all...]
H A Dnode_timepicker_modifier.cpp106 auto pickerTheme = themeManager->GetTheme<PickerTheme>(); in ResetTimepickerTextStyle() local
107 TimePickerModelNG::SetNormalTextStyle(frameNode, pickerTheme, pickerTextStyle); in ResetTimepickerTextStyle()
149 auto pickerTheme = themeManager->GetTheme<PickerTheme>(); in ResetTimepickerSelectedTextStyle() local
150 TimePickerModelNG::SetSelectedTextStyle(frameNode, pickerTheme, pickerTextStyle); in ResetTimepickerSelectedTextStyle()
193 auto pickerTheme = themeManager->GetTheme<PickerTheme>(); in ResetTimepickerDisappearTextStyle() local
195 TimePickerModelNG::SetDisappearTextStyle(frameNode, pickerTheme, pickerTextStyle); in ResetTimepickerDisappearTextStyle()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/
H A Dcalendar_dialog_pattern.h73 auto pickerTheme = pipeline->GetTheme<PickerTheme>(); variable
75 CHECK_NULL_RETURN(pickerTheme, FocusPattern());
77 auto focusColor = pickerTheme->GetFocusColor();

Completed in 20 milliseconds

12