Home
last modified time | relevance | path

Searched refs:CaretMoveIntent (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/ime/
H A Dtext_input_client.cpp70 … { KeyComb(KeyCode::KEY_DPAD_LEFT), [](tic* c) -> void { c->CursorMove(CaretMoveIntent::Left); } }, in __anon1d5a884c0b02()
71 …{ KeyComb(KeyCode::KEY_DPAD_RIGHT), [](tic* c) -> void { c->CursorMove(CaretMoveIntent::Right); } … in __anon1d5a884c0c02()
72 { KeyComb(KeyCode::KEY_DPAD_UP), [](tic* c) -> void { c->CursorMove(CaretMoveIntent::Up); } }, in __anon1d5a884c0d02()
73 … { KeyComb(KeyCode::KEY_DPAD_DOWN), [](tic* c) -> void { c->CursorMove(CaretMoveIntent::Down); } }, in __anon1d5a884c0e02()
75 …{ KeyComb(KeyCode::KEY_MOVE_END), [](tic* c) -> void { c->CursorMove(CaretMoveIntent::LineEnd); } … in __anon1d5a884c1002()
90 [](tic* c) -> void { c->HandleSelect(CaretMoveIntent::LeftWord); } }, in __anon1d5a884c1d02()
92 [](tic* c) -> void { c->HandleSelect(CaretMoveIntent::RightWord); } }, in __anon1d5a884c1e02()
94 [](tic* c) -> void { c->CursorMove(CaretMoveIntent::ParagraghBegin); } }, in __anon1d5a884c1f02()
96 [](tic* c) -> void { c->CursorMove(CaretMoveIntent::ParagraghEnd); } }, in __anon1d5a884c2002()
98 [](tic* c) -> void { c->CursorMove(CaretMoveIntent::Home); } }, in __anon1d5a884c2102()
[all …]
H A Dtext_input_client.h40 enum class CaretMoveIntent { enum
162 virtual void CursorMove(CaretMoveIntent direction) {} in CursorMove()
164 virtual void HandleSelect(CaretMoveIntent direction) {} in HandleSelect()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/
H A Dtext_input_cursor_test.cpp524 …std::vector<CaretMoveIntent> select = { CaretMoveIntent::Left, CaretMoveIntent::Right, CaretMoveIn…
525 CaretMoveIntent::Down };
561 …std::vector<CaretMoveIntent> select = { CaretMoveIntent::Left, CaretMoveIntent::Right, CaretMoveIn…
562 CaretMoveIntent::Down };
631 std::vector<CaretMoveIntent> select = { CaretMoveIntent::LeftWord, CaretMoveIntent::RightWord,
632 CaretMoveIntent::Home, CaretMoveIntent::End };
668 std::vector<CaretMoveIntent> select = { CaretMoveIntent::LeftWord, CaretMoveIntent::RightWord,
669 CaretMoveIntent::Home, CaretMoveIntent::End };
H A Dtext_area_test.cpp883 pattern_->HandleSelect(CaretMoveIntent::Up);
894 pattern_->HandleSelect(CaretMoveIntent::Down);
916 pattern_->HandleSelect(CaretMoveIntent::Right);
H A Dtext_field_pattern_test.cpp1780 pattern->HandleSelect(CaretMoveIntent::ParagraghEnd);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_keyboard_shortcut_test_ng.cpp133 richEditorPattern->CursorMove(CaretMoveIntent::Left);
135 richEditorPattern->CursorMove(CaretMoveIntent::LeftWord);
138 richEditorPattern->CursorMove(CaretMoveIntent::RightWord);
147 richEditorPattern->CursorMove(CaretMoveIntent::Home);
150 richEditorPattern->CursorMove(CaretMoveIntent::End);
153 richEditorPattern->CursorMove(CaretMoveIntent::LineBegin);
195 richEditorPattern->CursorMove(CaretMoveIntent::LineEnd);
201 richEditorPattern->HandleSelect(CaretMoveIntent::Down);
233 richEditorPattern->HandleSelect(CaretMoveIntent::Left);
236 richEditorPattern->HandleSelect(CaretMoveIntent::Right);
[all …]
H A Drich_editor_pattern_testthree_ng.cpp181 richEditorPattern->HandleSelect(CaretMoveIntent::Home);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Don_text_changed_listener_impl.cpp207 client->CursorMove(CaretMoveIntent::Up); in MoveCursor()
210 client->CursorMove(CaretMoveIntent::Down); in MoveCursor()
213 client->CursorMove(CaretMoveIntent::Left); in MoveCursor()
216 client->CursorMove(CaretMoveIntent::Right); in MoveCursor()
263 CaretMoveIntent direction; in HandleSelect()
266 direction = CaretMoveIntent::Left; in HandleSelect()
269 direction = CaretMoveIntent::Right; in HandleSelect()
272 direction = CaretMoveIntent::Up; in HandleSelect()
275 direction = CaretMoveIntent::Down; in HandleSelect()
H A Dtext_field_pattern.cpp1081 case CaretMoveIntent::Left: { in CursorMove()
1085 case CaretMoveIntent::Right: { in CursorMove()
1089 case CaretMoveIntent::Up: { in CursorMove()
1093 case CaretMoveIntent::Down: { in CursorMove()
1121 case CaretMoveIntent::Home: { in CursorMove()
1125 case CaretMoveIntent::End: { in CursorMove()
1136 case CaretMoveIntent::Left: { in HandleSelect()
1144 case CaretMoveIntent::Up: { in HandleSelect()
1148 case CaretMoveIntent::Down: { in HandleSelect()
1168 case CaretMoveIntent::Home: { in HandleSelect()
[all …]
H A Dtext_field_pattern.h559 void CursorMove(CaretMoveIntent direction) override;
579 void HandleSelect(CaretMoveIntent direction) override;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_pattern.cpp6505 case CaretMoveIntent::Left: in OnBackPressed()
6508 case CaretMoveIntent::Right: in OnBackPressed()
6511 case CaretMoveIntent::Up: in OnBackPressed()
6514 case CaretMoveIntent::Down: in OnBackPressed()
6529 case CaretMoveIntent::Home: in OnBackPressed()
6532 case CaretMoveIntent::End: in OnBackPressed()
6538 case CaretMoveIntent::LineEnd: in OnBackPressed()
10361 case CaretMoveIntent::Left: in OnBackPressed()
10363 case CaretMoveIntent::Right: in OnBackPressed()
10365 case CaretMoveIntent::Up: in OnBackPressed()
[all …]
H A Drich_editor_pattern.h438 void CursorMove(CaretMoveIntent direction) override;
466 int32_t HandleSelectWrapper(CaretMoveIntent direction, int32_t fixedPos);
473 int32_t CaretPositionSelectEmoji(CaretMoveIntent direction);
474 void HandleSelect(CaretMoveIntent direction) override;