Searched refs:WORD_BREAK_TYPES (Results 1 - 10 of 10) sorted by relevance
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | text_style.cpp | 19 const std::vector<WordBreak> WORD_BREAK_TYPES = { WordBreak::NORMAL, WordBreak::BREAK_ALL, WordBreak::BREAK_WORD }; member
|
H A D | text_style.h | 146 extern const std::vector<WordBreak> WORD_BREAK_TYPES;
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/dialog/ |
H A D | js_alert_dialog.cpp | 345 if (index < 0 || index >= static_cast<int32_t>(WORD_BREAK_TYPES.size())) { in ParseTextStyle() 348 properties.wordBreak = WORD_BREAK_TYPES[index]; in ParseTextStyle()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_text_modifier.cpp | 711 if (wordBreak < 0 || wordBreak >= WORD_BREAK_TYPES.size()) { in SetWordBreak() 714 TextModelNG::SetWordBreak(frameNode, WORD_BREAK_TYPES[wordBreak]); in SetWordBreak() 721 TextModelNG::SetWordBreak(frameNode, WORD_BREAK_TYPES[2]); // 2 is the default value of WordBreak::BREAK_WORD in ResetWordBreak()
|
H A D | node_text_input_modifier.cpp | 1110 if (wordBreak < 0 || wordBreak >= WORD_BREAK_TYPES.size()) { in SetTextInputWordBreak() 1113 TextFieldModelNG::SetWordBreak(frameNode, WORD_BREAK_TYPES[wordBreak]); in SetTextInputWordBreak() 1127 TextFieldModelNG::SetWordBreak(frameNode, WORD_BREAK_TYPES[2]); // 2 is the default value of WordBreak::BREAK_WORD in ResetTextInputWordBreak()
|
H A D | node_text_area_modifier.cpp | 669 if (wordBreak < 0 || wordBreak >= WORD_BREAK_TYPES.size()) { in SetTextAreaWordBreak() 672 TextFieldModelNG::SetWordBreak(frameNode, WORD_BREAK_TYPES[wordBreak]); in SetTextAreaWordBreak() 679 TextFieldModelNG::SetWordBreak(frameNode, WORD_BREAK_TYPES[2]); // 2 is the default value of WordBreak::BREAK_WORD in ResetTextAreaWordBreak()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_textfield.cpp | 85 const std::vector<WordBreak> WORD_BREAK_TYPES = { WordBreak::NORMAL, WordBreak::BREAK_ALL, WordBreak::BREAK_WORD }; member 553 if (index < 0 || index >= static_cast<int32_t>(WORD_BREAK_TYPES.size())) { in SetWordBreak() 557 TextFieldModel::GetInstance()->SetWordBreak(WORD_BREAK_TYPES[index]); in SetWordBreak()
|
H A D | js_text.cpp | 332 if (index < WORD_BREAK_TYPES.size()) { in SetWordBreak() 333 TextModel::GetInstance()->SetWordBreak(WORD_BREAK_TYPES[index]); in SetWordBreak()
|
H A D | js_richeditor.cpp | 1979 if (index < 0 || index >= static_cast<int32_t>(WORD_BREAK_TYPES.size())) { in ParseWordBreakParagraphStyle() 1982 style.wordBreak = WORD_BREAK_TYPES[index]; in ParseWordBreakParagraphStyle()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/style_string/ |
H A D | js_span_object.cpp | 1324 if (index < 0 || index >= static_cast<int32_t>(WORD_BREAK_TYPES.size())) { in ParseJsWordBreak() 1327 paragraphStyle.wordBreak = WORD_BREAK_TYPES[index]; in ParseJsWordBreak()
|
Completed in 27 milliseconds