/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_input_base.h | 131 const TextOverflow OVERFLOW_ELLIPSIS = TextOverflow::ELLIPSIS; 132 const TextOverflow OVERFLOW_MARQUEE = TextOverflow::MARQUEE; 133 const TextOverflow OVERFLOW_DEFAULT = TextOverflow::DEFAULT;
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/measure/ |
H A D | cj_measure_ffi.cpp | 37 std::vector<TextOverflow> TEXTOVERFLOW = { 38 TextOverflow::NONE, 39 TextOverflow::CLIP, 40 TextOverflow::ELLIPSIS, 41 TextOverflow::MARQUEE
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_text_ffi.cpp | 27 const std::vector<TextOverflow> TEXT_OVERFLOWS = { TextOverflow::CLIP, TextOverflow::ELLIPSIS, TextOverflow::NONE };
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | utils.h | 402 inline std::string ConvertWrapTextOverflowToString(TextOverflow textOverflow) in ConvertWrapTextOverflowToString() 404 static const LinearEnumMapNode<TextOverflow, std::string> textOverflowTable[] = { in ConvertWrapTextOverflowToString() 405 { TextOverflow::NONE, "TextOverflow.None" }, in ConvertWrapTextOverflowToString() 406 { TextOverflow::CLIP, "TextOverflow.Clip" }, in ConvertWrapTextOverflowToString() 407 { TextOverflow::ELLIPSIS, "TextOverflow.Ellipsis" }, in ConvertWrapTextOverflowToString() 408 { TextOverflow::MARQUEE, "TextOverflow in ConvertWrapTextOverflowToString() [all...] |
/foundation/arkui/ace_engine/frameworks/base/utils/ |
H A D | measure_util.h | 42 TextOverflow textOverlayFlow = TextOverflow::CLIP;
|
/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/ |
H A D | tab_bar_component.cpp | 104 activeTextStyle_.SetTextOverflow(TextOverflow::CLIP); in InitNavigationBarStyle() 109 inactiveTextStyle_.SetTextOverflow(TextOverflow::CLIP); in InitNavigationBarStyle() 123 activeTextStyle_.SetTextOverflow(TextOverflow::CLIP); in InitBottomTabStyle() 129 inactiveTextStyle_.SetTextOverflow(TextOverflow::CLIP); in InitBottomTabStyle()
|
H A D | tab_bar_item_component.cpp | 47 textStyle.SetTextOverflow(TextOverflow::CLIP); in TabBarItemComponent() 119 textStyle.SetTextOverflow(TextOverflow::ELLIPSIS); in BuildWithTextIcon() 134 textStyle.SetTextOverflow(TextOverflow::ELLIPSIS); in BuildWithTextIcon()
|
/foundation/arkui/ace_engine/frameworks/core/components/common/layout/ |
H A D | constants.h | 259 enum class TextOverflow { class 274 inline std::string ToString(const TextOverflow& textOverflow) in ToString() 276 static const LinearEnumMapNode<TextOverflow, std::string> table[] = { in ToString() 277 { TextOverflow::NONE, "NONE" }, in ToString() 278 { TextOverflow::CLIP, "CLIP" }, in ToString() 279 { TextOverflow::ELLIPSIS, "ELLIPSIS" }, in ToString() 280 { TextOverflow::MARQUEE, "MARQUEE" }, in ToString()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/button/ |
H A D | button_request_data.h | 38 std::optional<Ace::TextOverflow> textOverflow;
|
H A D | button_layout_property.h | 80 ACE_DEFINE_PROPERTY_ITEM_WITHOUT_GROUP(TextOverflow, Ace::TextOverflow, PROPERTY_UPDATE_NORMAL);
|
/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | picker_theme.h | 91 theme->titleStyle_.SetTextOverflow(TextOverflow::ELLIPSIS); in InitializeTitleTextStyles() 106 theme->selectedOptionStyle_.SetTextOverflow(TextOverflow::ELLIPSIS); in InitializeItemTextStyles() 116 theme->normalOptionStyle_.SetTextOverflow(TextOverflow::ELLIPSIS); in InitializeItemTextStyles() 126 theme->disappearOptionStyle_.SetTextOverflow(TextOverflow::ELLIPSIS); in InitializeItemTextStyles() 137 theme->focusOptionStyle_.SetTextOverflow(TextOverflow::ELLIPSIS); in InitializeItemTextStyles()
|
H A D | picker_option_component.cpp | 55 style.SetTextOverflow(TextOverflow::ELLIPSIS); in Initialize()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item_group/ |
H A D | menu_item_group_view.cpp | 91 layoutProps->UpdateTextOverflow(TextOverflow::ELLIPSIS); in SetHeader() 131 layoutProps->UpdateTextOverflow(TextOverflow::ELLIPSIS); in SetFooter()
|
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | text_style.h | 209 TextOverflow textOverflow = TextOverflow::CLIP; 573 TextOverflow GetTextOverflow() const in GetTextOverflow() 577 void SetTextOverflow(TextOverflow textOverflow) in SetTextOverflow() 789 TextOverflow textOverflow_ { TextOverflow::CLIP };
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | button_modifier.cpp | 46 const std::vector<TextOverflow> TEXT_OVERFLOWS = { TextOverflow::NONE, TextOverflow::CLIP, TextOverflow::ELLIPSIS, 47 TextOverflow::MARQUEE }; 266 buttonParameters.textOverflow = TextOverflow::CLIP; in ButtonCompleteParameters() 349 buttonParameters.textOverflow = TextOverflow::ELLIPSIS; in SetButtonValueParameters()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/ |
H A D | rich_editor_accessibility_test_ng.cpp | 31 TextOverflow::ELLIPSIS, TEST_LEADING_MARGIN, TEST_TEXT_INDENT};
252 EXPECT_EQ(textLineStyle->GetTextOverflow(), TextOverflow::ELLIPSIS);
in HWTEST_F() 320 EXPECT_EQ(textLineStyle->GetTextOverflow(), TextOverflow::ELLIPSIS);
in HWTEST_F() 437 EXPECT_EQ(textLineStyle->GetTextOverflow(), TextOverflow::ELLIPSIS);
in HWTEST_F()
|
/foundation/arkui/ace_engine/adapter/ohos/capability/html/ |
H A D | span_to_html.cpp | 490 std::string SpanToHtml::ToHtml(const std::optional<OHOS::Ace::TextOverflow>& object) in ToHtml() 496 static const LinearEnumMapNode<TextOverflow, std::string> table[] = { in ToHtml() 497 { TextOverflow::CLIP, "clip" }, in ToHtml() 498 { TextOverflow::ELLIPSIS, "ellipsis" }, in ToHtml() 499 { TextOverflow::MARQUEE, "marquee" }, in ToHtml()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_layout_property.h | 91 ACE_DEFINE_PROPERTY_ITEM_WITH_GROUP(TextLineStyle, TextOverflow, TextOverflow, PROPERTY_UPDATE_MEASURE);
|
H A D | text_model_ng.cpp | 263 void TextModelNG::SetTextOverflow(Ace::TextOverflow value) in SetTextOverflow() 265 ACE_UPDATE_LAYOUT_PROPERTY(TextLayoutProperty, TextOverflow, value); in SetTextOverflow() 268 void TextModelNG::SetTextOverflow(FrameNode* frameNode, Ace::TextOverflow value) in SetTextOverflow() 270 ACE_UPDATE_NODE_LAYOUT_PROPERTY(TextLayoutProperty, TextOverflow, value, frameNode); in SetTextOverflow() 736 TextOverflow TextModelNG::GetTextOverflow(FrameNode* frameNode) in GetTextOverflow() 738 CHECK_NULL_RETURN(frameNode, TextOverflow::CLIP); in GetTextOverflow() 740 CHECK_NULL_RETURN(layoutProperty, TextOverflow::CLIP); in GetTextOverflow() 742 CHECK_NULL_RETURN(textLineStyle, TextOverflow::CLIP); in GetTextOverflow() 743 return textLineStyle->GetTextOverflow().value_or(TextOverflow::CLIP); in GetTextOverflow()
|
H A D | text_model_ng.h | 48 void SetTextOverflow(TextOverflow value) override; 105 static void SetTextOverflow(FrameNode* frameNode, TextOverflow value); 151 static TextOverflow GetTextOverflow(FrameNode* frameNode);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | span_model_adapter.cpp | 147 .textOverflow = typoStyle->ellipsis == ELLIPSIS ? TextOverflow::ELLIPSIS : TextOverflow::CLIP }; in CreateParagraphStyle()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | stepper_item_model_impl.cpp | 39 textStyle_.SetTextOverflow(TextOverflow::ELLIPSIS); in Create()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_tab_content.cpp | 36 const std::vector<TextOverflow> TEXT_OVERFLOWS = { TextOverflow::NONE, TextOverflow::CLIP, TextOverflow::ELLIPSIS, 37 TextOverflow::MARQUEE }; 523 labelStyle.textOverflow = TextOverflow::ELLIPSIS; in CompleteParameters()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/button/ |
H A D | button_test_ng.cpp | 112 std::optional<Ace::TextOverflow> textOverflow = std::nullopt; 858 buttonLayoutProperty->UpdateTextOverflow(TextOverflow::CLIP); in HWTEST_F() 883 EXPECT_EQ(textLayoutProp->GetTextOverflow(), TextOverflow::CLIP); in HWTEST_F() 933 buttonLayoutProperty->UpdateTextOverflow(TextOverflow::CLIP); in HWTEST_F() 935 EXPECT_EQ(textLayoutProp->GetTextOverflow(), TextOverflow::CLIP); in HWTEST_F() 937 buttonLayoutProperty->UpdateTextOverflow(TextOverflow::ELLIPSIS); in HWTEST_F() 939 EXPECT_EQ(textLayoutProp->GetTextOverflow(), TextOverflow::ELLIPSIS); in HWTEST_F() 941 buttonLayoutProperty->UpdateTextOverflow(TextOverflow::NONE); in HWTEST_F() 943 EXPECT_EQ(textLayoutProp->GetTextOverflow(), TextOverflow::NONE); in HWTEST_F() 945 buttonLayoutProperty->UpdateTextOverflow(TextOverflow in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_layout_property.h | 133 V2::ConvertWrapTextOverflowToString(GetTextOverflow().value_or(TextOverflow::CLIP)).c_str(), filter); 171 ACE_DEFINE_PROPERTY_ITEM_WITH_GROUP(TextLineStyle, TextOverflow, TextOverflow, PROPERTY_UPDATE_MEASURE);
|