Home
last modified time | relevance | path

Searched refs:subProp (Results 1 – 4 of 4) sorted by relevance

/base/inputmethod/imf/services/src/
Dime_info_inquirer.cpp103 if (subName == currentImeInfo_->subProp.id) { in GetImeInfoFromNative()
104 info.subProp = currentImeInfo_->subProp; in GetImeInfoFromNative()
109 [&subName](const SubProperty &subProp) { return subProp.id == subName; }); in GetImeInfoFromNative() argument
114 info.subProp = *it; in GetImeInfoFromNative()
117 info.prop.id = info.subProp.id; in GetImeInfoFromNative()
150 info.subProp = subProps[0]; in GetImeInfoFromBundleMgr()
153 [&subName](const SubProperty &subProp) { return subProp.id == subName; }); in GetImeInfoFromBundleMgr() argument
158 info.subProp = *it; in GetImeInfoFromBundleMgr()
162 info.prop.id = info.subProp.id; in GetImeInfoFromBundleMgr()
405 for (auto &subProp : subProps) { in ListInputMethodSubtype() local
[all …]
Dinput_method_system_ability.cpp456 ImeCfgManager::GetInstance().ModifyImeCfg({ userId_, targetIme, info.subProp.id }); in SwitchExtension()
462 userSession_->OnSwitchIme(info.prop, info.subProp, false); in SwitchExtension()
469 auto ret = userSession_->OnSwitchIme(info.prop, info.subProp, true); in SwitchSubType()
474 ImeCfgManager::GetInstance().ModifyImeCfg({ userId_, currentIme, info.subProp.id }); in SwitchSubType()
706 auto condition = info.subProp.mode == "upper" ? Condition::LOWER : Condition::UPPER; in SwitchMode()
727 if (info.subProp.language != "chinese" && info.subProp.language != "english") { in SwitchLanguage()
730 auto condition = info.subProp.language == "chinese" ? Condition::ENGLISH : Condition::CHINESE; in SwitchLanguage()
/base/inputmethod/imf/test/unittest/napi_test/src/
DInputMethodTest.js57 function imeChange(prop, subProp) { argument
60 imeChangeSubProp = subProp;
71 function checkNewImeCurrentSubProp(subProp, index) argument
73 expect(subProp.name).assertEqual(bundleName);
74 expect(subProp.id).assertEqual(subName[index]);
75 expect(subProp.locale).assertEqual(locale[index]);
76 expect(subProp.language).assertEqual(language[index]);
98 function checkImeCurrentSubProp(subProp, index) argument
100 expect(subProp.name).assertEqual(bundleName1);
101 expect(subProp.id).assertEqual(extName1[index]);
[all …]
/base/inputmethod/imf/services/include/
Dime_info_inquirer.h36 SubProperty subProp; member
93 void ParseSubProp(const nlohmann::json &jsonSubProp, SubProperty &subProp);