Home
last modified time | relevance | path

Searched refs:TextOverflow (Results 1 - 25 of 159) sorted by relevance

1234567

/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/
H A Dtext_input_base.h131 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 Dcj_measure_ffi.cpp37 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 Dcj_text_ffi.cpp27 const std::vector<TextOverflow> TEXT_OVERFLOWS = { TextOverflow::CLIP, TextOverflow::ELLIPSIS, TextOverflow::NONE };
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dutils.h402 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 Dmeasure_util.h42 TextOverflow textOverlayFlow = TextOverflow::CLIP;
/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/
H A Dtab_bar_component.cpp104 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 Dtab_bar_item_component.cpp47 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 Dconstants.h259 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 Dbutton_request_data.h38 std::optional<Ace::TextOverflow> textOverflow;
H A Dbutton_layout_property.h80 ACE_DEFINE_PROPERTY_ITEM_WITHOUT_GROUP(TextOverflow, Ace::TextOverflow, PROPERTY_UPDATE_NORMAL);
/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Dpicker_theme.h91 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 Dpicker_option_component.cpp55 style.SetTextOverflow(TextOverflow::ELLIPSIS); in Initialize()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item_group/
H A Dmenu_item_group_view.cpp91 layoutProps->UpdateTextOverflow(TextOverflow::ELLIPSIS); in SetHeader()
131 layoutProps->UpdateTextOverflow(TextOverflow::ELLIPSIS); in SetFooter()
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dtext_style.h209 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 Dbutton_modifier.cpp46 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 Drich_editor_accessibility_test_ng.cpp31 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 Dspan_to_html.cpp490 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 Dtext_layout_property.h91 ACE_DEFINE_PROPERTY_ITEM_WITH_GROUP(TextLineStyle, TextOverflow, TextOverflow, PROPERTY_UPDATE_MEASURE);
H A Dtext_model_ng.cpp263 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 Dtext_model_ng.h48 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 Dspan_model_adapter.cpp147 .textOverflow = typoStyle->ellipsis == ELLIPSIS ? TextOverflow::ELLIPSIS : TextOverflow::CLIP }; in CreateParagraphStyle()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dstepper_item_model_impl.cpp39 textStyle_.SetTextOverflow(TextOverflow::ELLIPSIS); in Create()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_tab_content.cpp36 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 Dbutton_test_ng.cpp112 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 Dtext_field_layout_property.h133 V2::ConvertWrapTextOverflowToString(GetTextOverflow().value_or(TextOverflow::CLIP)).c_str(), filter);
171 ACE_DEFINE_PROPERTY_ITEM_WITH_GROUP(TextLineStyle, TextOverflow, TextOverflow, PROPERTY_UPDATE_MEASURE);

Completed in 27 milliseconds

1234567