/ohos5.0/base/web/webview/ohos_adapter/inputmethodframework_adapter/src/ |
H A D | imf_adapter_impl.cpp | 90 case MiscServices::EnterKeyType::NONE: in SendFunctionKey() 93 case MiscServices::EnterKeyType::GO: in SendFunctionKey() 96 case MiscServices::EnterKeyType::SEARCH: in SendFunctionKey() 99 case MiscServices::EnterKeyType::SEND: in SendFunctionKey() 102 case MiscServices::EnterKeyType::NEXT: in SendFunctionKey() 105 case MiscServices::EnterKeyType::DONE: in SendFunctionKey() 134 case MiscServices::Direction::UP: { in MoveCursor() 138 case MiscServices::Direction::DOWN: { in MoveCursor() 142 case MiscServices::Direction::LEFT: { in MoveCursor() 146 case MiscServices::Direction::RIGHT: { in MoveCursor() [all …]
|
/ohos5.0/base/inputmethod/imf/frameworks/ndk/src/ |
H A D | native_text_changed_listener.cpp | 20 namespace MiscServices { namespace 291 OHOS::MiscServices::KeyboardStatus status) in ConvertToCKeyboardStatus() 304 OHOS::MiscServices::EnterKeyType enterKeyType) in ConvertToCEnterKeyType() 307 case OHOS::MiscServices::EnterKeyType::NONE: in ConvertToCEnterKeyType() 309 case OHOS::MiscServices::EnterKeyType::GO: in ConvertToCEnterKeyType() 313 case OHOS::MiscServices::EnterKeyType::SEND: in ConvertToCEnterKeyType() 331 case OHOS::MiscServices::Direction::NONE: in ConvertToCDirection() 333 case OHOS::MiscServices::Direction::UP: in ConvertToCDirection() 335 case OHOS::MiscServices::Direction::DOWN: in ConvertToCDirection() 337 case OHOS::MiscServices::Direction::LEFT: in ConvertToCDirection() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/capability/clipboard/ |
H A D | clipboard_impl.cpp | 36 auto shareOption = MiscServices::ShareOption::InApp; in TransitionCopyOption() 39 shareOption = MiscServices::ShareOption::InApp; in TransitionCopyOption() 374 OHOS::MiscServices::PasteData pasteData; in GetDataSync() 426 OHOS::MiscServices::PasteData pasteData; in GetDataAsync() 492 OHOS::MiscServices::PasteData pasteData; in GetDataSync() 536 OHOS::MiscServices::PasteData pasteData; in GetDataAsync() 592 OHOS::MiscServices::PasteData pasteData; in GetSpanStringDataHelper() 624 OHOS::MiscServices::MIMETYPE_PIXELMAP, OHOS::MiscServices::MIMETYPE_TEXT_PLAIN, in ProcessSpanStringData() 625 OHOS::MiscServices::MIMETYPE_TEXT_HTML }; in ProcessSpanStringData() 664 OHOS::MiscServices::PasteData pasteData; in GetPixelMapDataSync() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | on_text_changed_listener_impl.h | 25 class OnTextChangedListenerImpl : public MiscServices::OnTextChangedListener { 39 void SendKeyEventFromInputMethod(const MiscServices::KeyEvent& event) override; 40 void SendKeyboardStatus(const MiscServices::KeyboardStatus& keyboardStatus) override; 42 void SendFunctionKey(const MiscServices::FunctionKey& functionKey) override; 43 void MoveCursor(MiscServices::Direction direction) override; 50 void NotifyPanelStatusInfo(const MiscServices::PanelStatusInfo& info) override; 52 const std::unordered_map<std::string, MiscServices::PrivateDataValue>& privateCommand, 54 int32_t SetPreviewText(const std::u16string &text, const MiscServices::Range &range) override; 63 void HandleKeyboardStatus(MiscServices::KeyboardStatus status); 64 void HandleFunctionKey(MiscServices::FunctionKey functionKey); [all …]
|
H A D | on_text_changed_listener_impl.cpp | 206 case MiscServices::Direction::UP: in MoveCursor() 209 case MiscServices::Direction::DOWN: in MoveCursor() 212 case MiscServices::Direction::LEFT: in MoveCursor() 215 case MiscServices::Direction::RIGHT: in MoveCursor() 315 MiscServices::PanelType panelType = info.panelInfo.panelType; in NotifyPanelStatusInfo() 317 MiscServices::Trigger triggerFrom = info.trigger; in NotifyPanelStatusInfo() 325 if (triggerFrom == MiscServices::Trigger::IME_APP) { in NotifyPanelStatusInfo() 393 if (ret != MiscServices::ErrorCode::NO_ERROR) { in SetPreviewText() 432 int32_t ret = MiscServices::ErrorCode::NO_ERROR; in ReceivePrivateCommand() 455 ret = MiscServices::ErrorCode::NO_ERROR; in ReceivePrivateCommand() [all …]
|
/ohos5.0/base/web/webview/test/unittest/ohos_adapter/imf_adapter_test/ |
H A D | imf_adapter_impl_test.cpp | 362 MiscServices::KeyEvent event; 363 MiscServices::FunctionKey functionKey; 372 listenerTest->MoveCursor(MiscServices::Direction::NONE); 373 listenerTest->MoveCursor(MiscServices::Direction::UP); 374 listenerTest->MoveCursor(MiscServices::Direction::DOWN); 375 listenerTest->MoveCursor(MiscServices::Direction::LEFT); 383 MiscServices::Range range { 0, 0 }; 402 MiscServices::FunctionKey functionKey; 436 MiscServices::KeyEvent event; 437 MiscServices::FunctionKey functionKey; [all …]
|
/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/mock/ |
H A D | global.h | 31 namespace MiscServices { 72 …(void)HILOG_IMPL(LOG_CORE, LOG_DEBUG, OHOS::MiscServices::g_SMALL_SERVICES_LABEL.domain, … 73 …OHOS::MiscServices::g_SMALL_SERVICES_LABEL.tag, "line: %{public}d, function: %{public}s," fmt, __L… 76 …(void)HILOG_IMPL(LOG_CORE, LOG_ERROR, OHOS::MiscServices::g_SMALL_SERVICES_LABEL.domain, … 77 …OHOS::MiscServices::g_SMALL_SERVICES_LABEL.tag, "line: %{public}d, function: %{public}s," fmt, __L… 80 …(void)HILOG_IMPL(LOG_CORE, LOG_FATAL, OHOS::MiscServices::g_SMALL_SERVICES_LABEL.domain, … 81 …OHOS::MiscServices::g_SMALL_SERVICES_LABEL.tag, "line: %{public}d, function: %{public}s," fmt, __L… 84 …(void)HILOG_IMPL(LOG_CORE, LOG_INFO, OHOS::MiscServices::g_SMALL_SERVICES_LABEL.domain, … 85 …OHOS::MiscServices::g_SMALL_SERVICES_LABEL.tag, "line: %{public}d, function: %{public}s," fmt, __L… 88 …(void)HILOG_IMPL(LOG_CORE, LOG_WARN, OHOS::MiscServices::g_SMALL_SERVICES_LABEL.domain, … [all …]
|
/ohos5.0/base/inputmethod/imf/common/include/ |
H A D | global.h | 28 namespace MiscServices { 122 …(void)HILOG_IMPL(LOG_CORE, LOG_DEBUG, OHOS::MiscServices::g_SMALL_SERVICES_LABEL.domain, … 123 …OHOS::MiscServices::g_SMALL_SERVICES_LABEL.tag, "line: %{public}d, function: %{public}s," fmt, __L… 126 …(void)HILOG_IMPL(LOG_CORE, LOG_ERROR, OHOS::MiscServices::g_SMALL_SERVICES_LABEL.domain, … 127 …OHOS::MiscServices::g_SMALL_SERVICES_LABEL.tag, "line: %{public}d, function: %{public}s," fmt, __L… 130 …(void)HILOG_IMPL(LOG_CORE, LOG_FATAL, OHOS::MiscServices::g_SMALL_SERVICES_LABEL.domain, … 131 …OHOS::MiscServices::g_SMALL_SERVICES_LABEL.tag, "line: %{public}d, function: %{public}s," fmt, __L… 134 …(void)HILOG_IMPL(LOG_CORE, LOG_INFO, OHOS::MiscServices::g_SMALL_SERVICES_LABEL.domain, … 135 …OHOS::MiscServices::g_SMALL_SERVICES_LABEL.tag, "line: %{public}d, function: %{public}s," fmt, __L… 138 …(void)HILOG_IMPL(LOG_CORE, LOG_WARN, OHOS::MiscServices::g_SMALL_SERVICES_LABEL.domain, … [all …]
|
/ohos5.0/base/inputmethod/imf/frameworks/ndk/include/ |
H A D | native_text_changed_listener.h | 20 namespace MiscServices { 21 class NativeTextChangedListener : public OHOS::MiscServices::OnTextChangedListener { 28 void SendKeyboardStatus(const OHOS::MiscServices::KeyboardStatus &status) override; 29 void SendFunctionKey(const OHOS::MiscServices::FunctionKey &functionKey) override; 30 void MoveCursor(const OHOS::MiscServices::Direction direction) override; 37 …int32_t SetPreviewText(const std::u16string &text, const OHOS::MiscServices::Range &range) overrid… 47 InputMethod_KeyboardStatus ConvertToCKeyboardStatus(OHOS::MiscServices::KeyboardStatus status); 48 InputMethod_EnterKeyType ConvertToCEnterKeyType(OHOS::MiscServices::EnterKeyType enterKeyType); 49 InputMethod_Direction ConvertToCDirection(OHOS::MiscServices::Direction direction);
|
/ohos5.0/base/web/webview/ohos_adapter/inputmethodframework_adapter/include/ |
H A D | imf_adapter_impl.h | 44 class IMFTextListenerAdapterImpl : public MiscServices::OnTextChangedListener { 56 void SendKeyEventFromInputMethod(const MiscServices::KeyEvent& event) override; 58 void SendKeyboardStatus(const MiscServices::KeyboardStatus& keyboardStatus) override; 60 void SendFunctionKey(const MiscServices::FunctionKey& functionKey) override; 64 void MoveCursor(const MiscServices::Direction direction) override; 78 int32_t SetPreviewText(const std::u16string& text, const MiscServices::Range& range) override; 83 … const std::unordered_map<std::string, MiscServices::PrivateDataValue>& privateCommand) override; 85 void NotifyPanelStatusInfo(const MiscServices::PanelStatusInfo& info) override; 119 sptr<MiscServices::OnTextChangedListener> textListener_ = nullptr;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/ |
H A D | on_text_changed_listener_impl.h | 25 class OnTextChangedListenerImpl : public MiscServices::OnTextChangedListener { 35 void SendKeyEventFromInputMethod(const MiscServices::KeyEvent& event) override; 36 void SendKeyboardStatus(const MiscServices::KeyboardStatus& keyboardStatus) override; 37 void SendFunctionKey(const MiscServices::FunctionKey& functionKey) override; 38 void MoveCursor(MiscServices::Direction direction) override; 49 void HandleKeyboardStatus(MiscServices::KeyboardStatus status); 50 void HandleFunctionKey(MiscServices::FunctionKey functionKey);
|
H A D | on_text_changed_listener_impl.cpp | 172 void OnTextChangedListenerImpl::SendKeyEventFromInputMethod(const MiscServices::KeyEvent& event) {} in SendKeyEventFromInputMethod() 174 void OnTextChangedListenerImpl::SendKeyboardStatus(const MiscServices::KeyboardStatus& keyboardStat… in SendKeyboardStatus() 179 void OnTextChangedListenerImpl::SendFunctionKey(const MiscServices::FunctionKey& functionKey) in SendFunctionKey() 184 void OnTextChangedListenerImpl::HandleKeyboardStatus(MiscServices::KeyboardStatus status) in HandleKeyboardStatus() 187 SetKeyboardStatus(status == MiscServices::KeyboardStatus::SHOW); in HandleKeyboardStatus() 190 void OnTextChangedListenerImpl::HandleFunctionKey(MiscServices::FunctionKey functionKey) in HandleFunctionKey() 216 void OnTextChangedListenerImpl::MoveCursor(MiscServices::Direction direction) in MoveCursor() 225 case MiscServices::Direction::UP: in MoveCursor() 228 case MiscServices::Direction::DOWN: in MoveCursor() 231 case MiscServices::Direction::LEFT: in MoveCursor() [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/ |
H A D | js-apis-system-request.md | 24 **系统能力**: 以下各项对应的系统能力均为SystemCapability.MiscServices.Upload 72 **系统能力**: 以下各项对应的系统能力均为SystemCapability.MiscServices.Upload。 101 **系统能力**: 以下各项对应的系统能力均为SystemCapability.MiscServices.Upload。 112 **系统能力**: 以下各项对应的系统能力均为SystemCapability.MiscServices.Upload。 124 **系统能力**: SystemCapability.MiscServices.Upload。 139 **系统能力**: 以下各项对应的系统能力均为SystemCapability.MiscServices.Download 179 **系统能力**: 以下各项对应的系统能力均为SystemCapability.MiscServices.Download。 204 **系统能力**: 以下各项对应的系统能力均为SystemCapability.MiscServices.Download。 217 **系统能力**: 以下各项对应的系统能力均为SystemCapability.MiscServices.Download 249 **系统能力**: 以下各项对应的系统能力均为SystemCapability.MiscServices.Download。 [all …]
|
H A D | js-apis-pasteboard.md | 19 **系统能力:** SystemCapability.MiscServices.Pasteboard 38 **系统能力:** SystemCapability.MiscServices.Pasteboard 55 **系统能力:** SystemCapability.MiscServices.Pasteboard 98 **系统能力:** SystemCapability.MiscServices.Pasteboard 146 **系统能力:** SystemCapability.MiscServices.Pasteboard 191 **系统能力:** SystemCapability.MiscServices.Pasteboard 211 **系统能力:** SystemCapability.MiscServices.Pasteboard 228 **系统能力:** SystemCapability.MiscServices.Pasteboard 258 **系统能力:** SystemCapability.MiscServices.Pasteboard 293 **系统能力:** SystemCapability.MiscServices.Pasteboard [all …]
|
H A D | js-apis-wallpaper.md | 21 **系统能力**: SystemCapability.MiscServices.Wallpaper 37 **系统能力**: SystemCapability.MiscServices.Wallpaper 57 **系统能力**: SystemCapability.MiscServices.Wallpaper 89 **系统能力**: SystemCapability.MiscServices.Wallpaper 135 **系统能力**: SystemCapability.MiscServices.Wallpaper 168 **系统能力**: SystemCapability.MiscServices.Wallpaper 204 **系统能力**: SystemCapability.MiscServices.Wallpaper 237 **系统能力**: SystemCapability.MiscServices.Wallpaper 273 **系统能力**: SystemCapability.MiscServices.Wallpaper 305 **系统能力**: SystemCapability.MiscServices.Wallpaper [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ime-kit/ |
H A D | js-apis-inputmethodengine.md | 19 **系统能力:** SystemCapability.MiscServices.InputMethodFramework 64 **系统能力:** SystemCapability.MiscServices.InputMethodFramework 84 **系统能力:** SystemCapability.MiscServices.InputMethodFramework 108 **系统能力:** SystemCapability.MiscServices.InputMethodFramework 132 **系统能力:** SystemCapability.MiscServices.InputMethodFramework 152 **系统能力:** SystemCapability.MiscServices.InputMethodFramework 192 **系统能力:** SystemCapability.MiscServices.InputMethodFramework 221 **系统能力:** SystemCapability.MiscServices.InputMethodFramework 249 **系统能力:** SystemCapability.MiscServices.InputMethodFramework 279 **系统能力:** SystemCapability.MiscServices.InputMethodFramework [all …]
|
H A D | js-apis-inputmethod.md | 20 **系统能力:** SystemCapability.MiscServices.InputMethodFramework 30 **系统能力:** SystemCapability.MiscServices.InputMethodFramework 50 **系统能力:** SystemCapability.MiscServices.InputMethodFramework 78 **系统能力:** SystemCapability.MiscServices.InputMethodFramework 110 **系统能力:** SystemCapability.MiscServices.InputMethodFramework 142 **系统能力:** SystemCapability.MiscServices.InputMethodFramework 174 **系统能力:** SystemCapability.MiscServices.InputMethodFramework 229 **系统能力:** SystemCapability.MiscServices.InputMethodFramework 284 **系统能力:** SystemCapability.MiscServices.InputMethodFramework 310 **系统能力:** SystemCapability.MiscServices.InputMethodFramework [all …]
|
/ohos5.0/base/web/webview/ohos_adapter/pasteboard_adapter/include/ |
H A D | pasteboard_client_adapter_impl.h | 26 class PasteboardObserverAdapterImpl : public MiscServices::PasteboardObserver { 39 std::shared_ptr<MiscServices::PasteDataRecord> record); 53 std::shared_ptr<MiscServices::PasteDataRecord> GetRecord(); 60 std::shared_ptr<MiscServices::PasteDataRecord> record_; 61 std::shared_ptr<MiscServices::PasteDataRecord::Builder> builder_; 74 explicit PasteDataAdapterImpl(std::shared_ptr<MiscServices::PasteData> data); 85 std::shared_ptr<MiscServices::PasteData> data_; 89 std::map<int32_t, sptr<MiscServices::PasteboardObserver>>; 112 MiscServices::ShareOption TransitionCopyOption(CopyOptionMode copyOption);
|
/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/src/utils/ |
H A D | clipboard_utils.cpp | 25 auto plugin_ = MiscServices::PasteboardClient::GetInstance(); in HandlePasteboardPolicy() 26 std::map<uint32_t, MiscServices::ShareOption> setMap; in HandlePasteboardPolicy() 34 setMap.insert(std::make_pair(it->first, MiscServices::ShareOption::InApp)); in HandlePasteboardPolicy() 37 setMap.insert(std::make_pair(it->first, MiscServices::ShareOption::LocalDevice)); in HandlePasteboardPolicy() 40 setMap.insert(std::make_pair(it->first, MiscServices::ShareOption::CrossDevice)); in HandlePasteboardPolicy() 63 auto plugin_ = MiscServices::PasteboardClient::GetInstance(); in RemoveAllPasteboardPolicy()
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/interfaces/cj/include/ |
H A D | paste_data_record_impl.h | 38 explicit PasteDataRecordImpl(std::shared_ptr<MiscServices::PasteDataRecord> pasteDataRecord); 40 std::shared_ptr<MiscServices::PasteDataRecord> GetRealPasteDataRecord(); 53 std::shared_ptr<MiscServices::PasteDataRecord> value_ = nullptr; 57 sptr<PasteDataRecordImpl> getCjPasteDataRecordImpl(std::shared_ptr<MiscServices::PasteDataRecord> r… 58 void removeCjPasteDataRecordImpl(std::shared_ptr<MiscServices::PasteDataRecord> record); 59 void addCjPasteDataRecordImpl(std::shared_ptr<MiscServices::PasteDataRecord> record,
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | clipboard_impl.cpp | 26 … auto pasteData = OHOS::MiscServices::PasteboardClient::GetInstance()->CreatePlainTextData(data); in SetData() 32 … [pasteData]() { OHOS::MiscServices::PasteboardClient::GetInstance()->SetPasteData(*pasteData); }, in SetData() 42 auto has = OHOS::MiscServices::PasteboardClient::GetInstance()->HasPasteData(); in GetData() 47 OHOS::MiscServices::PasteData pasteData; in GetData() 48 auto ok = OHOS::MiscServices::PasteboardClient::GetInstance()->GetPasteData(pasteData); in GetData()
|
/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/src/ |
H A D | native_text_changed_listener_test.cpp | 23 namespace MiscServices { namespace 34 listener->MoveCursor(OHOS::MiscServices::Direction::LEFT); in TestNativeTextChangedListener() 203 listener.MoveCursor(OHOS::MiscServices::Direction::NONE); 204 listener.MoveCursor(OHOS::MiscServices::Direction::UP); 205 listener.MoveCursor(OHOS::MiscServices::Direction::DOWN); 206 listener.MoveCursor(OHOS::MiscServices::Direction::RIGHT); 207 listener.MoveCursor(OHOS::MiscServices::Direction::LEFT); 220 listener.HandleExtendAction(static_cast<int32_t>(OHOS::MiscServices::ExtendAction::SELECT_ALL)); 221 listener.HandleExtendAction(static_cast<int32_t>(OHOS::MiscServices::ExtendAction::COPY)); 222 listener.HandleExtendAction(static_cast<int32_t>(OHOS::MiscServices::ExtendAction::CUT)); [all …]
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/include/ |
H A D | pasteboard_common.h | 37 bool GetValue(napi_env env, napi_value in, std::set<MiscServices::Pattern> &out); 38 napi_status SetValue(napi_env env, std::set<MiscServices::Pattern> &in, napi_value &result); 41 bool CheckExpression(napi_env env, bool expression, MiscServices::JSErrorCode errCode, const char *… 47 …std::shared_ptr<std::vector<std::pair<std::string, std::shared_ptr<MiscServices::EntryValue>>>> re… 49 std::shared_ptr<MiscServices::PasteDataEntry> value); 50 bool GetNativeValue(napi_env env, std::string type, napi_value valueNapi, MiscServices::EntryValue …
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/interfaces/cj/src/ |
H A D | paste_data_record_impl.cpp | 18 using namespace OHOS::MiscServices; 39 …std::shared_ptr<MiscServices::PasteDataRecord> realValue = pasteDataRecordImpl->GetRealPasteDataRe… in CreateCjPasteDataRecordObject() 58 void removeCjPasteDataRecordImpl(std::shared_ptr<MiscServices::PasteDataRecord> record) in removeCjPasteDataRecordImpl() 64 void addCjPasteDataRecordImpl(std::shared_ptr<MiscServices::PasteDataRecord> record, in addCjPasteDataRecordImpl() 76 PasteDataRecordImpl::PasteDataRecordImpl(std::shared_ptr<MiscServices::PasteDataRecord> pasteDataRe… in PasteDataRecordImpl() 100 std::shared_ptr<MiscServices::PasteDataRecord> PasteDataRecordImpl::GetRealPasteDataRecord() in GetRealPasteDataRecord() 105 std::shared_ptr<MiscServices::PasteDataRecord> res = value_; in GetRealPasteDataRecord()
|
/ohos5.0/base/inputmethod/imf/frameworks/js/napi/inputmethodability/ |
H A D | input_method_engine_module.cpp | 29 OHOS::MiscServices::JsInputMethodEngineSetting::Init(env, exports); in Init() 30 OHOS::MiscServices::JsKeyboardControllerEngine::Init(env, exports); in Init() 31 OHOS::MiscServices::JsTextInputClientEngine::Init(env, exports); in Init() 32 OHOS::MiscServices::JsKeyboardDelegateSetting::Init(env, exports); in Init()
|