Home
last modified time | relevance | path

Searched refs:TextInputType (Results 1 – 11 of 11) sorted by relevance

/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/
Dinput_method_utils.h30 enum class TextInputType { enum
69 TextInputType GetTextInputType() const in GetTextInputType()
74 void SetTextInputType(TextInputType textType) in SetTextInputType()
81 TextInputType textInputType = TextInputType::TEXT;
/base/inputmethod/imf/test/unittest/cpp_test/src/
Dinput_method_attach_test.cpp234 TextInputType textInputType = TextInputType::DATETIME;
255 TextInputType textInputType = TextInputType::DATETIME;
402 config.SetTextInputType(TextInputType::DATETIME);
410 … EXPECT_EQ(totalConfig.inputAttribute.inputPattern, static_cast<int32_t>(TextInputType::DATETIME));
432 configuration.SetTextInputType(TextInputType::DATETIME);
551 configuration.SetTextInputType(TextInputType::DATETIME);
Dinput_method_controller_test.cpp368 return (static_cast<OHOS::MiscServices::TextInputType>( in TriggerConfigurationChangeCallback()
716 EXPECT_TRUE(inputPattern >= static_cast<int32_t>(TextInputType::NONE)
717 && inputPattern <= static_cast<int32_t>(TextInputType::VISIBLE_PASSWORD));
733 info.SetTextInputType(TextInputType::NUMBER);
Dinput_method_ability_test.cpp383 TextInputType textInputType = TextInputType::DATETIME;
/base/inputmethod/imf/test/fuzztest/inputmethodcontroller_fuzzer/
Dinputmethodcontroller_fuzzer.cpp91 TextInputType textInputType = TextInputType::DATETIME; in TestOnConfigurationChange()
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
Djs_input_method_engine_setting.cpp61 …PI_PROPERTY("PATTERN_NULL", GetIntJsConstProperty(env, static_cast<int32_t>(TextInputType::NONE))), in Init()
62 …NAPI_PROPERTY("PATTERN_TEXT", GetJsConstProperty(env, static_cast<uint32_t>(TextInputType::TEXT))), in Init()
63 …_PROPERTY("PATTERN_NUMBER", GetJsConstProperty(env, static_cast<uint32_t>(TextInputType::NUMBER))), in Init()
64 …PI_PROPERTY("PATTERN_PHONE", GetJsConstProperty(env, static_cast<uint32_t>(TextInputType::PHONE))), in Init()
66 … "PATTERN_DATETIME", GetJsConstProperty(env, static_cast<uint32_t>(TextInputType::DATETIME))), in Init()
68 … "PATTERN_EMAIL", GetJsConstProperty(env, static_cast<uint32_t>(TextInputType::EMAIL_ADDRESS))), in Init()
69 …E_NAPI_PROPERTY("PATTERN_URI", GetJsConstProperty(env, static_cast<uint32_t>(TextInputType::URL))), in Init()
71 …"PATTERN_PASSWORD", GetJsConstProperty(env, static_cast<uint32_t>(TextInputType::VISIBLE_PASSWORD)… in Init()
/base/web/webview/ohos_adapter/inputmethodframework_adapter/src/
Dimf_adapter_impl.cpp248 config.SetTextInputType(MiscServices::TextInputType::NUMBER); in ShowCurrentInput()
250 config.SetTextInputType(MiscServices::TextInputType::TEXT); in ShowCurrentInput()
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/
Djs_get_input_method_controller.cpp152 NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(TextInputType::NONE), &typeNone)); in GetJsTextInputTypeProperty()
153 NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(TextInputType::TEXT), &typeText)); in GetJsTextInputTypeProperty()
154 …NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(TextInputType::MULTILINE), &typeMultili… in GetJsTextInputTypeProperty()
155 … NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(TextInputType::NUMBER), &typeNumber)); in GetJsTextInputTypeProperty()
156 NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(TextInputType::PHONE), &typePhone)); in GetJsTextInputTypeProperty()
157 …NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(TextInputType::DATETIME), &typeDatatime… in GetJsTextInputTypeProperty()
158 …NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(TextInputType::EMAIL_ADDRESS), &typeEma… in GetJsTextInputTypeProperty()
159 NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(TextInputType::URL), &typeUrl)); in GetJsTextInputTypeProperty()
160 …NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(TextInputType::VISIBLE_PASSWORD), &type… in GetJsTextInputTypeProperty()
651 … ctxt->configuration.SetTextInputType(static_cast<TextInputType>(ctxt->attribute.inputPattern)); in UpdateAttribute()
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
Dinput_method_agent_stub.cpp76 configuration.SetTextInputType(TextInputType(data.ReadInt32())); in OnRemoteRequest()
/base/inputmethod/imf/test/unittest/napi_test/src/
DInputMethodWithAttachTest.js34 textInputType: inputMethod.TextInputType.TEXT,
323 …let attribute = { textInputType: inputMethod.TextInputType.TEXT, enterKeyType: inputMethod.EnterKe…
DInputMethodTest.js726 textInputType: inputMethod.TextInputType.TEXT,
760 textInputType: inputMethod.TextInputType.TEXT,
978 …let attribute = {textInputType: inputMethod.TextInputType.TEXT, enterKeyType: inputMethod.EnterKey…