Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Ddatepicker_column_pattern.h94 if (algorithmOffset_.size() == 0) { in CreateLayoutAlgorithm()
97 layoutAlgorithm->SetCurrentOffset(algorithmOffset_); in CreateLayoutAlgorithm()
294 std::vector<int32_t> algorithmOffset_; variable
H A 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()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtimepicker_column_pattern.h93 if (algorithmOffset_.size() == 0) { in CreateLayoutAlgorithm()
96 layoutAlgorithm->SetCurrentOffset(algorithmOffset_); in CreateLayoutAlgorithm()
335 std::vector<int32_t> algorithmOffset_; variable
H A Dtimepicker_column_pattern.cpp971 algorithmOffset_.clear(); in ResetAlgorithmOffset()
974 algorithmOffset_.emplace_back(0.0f); in ResetAlgorithmOffset()
988 algorithmOffset_.clear(); in CalcAlgorithmOffset()
993 algorithmOffset_.emplace_back(static_cast<int32_t>(distance * distancePercent)); in CalcAlgorithmOffset()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
H A Dtextpicker_column_pattern.h97 if (algorithmOffset_.size() == 0) { in CreateLayoutAlgorithm()
100 layoutAlgorithm->SetCurrentOffset(algorithmOffset_); in CreateLayoutAlgorithm()
392 std::vector<int32_t> algorithmOffset_; variable
H A Dtextpicker_column_pattern.cpp1232 algorithmOffset_.clear(); in ResetAlgorithmOffset()
1236 algorithmOffset_.emplace_back(0.0); in ResetAlgorithmOffset()
1250 algorithmOffset_.clear(); in CalcAlgorithmOffset()
1258 algorithmOffset_.emplace_back(static_cast<int32_t>(val)); in CalcAlgorithmOffset()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_picker/
H A 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);