Home
last modified time | relevance | path

Searched refs:KeyboardStatus (Results 1 – 14 of 14) sorted by relevance

/base/inputmethod/imf/test/common/src/
Dtext_listener.cpp32 KeyboardStatus TextListener::keyboardStatus_ = { KeyboardStatus::NONE };
65 void TextListener::SendKeyboardStatus(const KeyboardStatus &keyboardStatus) in SendKeyboardStatus()
160 keyboardStatus_ = KeyboardStatus::NONE; in ResetParam()
/base/inputmethod/imf/test/common/include/
Dtext_listener.h37 void SendKeyboardStatus(const KeyboardStatus &keyboardStatus) override;
62 static KeyboardStatus keyboardStatus_;
/base/inputmethod/imf/test/unittest/cpp_test/src/
Dinput_method_controller_test.cpp652 TextListener::keyboardStatus_ = KeyboardStatus::NONE;
655 EXPECT_TRUE(TextListener::keyboardStatus_ == KeyboardStatus::SHOW);
667 TextListener::keyboardStatus_ = KeyboardStatus::NONE;
671 …EXPECT_TRUE(imeListener_->keyboardState_ && TextListener::keyboardStatus_ == KeyboardStatus::SHOW);
683 TextListener::keyboardStatus_ = KeyboardStatus::NONE;
687 …EXPECT_TRUE(imeListener_->keyboardState_ && TextListener::keyboardStatus_ == KeyboardStatus::SHOW);
748 TextListener::keyboardStatus_ = KeyboardStatus::NONE;
752 …EXPECT_TRUE(!imeListener_->keyboardState_ && TextListener::keyboardStatus_ == KeyboardStatus::HIDE…
765 TextListener::keyboardStatus_ = KeyboardStatus::NONE;
769 …EXPECT_TRUE(!imeListener_->keyboardState_ && TextListener::keyboardStatus_ == KeyboardStatus::HIDE…
[all …]
Dinput_method_editor_test.cpp247 TextListener::keyboardStatus_ = KeyboardStatus::NONE;
253 …EXPECT_TRUE(imeListener_->keyboardState_ && TextListener::keyboardStatus_ == KeyboardStatus::SHOW);
275 TextListener::keyboardStatus_ = KeyboardStatus::NONE;
/base/web/webview/ohos_adapter/inputmethodframework_adapter/src/
Dimf_adapter_impl.cpp58 void IMFTextListenerAdapterImpl::SendKeyboardStatus(const MiscServices::KeyboardStatus& keyboardSta… in SendKeyboardStatus()
62 if (keyboardStatus == MiscServices::KeyboardStatus::SHOW) { in SendKeyboardStatus()
64 } else if (keyboardStatus == MiscServices::KeyboardStatus::HIDE) { in SendKeyboardStatus()
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/
Djs_get_input_method_textchange_listener.h32 void SendKeyboardStatus(const KeyboardStatus &status) override;
Djs_get_input_method_textchange_listener.cpp48 void JsGetInputMethodTextChangedListener::SendKeyboardStatus(const KeyboardStatus &status) in SendKeyboardStatus()
Djs_get_input_method_controller.cpp99 NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(KeyboardStatus::NONE), &statusNone)); in GetJsKeyboardStatusProperty()
100 NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(KeyboardStatus::HIDE), &statusHide)); in GetJsKeyboardStatusProperty()
101 NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(KeyboardStatus::SHOW), &statusShow)); in GetJsKeyboardStatusProperty()
878 void JsGetInputMethodController::SendKeyboardStatus(const KeyboardStatus &status) in SendKeyboardStatus()
Djs_get_input_method_controller.h182 void SendKeyboardStatus(const KeyboardStatus &status);
/base/web/webview/ohos_adapter/inputmethodframework_adapter/include/
Dimf_adapter_impl.h37 void SendKeyboardStatus(const MiscServices::KeyboardStatus& keyboardStatus) override;
/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/
Dinput_method_utils.h98 enum class KeyboardStatus { NONE = 0, HIDE, SHOW }; enum
/base/web/webview/test/unittest/ohos_adapter/imf_adapter_test/
Dimf_adapter_impl_test.cpp235 listenerTest->SendKeyboardStatus(MiscServices::KeyboardStatus::SHOW);
286 listenerTest->SendKeyboardStatus(MiscServices::KeyboardStatus::SHOW);
/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/
Dinput_method_controller.cpp233 listener->SendKeyboardStatus(KeyboardStatus::HIDE); in WorkThread()
253 KeyboardStatus status = static_cast<KeyboardStatus>(data->ReadInt32()); in WorkThread()
255 if (status == KeyboardStatus::HIDE) { in WorkThread()
/base/inputmethod/imf/interfaces/inner_api/inputmethod_controller/include/
Dinput_method_controller.h49 virtual void SendKeyboardStatus(const KeyboardStatus &keyboardStatus) = 0;