Home
last modified time | relevance | path

Searched refs:textPickerPattern (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
H A Dtextpicker_model_ng.cpp85 CHECK_NULL_VOID(textPickerPattern); in Create()
251 textPickerPattern->SetRange(value); in SetRange()
267 CHECK_NULL_VOID(textPickerPattern); in SetGradientHeight()
277 CHECK_NULL_VOID(textPickerPattern); in SetCanLoop()
287 CHECK_NULL_VOID(textPickerPattern); in SetBackgroundColor()
359 CHECK_NULL_VOID(textPickerPattern); in HasUserDefinedDisappearFontFamily()
368 CHECK_NULL_VOID(textPickerPattern); in HasUserDefinedNormalFontFamily()
377 CHECK_NULL_VOID(textPickerPattern); in HasUserDefinedSelectedFontFamily()
423 CHECK_NULL_VOID(textPickerPattern); in SetIsCascade()
433 CHECK_NULL_VOID(textPickerPattern); in SetHasSelectAttr()
[all …]
H A Dtextpicker_paint_method.cpp46 auto textPickerPattern = pickerNode->GetPattern<TextPickerPattern>(); in GetForegroundDrawFunction() local
47 CHECK_NULL_RETURN(textPickerPattern, nullptr); in GetForegroundDrawFunction()
48 auto fontScale = textPickerPattern->GetPaintDividerSpacing(); in GetForegroundDrawFunction()
56 CHECK_NULL_VOID(textPickerPattern); in GetForegroundDrawFunction()
63 if (textPickerPattern->GetResizeFlag()) { in GetForegroundDrawFunction()
68 if (textPickerPattern->GetCustomDividerFlag()) { in GetForegroundDrawFunction()
69 auto divider = textPickerPattern->GetDivider(); in GetForegroundDrawFunction()
101 CHECK_NULL_VOID(textPickerPattern); in PaintDefaultDividerLines()
102 if (textPickerPattern->GetIsShowInDialog()) { in PaintDefaultDividerLines()
153 if (!textPickerPattern) { in NeedPaintDividerLines()
[all …]
H A Dtextpicker_layout_algorithm.cpp65 auto textPickerPattern = pickerNode->GetPattern<TextPickerPattern>(); in Measure() local
66 CHECK_NULL_VOID(textPickerPattern); in Measure()
70 textPickerPattern->CheckAndUpdateColumnSize(frameSize, NeedAdaptForAging()); in Measure()
91 auto gradientheight = textPickerPattern->GetGradientHeight(); in GetGradientPercent()
130 auto textPickerPattern = pickerNode->GetPattern<TextPickerPattern>(); in GetColumnSize() local
131 CHECK_NULL_VOID(textPickerPattern); in GetColumnSize()
133 auto isUserSetGradientFont = textPickerPattern->GetIsUserSetGradientFont(); in GetColumnSize()
136 textPickerPattern->SetPaintDividerSpacing(dividerSpacingFontScale_); in GetColumnSize()
154 if (textPickerPattern->GetIsShowInDialog() && isDefaultPickerItemHeight_) { in GetColumnSize()
163 textPickerPattern->SetResizePickerItemHeight(defaultPickerItemHeight_); in GetColumnSize()
[all …]
H A Dtextpicker_dialog_view.cpp88 CHECK_NULL_RETURN(textPickerPattern, nullptr); in RangeShow()
90 textPickerPattern->SetIsShowInDialog(true); in RangeShow()
91 textPickerPattern->SetPickerTag(false); in RangeShow()
152 CHECK_NULL_VOID(textPickerPattern); in CloseDialogEvent()
245 CHECK_NULL_RETURN(textPickerPattern, nullptr); in OptionsShow()
246 textPickerPattern->SetIsShowInDialog(true); in OptionsShow()
247 textPickerPattern->SetPickerTag(false); in OptionsShow()
914 textPickerPattern->SetSelected(value); in SetSelected()
921 textPickerPattern->SetSelecteds(values); in SetSelectedValues()
928 textPickerPattern->SetValues(values); in SetValues()
[all …]
H A Dtextpicker_row_accessibility_property.cpp28 auto textPickerPattern = frameNode->GetPattern<NG::TextPickerPattern>(); in GetText() local
29 CHECK_NULL_RETURN(textPickerPattern, ""); in GetText()
30 auto allChildNode = textPickerPattern->GetColumnNodes(); in GetText()
H A Dtextpicker_dialog_view.h41 static void SetSelected(const RefPtr<TextPickerPattern>& textPickerPattern, uint32_t value = 0);
42 static void SetSelectedValues(const RefPtr<TextPickerPattern>& textPickerPattern,
44 static void SetValues(const RefPtr<TextPickerPattern>& textPickerPattern,
46 static void SetRange(const RefPtr<TextPickerPattern>& textPickerPattern,
83 static void OptionsCreateNode(const RefPtr<TextPickerPattern>& textPickerPattern,
86 static void OptionsShowInternal(const RefPtr<TextPickerPattern>& textPickerPattern,
135 … static std::function<void()> CloseDialogEvent(const RefPtr<TextPickerPattern>& textPickerPattern,
H A Dtextpicker_layout_algorithm.h45 …const RefPtr<TextPickerPattern>& textPickerPattern, SizeF& frameSize, const RefPtr<PickerTheme>& p…
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_picker/
H A Dtext_picker_gradient_height_test_ng.cpp225 ASSERT_NE(textPickerPattern, nullptr);
255 ASSERT_NE(textPickerPattern, nullptr);
285 ASSERT_NE(textPickerPattern, nullptr);
315 ASSERT_NE(textPickerPattern, nullptr);
345 ASSERT_NE(textPickerPattern, nullptr);
375 ASSERT_NE(textPickerPattern, nullptr);
405 ASSERT_NE(textPickerPattern, nullptr);
435 ASSERT_NE(textPickerPattern, nullptr);
465 ASSERT_NE(textPickerPattern, nullptr);
495 ASSERT_NE(textPickerPattern, nullptr);
[all …]
H A Dtext_picker_divider_add_test.cpp263 ASSERT_NE(textPickerPattern, nullptr);
316 ASSERT_NE(textPickerPattern, nullptr);
369 ASSERT_NE(textPickerPattern, nullptr);
422 ASSERT_NE(textPickerPattern, nullptr);
470 ASSERT_NE(textPickerPattern, nullptr);
520 ASSERT_NE(textPickerPattern, nullptr);
568 ASSERT_NE(textPickerPattern, nullptr);
614 ASSERT_NE(textPickerPattern, nullptr);
657 ASSERT_NE(textPickerPattern, nullptr);
699 ASSERT_NE(textPickerPattern, nullptr);
[all …]
H A Dtext_picker_divider_test.cpp256 ASSERT_NE(textPickerPattern, nullptr);
295 ASSERT_NE(textPickerPattern, nullptr);
334 ASSERT_NE(textPickerPattern, nullptr);
373 ASSERT_NE(textPickerPattern, nullptr);
411 ASSERT_NE(textPickerPattern, nullptr);
448 ASSERT_NE(textPickerPattern, nullptr);
487 ASSERT_NE(textPickerPattern, nullptr);
527 ASSERT_NE(textPickerPattern, nullptr);
567 ASSERT_NE(textPickerPattern, nullptr);
606 ASSERT_NE(textPickerPattern, nullptr);
[all …]
H A Dtext_picker_column_test_ng.cpp255 textPickerPattern->OnModifyDone();
302 textPickerPattern->OnModifyDone();
356 textPickerPattern->OnModifyDone();
402 textPickerPattern->OnModifyDone();
441 textPickerPattern->OnModifyDone();
486 textPickerPattern->OnModifyDone();
530 textPickerPattern->OnModifyDone();
612 textPickerPattern->OnModifyDone();
644 textPickerPattern->OnModifyDone();
679 textPickerPattern->OnModifyDone();
[all …]
H A Dtext_picker_Extend_test_ng.cpp612 ASSERT_NE(textPickerPattern, nullptr);
647 ASSERT_NE(textPickerPattern, nullptr);
688 ASSERT_NE(textPickerPattern, nullptr);
725 ASSERT_NE(textPickerPattern, nullptr);
935 textPickerPattern->OnModifyDone();
965 ASSERT_NE(textPickerPattern, nullptr);
1012 ASSERT_NE(textPickerPattern, nullptr);
1067 ASSERT_NE(textPickerPattern, nullptr);
1133 ASSERT_NE(textPickerPattern, nullptr);
1134 textPickerPattern->OnModifyDone();
[all …]
H A Dtext_picker_pattern_test_ng.cpp310 textPickerPattern->SetIsCascade(false);
317 textPickerPattern->SetIsCascade(true);
579 ASSERT_NE(textPickerPattern, nullptr);
600 textPickerPattern->SetButtonIdeaSize();
617 ASSERT_NE(textPickerPattern, nullptr);
625 textPickerPattern->CalculateHeight();
633 textPickerPattern->CalculateHeight();
641 textPickerPattern->CalculateHeight();
797 ASSERT_NE(textPickerPattern, nullptr);
1556 ASSERT_NE(textPickerPattern, nullptr);
[all …]
H A Dtext_picker_test_ng.cpp690 textPickerPattern->AttachToFrameNode(frameNode);
691 textPickerPattern->OnAttachToFrameNode();
692 auto host = textPickerPattern->GetHost();
1112 textPickerPattern->AttachToFrameNode(frameNode);
1113 textPickerPattern->OnAttachToFrameNode();
1114 auto host = textPickerPattern->GetHost();
1770 ASSERT_NE(textPickerPattern, nullptr);
1808 ASSERT_NE(textPickerPattern, nullptr);
1853 ASSERT_NE(textPickerPattern, nullptr);
1988 textPickerPattern->OnModifyDone();
[all …]