Home
last modified time | relevance | path

Searched refs:TextCase (Results 1 - 25 of 40) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_span_ffi.cpp29 const std::vector<TextCase> TEXT_CASES = {
30 TextCase::NORMAL,
31 TextCase::LOWERCASE,
32 TextCase::UPPERCASE
H A Dcj_text_ffi.cpp26 const std::vector<TextCase> TEXT_CASES = { TextCase::NORMAL, TextCase::LOWERCASE, TextCase::UPPERCASE };
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/measure/
H A Dcj_measure_ffi.cpp43 std::vector<TextCase> TEXTCASE = {
44 TextCase::NORMAL,
45 TextCase::LOWERCASE,
46 TextCase::UPPERCASE
/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dmeasure_util.h43 TextCase textCase = TextCase::NORMAL;
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dtext_style.h107 enum class TextCase { class
114 inline std::string ToString(const TextCase& textCase) in ToString()
116 static const LinearEnumMapNode<TextCase, std::string> table[] = { in ToString()
117 { TextCase::NORMAL, "NORMAL" }, in ToString()
118 { TextCase::LOWERCASE, "LOWERCASE" }, in ToString()
119 { TextCase::UPPERCASE, "UPPERCASE" }, in ToString()
609 TextCase GetTextCase() const in GetTextCase()
614 void SetTextCase(TextCase textCase) in SetTextCase()
796 TextCase textCase_ { TextCase
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dspan_model_ng.h45 void SetTextCase(TextCase value) override;
60 static void SetTextCase(UINode* uiNode, TextCase value);
92 static Ace::TextCase GetTextCase(UINode* uiNode);
H A Dspan_model_ng.cpp167 void SpanModelNG::SetTextCase(Ace::TextCase value) in SetTextCase()
169 ACE_UPDATE_SPAN_PROPERTY(TextCase, value); in SetTextCase()
270 void SpanModelNG::SetTextCase(UINode* uiNode, TextCase value) in SetTextCase()
279 ACE_RESET_NODE_SPAN_PROPERTY(TextCase, uiNode); in ResetTextCase()
536 Ace::TextCase SpanModelNG::GetTextCase(UINode* uiNode) in GetTextCase()
539 CHECK_NULL_RETURN(spanNode, TextCase::NORMAL); in GetTextCase()
540 return spanNode->GetTextCase().value_or(TextCase::NORMAL); in GetTextCase()
H A Dtext_layout_property.h80 ACE_DEFINE_PROPERTY_ITEM_WITH_GROUP(FontStyle, TextCase, TextCase, PROPERTY_UPDATE_MEASURE);
H A Dspan_model.h54 virtual void SetTextCase(TextCase value) = 0;
H A Dtext_model_ng.cpp338 void TextModelNG::SetTextCase(Ace::TextCase value) in SetTextCase()
340 ACE_UPDATE_LAYOUT_PROPERTY(TextLayoutProperty, TextCase, value); in SetTextCase()
491 void TextModelNG::SetTextCase(FrameNode* frameNode, Ace::TextCase value) in SetTextCase()
493 ACE_UPDATE_NODE_LAYOUT_PROPERTY(TextLayoutProperty, TextCase, value, frameNode); in SetTextCase()
698 TextCase TextModelNG::GetTextCase(FrameNode* frameNode) in GetTextCase()
700 CHECK_NULL_RETURN(frameNode, TextCase::NORMAL); in GetTextCase()
702 CHECK_NULL_RETURN(layoutProperty, TextCase::NORMAL); in GetTextCase()
703 return layoutProperty->GetTextCase().value_or(TextCase::NORMAL); in GetTextCase()
H A Dtext_model_ng.h61 void SetTextCase(TextCase value) override;
109 static void SetTextCase(FrameNode* frameNode, TextCase value);
147 static TextCase GetTextCase(FrameNode* frameNode);
H A Dtext_styles.h165 ACE_DEFINE_PROPERTY_GROUP_ITEM(TextCase, TextCase);
H A Dtext_model.h115 virtual void SetTextCase(TextCase value) = 0;
H A Dtext_styles.cpp53 UPDATE_TEXT_STYLE(fontStyle, TextCase, SetTextCase); in UseSelfStyle()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_span.cpp75 const std::vector<TextCase> TEXT_CASES = { TextCase::NORMAL, TextCase::LOWERCASE, TextCase::UPPERCASE };
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dutils.h304 inline std::string ConvertWrapTextCaseToStirng(TextCase textCase) in ConvertWrapTextCaseToStirng()
306 static const LinearEnumMapNode<TextCase, std::string> textCaseTable[] = { in ConvertWrapTextCaseToStirng()
307 { TextCase::NORMAL, "TextCase.Normal" }, in ConvertWrapTextCaseToStirng()
308 { TextCase::LOWERCASE, "TextCase.LowerCase" }, in ConvertWrapTextCaseToStirng()
309 { TextCase::UPPERCASE, "TextCase.UpperCase" }, in ConvertWrapTextCaseToStirng()
313 return index < 0 ? "TextCase.Normal" : textCaseTable[index].value; in ConvertWrapTextCaseToStirng()
H A Dspan_composed_element.cpp70 renderTextSpan ? renderTextSpan->GetSpanStyle().GetTextCase() : TextCase::NORMAL; in GetTextCase()
/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_common_test_ng.h97 const Ace::TextCase TEXT_CASE_VALUE = Ace::TextCase::LOWERCASE;
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dspan_model_impl.h45 void SetTextCase(TextCase value) override;
H A Dtext_model_impl.h56 void SetTextCase(TextCase value) override;
H A Dspan_model_impl.cpp134 void SpanModelImpl::SetTextCase(Ace::TextCase value) in SetTextCase()
/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
H A Dtext_base.h136 const Ace::TextCase TEXT_CASE_VALUE = Ace::TextCase::LOWERCASE;
199 std::optional<Ace::TextCase> textCaseValue = std::nullopt;
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_drag/
H A Dtext_drag_test_ng.h43 std::optional<Ace::TextCase> textCaseValue = std::nullopt;
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsEnumStyle.js426 var TextCase; variable
427 (function (TextCase) {
428 TextCase[TextCase["Normal"] = 0] = "Normal";
429 TextCase[TextCase["LowerCase"] = 1] = "LowerCase";
430 TextCase[TextCase["UpperCase"] = 2] = "UpperCase";
431 })(TextCase || (TextCase
[all...]
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_span_modifier.cpp24 constexpr TextCase DEFAULT_TEXT_CASE = TextCase::NORMAL;
63 SpanModelNG::SetTextCase(uiNode, static_cast<TextCase>(value)); in SetSpanTextCase()

Completed in 18 milliseconds

12