/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/picker/ |
H A D | date_picker_order_test.cpp | 472 datePickerPattern->SetShowCount(showCount); 528 datePickerPattern->SetShowCount(showCount); 584 datePickerPattern->SetShowCount(showCount); 640 datePickerPattern->SetShowCount(showCount); 696 datePickerPattern->SetShowCount(showCount); 752 datePickerPattern->SetShowCount(showCount); 806 datePickerPattern->SetShowCount(showCount); 861 datePickerPattern->SetShowCount(showCount); 916 datePickerPattern->SetShowCount(showCount); 971 datePickerPattern->SetShowCount(showCount); [all …]
|
H A D | date_picker_column_test_ng.cpp | 1066 datePickerPattern->SetShowCount(showCount); 1129 datePickerPattern->SetShowCount(showCount); 1198 datePickerPattern->SetShowCount(showCount); 1257 datePickerPattern->SetShowCount(showCount); 1311 datePickerPattern->SetShowCount(showCount); 1380 datePickerPattern->SetShowCount(showCount); 1450 datePickerPattern->SetShowCount(showCount); 1517 datePickerPattern->SetShowCount(showCount); 1586 datePickerPattern->SetShowCount(showCount); 1668 datePickerPattern->SetShowCount(showCount); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | picker_column_component.cpp | 54 uint32_t showCount = theme_->GetShowOptionCount(); in Initialize() local 57 showCount = OPTION_COUNT_PHONE_LANDSCAPE; in Initialize() 59 uint32_t selectedIndex = showCount / 2; // the middle option is selected that is current. in Initialize() 60 for (uint32_t index = 0; index < showCount; index++) { in Initialize() 66 … SystemProperties::GetDeviceType() != DeviceType::UNKNOWN && showCount >= 5 && in Initialize() 67 (index == 0 || index == showCount - 1))); in Initialize()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/ |
H A D | textpicker_column_pattern.cpp | 106 auto showCount = GetShowOptionCount(); in OnModifyDone() local 110 auto midIndex = showCount / HALF_NUMBER; in OnModifyDone() 119 while (childIndex < showCount) { in OnModifyDone() 351 return showCount; in GetShowOptionCount() 491 uint32_t showCount = GetShowOptionCount(); in FlushCurrentTextOptions() local 497 if (child.size() != showCount) { in FlushCurrentTextOptions() 562 uint32_t showCount = GetShowOptionCount(); in FlushCurrentImageOptions() local 568 if (child.size() != showCount) { in FlushCurrentImageOptions() 622 if (child.size() != showCount) { in FlushCurrentMixtureOptions() 852 uint32_t showCount) in UpdatePickerTextProperties() argument [all …]
|
H A D | textpicker_dialog_view.h | 77 uint32_t showCount, RefPtr<PickerTheme> pickerTheme); 85 uint32_t showCount, uint32_t columnCount, RefPtr<PickerTheme> pickerTheme); 88 uint32_t showCount, RefPtr<PickerTheme> pickerTheme); 123 const uint32_t& dialogNodePage, const uint32_t& showCount);
|
H A D | textpicker_dialog_view.cpp | 107 uint32_t showCount = pickerTheme->GetShowOptionCount() + BUFFER_NODE_NUMBER; in RangeShow() local 108 OptionsCreateNode(textPickerPattern, settingData, textPickerNode, showCount, 1, pickerTheme); in RangeShow() 167 …st TextPickerSettingData& settingData, const RefPtr<FrameNode>& textPickerNode, uint32_t showCount, in OptionsCreateNode() argument 174 showCount, pickerTheme); in OptionsCreateNode() 199 …st TextPickerSettingData& settingData, const RefPtr<FrameNode>& textPickerNode, uint32_t showCount, in OptionsShowInternal() argument 263 uint32_t showCount = pickerTheme->GetShowOptionCount() + BUFFER_NODE_NUMBER; in OptionsShow() local 264 OptionsShowInternal(textPickerPattern, settingData, textPickerNode, showCount, pickerTheme); in OptionsShow() 362 uint32_t columnKind, uint32_t showCount, RefPtr<PickerTheme> pickerTheme) in CreateColumnNode() argument 369 for (uint32_t index = 0; index < showCount; index++) { in CreateColumnNode() 375 for (uint32_t index = 0; index < showCount; index++) { in CreateColumnNode() [all …]
|
H A D | textpicker_column_pattern.h | 416 uint32_t showCount); 429 uint32_t showCount, bool isDown, double scale);
|
H A D | textpicker_layout_algorithm.cpp | 275 … int32_t showCount = static_cast<int32_t>(pickerTheme->GetShowOptionCount()) + BUFFER_NODE_NUMBER; in Layout() local 277 if (i >= showCount || i >= static_cast<int32_t>(currentOffset_.size())) { in Layout()
|
H A D | textpicker_model_ng.cpp | 93 uint32_t showCount = pickerTheme->GetShowOptionCount() + BUFFER_NODE_NUMBER; in Create() local 96 auto columnNode = CreateColumnNode(columnKind, showCount); in Create() 142 RefPtr<FrameNode> TextPickerModelNG::CreateColumnNode(uint32_t columnKind, uint32_t showCount) in CreateColumnNode() argument 148 for (uint32_t index = 0; index < showCount; index++) { in CreateColumnNode() 166 for (uint32_t index = 0; index < showCount; index++) { in CreateColumnNode() 174 for (uint32_t index = 0; index < showCount; index++) { in CreateColumnNode()
|
H A D | textpicker_model_ng.h | 139 static RefPtr<FrameNode> CreateColumnNode(uint32_t columnKind, uint32_t showCount);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/ |
H A D | datepicker_model_ng.cpp | 70 uint32_t showCount = pickerTheme->GetShowOptionCount() + BUFFER_NODE_NUMBER; in CreateDatePicker() local 71 datePickerPattern->SetShowCount(showCount); in CreateDatePicker() 76 for (uint32_t index = 0; index < showCount; index++) { in CreateDatePicker() 90 for (uint32_t index = 0; index < showCount; index++) { in CreateDatePicker() 104 for (uint32_t index = 0; index < showCount; index++) { in CreateDatePicker() 210 uint32_t showCount = pickerTheme->GetShowOptionCount() + BUFFER_NODE_NUMBER; in CreateFrameNode() local 211 datePickerPattern->SetShowCount(showCount); in CreateFrameNode() 218 for (uint32_t index = 0; index < showCount; index++) { in CreateFrameNode() 232 for (uint32_t index = 0; index < showCount; index++) { in CreateFrameNode() 246 for (uint32_t index = 0; index < showCount; index++) { in CreateFrameNode()
|
H A D | datepicker_column_pattern.h | 158 void SetShowCount(const uint32_t showCount) in SetShowCount() argument 160 showCount_ = showCount; in SetShowCount() 325 uint32_t showCount, bool isDown, double scale);
|
H A D | datepicker_dialog_view.h | 63 … static RefPtr<FrameNode> CreateColumnNode(int32_t nodeId, uint32_t showCount, bool isDate = true); 64 static void CreateNormalDateNode(const RefPtr<FrameNode>& dateNode, uint32_t showCount); 65 static void CreateSingleDateNode(const RefPtr<FrameNode>& dateNode, uint32_t showCount);
|
H A D | datepicker_column_pattern.cpp | 97 auto showCount = theme->GetShowOptionCount() + BUFFER_NODE_NUMBER; in OnModifyDone() local 101 auto midIndex = showCount / 2; in OnModifyDone() 110 while (childIndex < showCount) { in OnModifyDone() 653 …const RefPtr<TextLayoutProperty>& textLayoutProperty, uint32_t index, uint32_t showCount, bool isD… in TextPropertiesLinearAnimation() argument 660 if ((!index && isDown) || ((index == (showCount - 1)) && !isDown)) { in TextPropertiesLinearAnimation() 694 uint32_t showCount = GetShowCount(); in UpdateTextPropertiesLinear() local 697 if (child.size() != showCount) { in UpdateTextPropertiesLinear() 700 for (uint32_t index = 0; index < showCount; index++) { in UpdateTextPropertiesLinear() 707 TextPropertiesLinearAnimation(textLayoutProperty, index, showCount, isDown, scale); in UpdateTextPropertiesLinear()
|
H A D | datepicker_dialog_view.cpp | 950 uint32_t showCount = pickerTheme->GetShowOptionCount() + BUFFER_NODE_NUMBER; in CreateDateNode() local 951 datePickerPattern->SetShowCount(showCount); in CreateDateNode() 954 CreateSingleDateNode(dateNode, showCount); in CreateDateNode() 956 CreateNormalDateNode(dateNode, showCount); in CreateDateNode() 994 for (uint32_t index = 0; index < showCount; index++) { in CreateColumnNode() 1010 auto yearColumnNode = CreateColumnNode(datePickerPattern->GetYearId(), showCount); in CreateNormalDateNode() 1011 auto monthColumnNode = CreateColumnNode(datePickerPattern->GetMonthId(), showCount); in CreateNormalDateNode() 1012 auto dayColumnNode = CreateColumnNode(datePickerPattern->GetDayId(), showCount); in CreateNormalDateNode() 1038 auto yearColumnNode = CreateColumnNode(datePickerPattern->GetYearId(), showCount); in CreateSingleDateNode() 1089 uint32_t showCount = pickerTheme->GetShowOptionCount() + BUFFER_NODE_NUMBER; in CreateTimeNode() local [all …]
|
H A D | datepicker_column_layout_algorithm.cpp | 192 uint32_t showCount = pickerTheme->GetShowOptionCount() + BUFFER_NODE_NUMBER; in Layout() local 194 if (i >= showCount || i >= currentOffset_.size()) { in Layout()
|
H A D | datepicker_pattern.h | 307 void SetShowCount(uint32_t showCount) in SetShowCount() argument 309 showCount_ = showCount; in SetShowCount()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/ |
H A D | timepicker_model_ng.cpp | 47 uint32_t showCount = pickerTheme->GetShowOptionCount() + BUFFER_NODE_NUMBER; in CreateTimePicker() local 50 timePickerRowPattern->SetShowCount(showCount); in CreateTimePicker() 61 for (uint32_t index = 0; index < showCount; index++) { in CreateTimePicker() 75 for (uint32_t index = 0; index < showCount; index++) { in CreateTimePicker() 145 uint32_t showCount = pickerTheme->GetShowOptionCount() + BUFFER_NODE_NUMBER; in CreateFrameNode() local 148 timePickerRowPattern->SetShowCount(showCount); in CreateFrameNode() 160 for (uint32_t index = 0; index < showCount; index++) { in CreateFrameNode() 174 for (uint32_t index = 0; index < showCount; index++) { in CreateFrameNode()
|
H A D | timepicker_column_pattern.h | 161 void SetShowCount(const uint32_t showCount) in SetShowCount() argument 163 showCount_ = showCount; in SetShowCount() 364 uint32_t showCount, bool isDown, double scale);
|
H A D | timepicker_column_pattern.cpp | 102 auto showCount = GetShowCount(); in OnModifyDone() local 107 auto midIndex = showCount / 2; in OnModifyDone() 116 while (childIndex < showCount) { in OnModifyDone() 725 …const RefPtr<TextLayoutProperty>& textLayoutProperty, uint32_t index, uint32_t showCount, bool isD… in TextPropertiesLinearAnimation() argument 732 if ((!index && isDown) || ((index == (showCount - 1)) && !isDown && scale)) { in TextPropertiesLinearAnimation() 768 uint32_t showCount = GetShowCount(); in UpdateTextPropertiesLinear() local 771 if (child.size() != showCount) { in UpdateTextPropertiesLinear() 774 for (uint32_t index = 0; index < showCount; index++) { in UpdateTextPropertiesLinear() 781 TextPropertiesLinearAnimation(textLayoutProperty, index, showCount, isDown, scale); in UpdateTextPropertiesLinear()
|
H A D | timepicker_column_layout_algorithm.cpp | 169 uint32_t showCount = pickerTheme->GetShowOptionCount() + BUFFER_NODE_NUMBER; in Layout() local 171 if (i >= showCount || i >= currentOffset_.size()) { in Layout()
|
H A D | timepicker_row_pattern.h | 172 void SetShowCount(uint32_t showCount) in SetShowCount() argument 174 showCount_ = showCount; in SetShowCount()
|
H A D | timepicker_dialog_view.cpp | 69 uint32_t showCount = pickerTheme->GetShowOptionCount() + BUFFER_NODE_NUMBER; in Show() local 73 timePickerRowPattern->SetShowCount(showCount); in Show() 100 for (uint32_t index = 0; index < showCount; index++) { in Show() 114 for (uint32_t index = 0; index < showCount; index++) { in Show()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/time_picker/ |
H A D | time_picker_test_ng.cpp | 1427 uint32_t showCount = minuteColumnPattern->GetShowCount(); variable 1428 for (uint32_t index = 0; index < showCount; index++) {
|