Home
last modified time | relevance | path

Searched refs:algorithmOffset_ (Results 1 – 7 of 7) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
Ddatepicker_column_pattern.h89 if (algorithmOffset_.size() == 0) { in CreateLayoutAlgorithm()
92 layoutAlgorithm->SetCurrentOffset(algorithmOffset_); in CreateLayoutAlgorithm()
231 std::vector<int32_t> algorithmOffset_; variable
Ddatepicker_column_pattern.cpp818 algorithmOffset_.clear(); in ResetAlgorithmOffset()
822 algorithmOffset_.emplace_back(0.0f); in ResetAlgorithmOffset()
828 algorithmOffset_.clear(); in CalcAlgorithmOffset()
834 algorithmOffset_.emplace_back(distance * distancePercent); in CalcAlgorithmOffset()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
Dtimepicker_column_pattern.h87 if (algorithmOffset_.size() == 0) { in CreateLayoutAlgorithm()
90 layoutAlgorithm->SetCurrentOffset(algorithmOffset_); in CreateLayoutAlgorithm()
262 std::vector<int32_t> algorithmOffset_; variable
Dtimepicker_column_pattern.cpp779 algorithmOffset_.clear(); in ResetAlgorithmOffset()
783 algorithmOffset_.emplace_back(0.0f); in ResetAlgorithmOffset()
797 algorithmOffset_.clear(); in CalcAlgorithmOffset()
802 algorithmOffset_.emplace_back(distance * distancePercent); in CalcAlgorithmOffset()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
Dtextpicker_column_pattern.h85 if (algorithmOffset_.size() == 0) { in CreateLayoutAlgorithm()
88 layoutAlgorithm->SetCurrentOffset(algorithmOffset_); in CreateLayoutAlgorithm()
284 std::vector<int32_t> algorithmOffset_; variable
Dtextpicker_column_pattern.cpp958 algorithmOffset_.clear(); in ResetAlgorithmOffset()
962 algorithmOffset_.emplace_back(0.0); in ResetAlgorithmOffset()
976 algorithmOffset_.clear(); in CalcAlgorithmOffset()
983 algorithmOffset_.emplace_back(distance * distancePercent); in CalcAlgorithmOffset()
/foundation/arkui/ace_engine/frameworks/core/components_ng/test/pattern/text_picker/
Dtextpicker_test_ng.cpp5931 textPickerColumnPattern->algorithmOffset_.clear();
5942 EXPECT_EQ(textPickerColumnPattern->algorithmOffset_.size(), 5);
6018 EXPECT_EQ(textPickerColumnPattern->algorithmOffset_.size(), 4);
6031 textPickerColumnPattern->algorithmOffset_.clear();
6036 EXPECT_EQ(textPickerColumnPattern->algorithmOffset_.emplace_back(i), i);