/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pipeline/ |
H A D | mock_input_method_manager.cpp | 19 std::unique_ptr<InputMethodManager> InputMethodManager::instance_ = nullptr; 20 std::mutex InputMethodManager::mtx_; 22 InputMethodManager* InputMethodManager::GetInstance() in GetInstance() 27 instance_.reset(new InputMethodManager); in GetInstance() 39 void InputMethodManager::SetWindowFocus(bool windowFocus) {} in SetWindowFocus() 41 bool InputMethodManager::NeedSoftKeyboard() const in NeedSoftKeyboard() 46 void InputMethodManager::CloseKeyboard() {} in CloseKeyboard() 48 void InputMethodManager::CloseKeyboardInPipelineDestroy() {} in CloseKeyboardInPipelineDestroy() 50 void InputMethodManager::CloseKeyboard(const RefPtr<NG::FrameNode>& focusNode) {} in CloseKeyboard() 52 void InputMethodManager::HideKeyboardAcrossProcesses() {} in HideKeyboardAcrossProcesses() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | input_method_manager_preview.cpp | 19 std::unique_ptr<InputMethodManager> InputMethodManager::instance_ = nullptr; 21 InputMethodManager* InputMethodManager::GetInstance() in GetInstance() 25 instance_.reset(new InputMethodManager()); in GetInstance() 34 void InputMethodManager::ProcessKeyboard(const RefPtr<NG::FrameNode>& curFocusNode) {} in ProcessKeyboard() 36 void InputMethodManager::SetWindowFocus(bool windowFocus) {} in SetWindowFocus() 38 bool InputMethodManager::NeedSoftKeyboard() const in NeedSoftKeyboard() 43 void InputMethodManager::CloseKeyboard() {} in CloseKeyboard() 45 void InputMethodManager::CloseKeyboardInPipelineDestroy() { lastKeep_ = false; } in CloseKeyboardInPipelineDestroy() 47 void InputMethodManager::CloseKeyboard(const RefPtr<NG::FrameNode>& focusNode) {} in CloseKeyboard() 49 void InputMethodManager::HideKeyboardAcrossProcesses() {} in HideKeyboardAcrossProcesses() [all …]
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/core/ |
H A D | input_method_manager.cpp | 23 InputMethodManager& InputMethodManager::GetInstance() in GetInstance() 25 static InputMethodManager InputMethodManager; in GetInstance() local 26 return InputMethodManager; in GetInstance() 29 void InputMethodManager::ShowInputMethod(UIView* view) in ShowInputMethod() 55 void InputMethodManager::HideInputMethod() in HideInputMethod() 69 void InputMethodManager::InsertText(std::string text) in InsertText() 88 uint16_t InputMethodManager::GetCursorIndex() in GetCursorIndex() 94 void InputMethodManager::DeleteBackward(uint16_t length) in DeleteBackward() 107 void InputMethodManager::SetInputType(InputType type) in SetInputType() 120 void InputMethodManager::OnKeyboardShow() {} in OnKeyboardShow() [all …]
|
/ohos5.0/foundation/arkui/ui_lite/interfaces/innerkits/common/ |
H A D | input_method_manager.h | 25 class InputMethodManager : public HeapBase { 59 static InputMethodManager& GetInstance(); 114 InputMethodManager() {} in InputMethodManager() function 115 ~InputMethodManager() {} in ~InputMethodManager() 117 InputMethodManager(const InputMethodManager&) = delete; 118 InputMethodManager& operator=(const InputMethodManager&) = delete; 119 InputMethodManager(InputMethodManager&&) = delete; 120 InputMethodManager& operator=(InputMethodManager&&) = delete;
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | input_method_manager_ohos.cpp | 30 std::unique_ptr<InputMethodManager> InputMethodManager::instance_ = nullptr; 31 std::mutex InputMethodManager::mtx_; 33 InputMethodManager* InputMethodManager::GetInstance() in GetInstance() 38 instance_.reset(new InputMethodManager); in GetInstance() 143 void InputMethodManager::SetWindowFocus(bool windowFocus) in SetWindowFocus() 148 bool InputMethodManager::NeedSoftKeyboard() const in NeedSoftKeyboard() 168 void InputMethodManager::CloseKeyboard() in CloseKeyboard() 193 void InputMethodManager::CloseKeyboardInPipelineDestroy() in CloseKeyboardInPipelineDestroy() 203 void InputMethodManager::CloseKeyboard(const RefPtr<NG::FrameNode>& focusNode) in CloseKeyboard() 219 void InputMethodManager::HideKeyboardAcrossProcesses() in HideKeyboardAcrossProcesses() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/ime/ |
H A D | input_method_manager.h | 23 class InputMethodManager final { 26 static InputMethodManager* GetInstance(); 39 InputMethodManager() = default; 40 InputMethodManager(const InputMethodManager&) = delete; 41 InputMethodManager& operator=(const InputMethodManager&) = delete; 46 static std::unique_ptr<InputMethodManager> instance_;
|
/ohos5.0/foundation/arkui/ui_lite/test/unittest/common/ |
H A D | input_method_manager_unit_test.cpp | 30 class TestInputMethodListener : public InputMethodManager::InputMethodListener { 32 void OnShow(InputMethodManager::InputMethodParam& param) override in OnShow() 57 InputMethodManager& inputMethodManager = InputMethodManager::GetInstance(); in TearDownTestCase() 70 InputMethodManager& inputMethodManager = InputMethodManager::GetInstance(); 95 InputMethodManager& inputMethodManager = InputMethodManager::GetInstance(); 119 InputMethodManager& inputMethodManager = InputMethodManager::GetInstance(); 165 InputMethodManager& inputMethodManager = InputMethodManager::GetInstance();
|
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_edit_text/ |
H A D | custom_input_method.cpp | 115 void CustomInputMethod::OnShow(InputMethodManager::InputMethodParam& param) in OnShow() 139 InputMethodManager::GetInstance().OnKeyboardShow(); in OnShow() 148 InputMethodManager::GetInstance().OnKeyboardHide(); in OnHide() 291 InputMethodManager::GetInstance().SetInputType(InputType::TEXT_TYPE); in OnClick() 334 InputMethodManager::GetInstance().DeleteBackward(1); in DealKeyEvent() 337 InputMethodManager::GetInstance().InsertText(" "); in DealKeyEvent() 342 InputMethodManager::GetInstance().InsertText(key); in DealKeyEvent() 357 InputMethodManager::GetInstance().SetInputType(InputType::TEXT_TYPE); in OnLongPress() 382 InputMethodManager::GetInstance().DeleteBackward(1); in DealLongPressKeyEvent() 385 InputMethodManager::GetInstance().InsertText(" "); in DealLongPressKeyEvent() [all …]
|
H A D | custom_input_method.h | 39 public InputMethodManager::InputMethodListener { 61 void OnShow(InputMethodManager::InputMethodParam& param) override;
|
H A D | ui_test_edit_text.cpp | 34 InputMethodManager::GetInstance().SetInputMethodListener(inputMethod); in SetUp()
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/dock/ |
H A D | focus_manager.cpp | 48 InputMethodManager::GetInstance().ShowInputMethod(focusView_); in RequestFocus()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stage/ |
H A D | stage_manager.cpp | 177 InputMethodManager::GetInstance()->CloseKeyboard(); in PageChangeCloseKeyboard()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/ |
H A D | pipeline_context.cpp | 148 auto needKeyboard = InputMethodManager::GetInstance()->NeedSoftKeyboard(); in NeedSoftKeyboard() 3538 InputMethodManager::GetInstance()->SetWindowFocus(true); in WindowFocus() 3719 InputMethodManager::GetInstance()->CloseKeyboardInPipelineDestroy(); in Destroy() 4695 InputMethodManager::GetInstance()->OnFocusNodeChange(node); in RegisterFocusCallback()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | navigation_pattern.cpp | 784 InputMethodManager::GetInstance()->CloseKeyboard(); in RefreshNavDestination()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/ |
H A D | web_pattern.cpp | 6653 InputMethodManager::GetInstance()->CloseKeyboard(); in CloseKeyboard()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
H A D | overlay_manager.cpp | 3959 InputMethodManager::GetInstance()->ProcessModalPageScene(); in ModalPageLostFocus()
|