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.h94 if (algorithmOffset_.size() == 0) { in CreateLayoutAlgorithm()
97 layoutAlgorithm->SetCurrentOffset(algorithmOffset_); in CreateLayoutAlgorithm()
294 std::vector<int32_t> algorithmOffset_; variable
Ddatepicker_column_pattern.cpp920 algorithmOffset_.clear(); in ResetAlgorithmOffset()
923 algorithmOffset_.emplace_back(0.0f); in ResetAlgorithmOffset()
929 algorithmOffset_.clear(); in CalcAlgorithmOffset()
935 algorithmOffset_.emplace_back(static_cast<int32_t>(distance * distancePercent)); in CalcAlgorithmOffset()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
Dtimepicker_column_pattern.h93 if (algorithmOffset_.size() == 0) { in CreateLayoutAlgorithm()
96 layoutAlgorithm->SetCurrentOffset(algorithmOffset_); in CreateLayoutAlgorithm()
335 std::vector<int32_t> algorithmOffset_; variable
Dtimepicker_column_pattern.cpp969 algorithmOffset_.clear(); in ResetAlgorithmOffset()
972 algorithmOffset_.emplace_back(0.0f); in ResetAlgorithmOffset()
986 algorithmOffset_.clear(); in CalcAlgorithmOffset()
991 algorithmOffset_.emplace_back(static_cast<int32_t>(distance * distancePercent)); in CalcAlgorithmOffset()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
Dtextpicker_column_pattern.h97 if (algorithmOffset_.size() == 0) { in CreateLayoutAlgorithm()
100 layoutAlgorithm->SetCurrentOffset(algorithmOffset_); in CreateLayoutAlgorithm()
374 std::vector<int32_t> algorithmOffset_; variable
Dtextpicker_column_pattern.cpp1199 algorithmOffset_.clear(); in ResetAlgorithmOffset()
1203 algorithmOffset_.emplace_back(0.0); in ResetAlgorithmOffset()
1217 algorithmOffset_.clear(); in CalcAlgorithmOffset()
1225 algorithmOffset_.emplace_back(static_cast<int32_t>(val)); in CalcAlgorithmOffset()
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_picker/
Dtext_picker_column_test_ng.cpp1764 textPickerColumnPattern->algorithmOffset_.clear();
1775 EXPECT_EQ(textPickerColumnPattern->algorithmOffset_.size() - BUFFER_NODE_NUMBER, 5);
1854 EXPECT_EQ(textPickerColumnPattern->algorithmOffset_.size() - BUFFER_NODE_NUMBER, 5);
1867 textPickerColumnPattern->algorithmOffset_.clear();
1872 EXPECT_EQ(textPickerColumnPattern->algorithmOffset_.emplace_back(i), i);