Searched refs:TextSelectableMode (Results 1 - 15 of 15) sorted by relevance
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | utils.h | 553 inline std::string ConvertWrapTextSelectableToString(TextSelectableMode textSelectable) in ConvertWrapTextSelectableToString() 555 static const LinearEnumMapNode<TextSelectableMode, std::string> textSelectableTable[] = { in ConvertWrapTextSelectableToString() 556 { TextSelectableMode::SELECTABLE_UNFOCUSABLE, "selectable-unfocusable" }, in ConvertWrapTextSelectableToString() 557 { TextSelectableMode::SELECTABLE_FOCUSABLE, "selectable-focusable" }, in ConvertWrapTextSelectableToString() 558 { TextSelectableMode::UNSELECTABLE, "unselectable" } in ConvertWrapTextSelectableToString()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_layout_property.h | 107 ACE_DEFINE_PROPERTY_ITEM_WITHOUT_GROUP(TextSelectableMode, TextSelectableMode, PROPERTY_UPDATE_MEASURE_SELF);
|
H A D | text_model_ng.cpp | 238 void TextModelNG::SetTextSelectableMode(Ace::TextSelectableMode value) in SetTextSelectableMode() 240 ACE_UPDATE_LAYOUT_PROPERTY(TextLayoutProperty, TextSelectableMode, value); in SetTextSelectableMode() 583 void TextModelNG::SetTextSelectableMode(FrameNode* frameNode, Ace::TextSelectableMode value) in SetTextSelectableMode() 585 ACE_UPDATE_NODE_LAYOUT_PROPERTY(TextLayoutProperty, TextSelectableMode, value, frameNode); in SetTextSelectableMode() 929 TextSelectableMode TextModelNG::GetTextSelectableMode(FrameNode* frameNode) in GetTextSelectableMode() 931 TextSelectableMode value = TextSelectableMode::SELECTABLE_UNFOCUSABLE; in GetTextSelectableMode() 932 ACE_GET_NODE_LAYOUT_PROPERTY_WITH_DEFAULT_VALUE(TextLayoutProperty, TextSelectableMode, value, frameNode, value); in GetTextSelectableMode()
|
H A D | text_model_ng.h | 59 void SetTextSelectableMode(TextSelectableMode value) override; 166 static TextSelectableMode GetTextSelectableMode(FrameNode* frameNode); 173 static void SetTextSelectableMode(FrameNode* frameNode, TextSelectableMode value);
|
H A D | text_model.h | 139 virtual void SetTextSelectableMode(TextSelectableMode textSelectable) = 0;
|
H A D | text_pattern.cpp | 647 auto mode = textLayoutProperty->GetTextSelectableModeValue(TextSelectableMode::SELECTABLE_UNFOCUSABLE); in SetTextSelection() 648 if (mode == TextSelectableMode::UNSELECTABLE || in SetTextSelection() 1176 auto mode = textLayoutProperty->GetTextSelectableModeValue(TextSelectableMode::SELECTABLE_UNFOCUSABLE); in ShowAIEntityMenu() 1180 } else if (mode == TextSelectableMode::UNSELECTABLE) { in ShowAIEntityMenu() 1723 void TextPattern::SetTextSelectableMode(TextSelectableMode value) in SetTextSelectableMode() 1729 if (value == TextSelectableMode::SELECTABLE_FOCUSABLE) { in SetTextSelectableMode() 1742 auto mode = textLayoutProperty->GetTextSelectableModeValue(TextSelectableMode::SELECTABLE_UNFOCUSABLE); in IsSelectableAndCopy() 1743 return mode != TextSelectableMode::UNSELECTABLE && copyOption_ != CopyOptions::None; in IsSelectableAndCopy() 3427 auto mode = textLayoutProperty->GetTextSelectableModeValue(TextSelectableMode::SELECTABLE_UNFOCUSABLE); in SetAccessibilityAction() 3429 mode != TextSelectableMode in SetAccessibilityAction() [all...] |
H A D | text_layout_property.cpp | 136 GetTextSelectableMode().value_or(TextSelectableMode::SELECTABLE_UNFOCUSABLE)).c_str(), filter); in ToJsonValueForOption()
|
H A D | text_pattern.h | 572 void SetTextSelectableMode(TextSelectableMode value);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | text_model_impl.h | 36 void SetTextSelectableMode(TextSelectableMode value) override {};
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | jsEnumStyle.js | 120 var TextSelectableMode; variable 121 (function (TextSelectableMode) { 122 TextSelectableMode[TextSelectableMode["SELECTABLE_UNFOCUSABLE"] = 0] = "selectable-unfocusable"; 123 TextSelectableMode[TextSelectableMode["SELECTABLE_FOCUSABLE"] = 1] = "selectable-focusable"; 124 TextSelectableMode[TextSelectableMode["UNSELECTABLE"] = 2] = "unselectable"; 125 })(TextSelectableMode || (TextSelectableMode [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_text.cpp | 91 const std::vector<TextSelectableMode> TEXT_SELECTABLE_MODE = { TextSelectableMode::SELECTABLE_UNFOCUSABLE, 92 TextSelectableMode::SELECTABLE_FOCUSABLE, TextSelectableMode::UNSELECTABLE }; 429 TextModel::GetInstance()->SetTextSelectableMode(TextSelectableMode::SELECTABLE_UNFOCUSABLE); in SetTextSelectableMode() 433 TextModel::GetInstance()->SetTextSelectableMode(TextSelectableMode::SELECTABLE_UNFOCUSABLE); in SetTextSelectableMode() 438 TextModel::GetInstance()->SetTextSelectableMode(TextSelectableMode::SELECTABLE_UNFOCUSABLE); in SetTextSelectableMode()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_text_modifier.cpp | 59 const std::vector<TextSelectableMode> TEXT_SELECTABLE_MODE = { TextSelectableMode::SELECTABLE_UNFOCUSABLE, 60 TextSelectableMode::SELECTABLE_FOCUSABLE, TextSelectableMode::UNSELECTABLE };
|
/foundation/arkui/ace_engine/frameworks/core/components/common/layout/ |
H A D | constants.h | 267 enum class TextSelectableMode { class
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/text/ |
H A D | text_test_ng.cpp | 3383 textModelNG.SetTextSelectableMode(frameNode, TextSelectableMode::SELECTABLE_UNFOCUSABLE); in HWTEST_F() 3384 textModelNG.SetTextSelectableMode(TextSelectableMode::SELECTABLE_UNFOCUSABLE); in HWTEST_F() 3385 ASSERT_EQ(textModelNG.GetTextSelectableMode(frameNode), TextSelectableMode::SELECTABLE_UNFOCUSABLE); in HWTEST_F()
|
H A D | text_testfive_ng.cpp | 2184 textLayoutProperty->UpdateTextSelectableMode(TextSelectableMode::SELECTABLE_UNFOCUSABLE); in HWTEST_F()
|
Completed in 37 milliseconds