Home
last modified time | relevance | path

Searched refs:input_method (Results 1 – 25 of 172) sorted by relevance

1234567

/external/chromium_org/ui/base/ime/
Dremote_input_method_win_unittest.cc245 scoped_ptr<InputMethod> input_method(CreateRemoteInputMethodWin(&delegate_)); in TEST() local
246 EXPECT_NE(kNull, RemoteInputMethodPrivateWin::Get(input_method.get())); in TEST()
248 InputMethod* dangling_ptr = input_method.get(); in TEST()
249 input_method.reset(NULL); in TEST()
255 scoped_ptr<InputMethod> input_method(CreateRemoteInputMethodWin(&delegate_)); in TEST() local
257 RemoteInputMethodPrivateWin::Get(input_method.get()); in TEST()
262 EXPECT_EQ("ja-JP", input_method->GetInputLocale()); in TEST()
264 input_method->GetInputTextDirection()); in TEST()
268 EXPECT_EQ("ar-QA", input_method->GetInputLocale()); in TEST()
270 input_method->GetInputTextDirection()); in TEST()
[all …]
Dinput_method_base_unittest.cc254 MockInputMethodBase input_method(&verifier); in TEST_F() local
257 scoped_observer.Add(&input_method); in TEST_F()
260 input_method.OnFocus(); in TEST_F()
265 ASSERT_EQ(NULL, input_method.GetTextInputClient()); in TEST_F()
267 input_method.SetFocusedTextInputClient(&text_input_client_1st); in TEST_F()
268 EXPECT_EQ(&text_input_client_1st, input_method.GetTextInputClient()); in TEST_F()
275 input_method.SetFocusedTextInputClient(&text_input_client_1st); in TEST_F()
282 ASSERT_EQ(&text_input_client_1st, input_method.GetTextInputClient()); in TEST_F()
285 input_method.SetFocusedTextInputClient(&text_input_client_2nd); in TEST_F()
286 EXPECT_EQ(&text_input_client_2nd, input_method.GetTextInputClient()); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/chromeos/input_method/
Dinput_method_util.cc144 namespace input_method { namespace
390 const InputMethodDescriptor& input_method) const { in GetInputMethodShortName()
397 if (kMappingFromIdToIndicatorText[i].input_method_id == input_method.id()) { in GetInputMethodShortName()
405 IsKeyboardLayout(input_method.id())) { in GetInputMethodShortName()
408 UTF8ToUTF16(GetKeyboardLayoutName(input_method.id())); in GetInputMethodShortName()
421 DCHECK(!input_method.language_codes().empty()); in GetInputMethodShortName()
422 const std::string language_code = input_method.language_codes().at(0); in GetInputMethodShortName()
431 const InputMethodDescriptor& input_method) const { in GetInputMethodMediumName()
437 input_method.id()) { in GetInputMethodMediumName()
442 return GetInputMethodShortName(input_method); in GetInputMethodMediumName()
[all …]
Dinput_method_persistence.cc19 namespace input_method { namespace
22 void PersistSystemInputMethod(const std::string& input_method) { in PersistSystemInputMethod() argument
27 language_prefs::kPreferredKeyboardLayout, input_method); in PersistSystemInputMethod()
32 const std::string& input_method, in SetUserLRUInputMethod() argument
33 const chromeos::input_method::InputMethodManager* const manager) { in SetUserLRUInputMethod()
36 if (!manager->IsLoginKeyboard(input_method)) in SetUserLRUInputMethod()
46 if (!manager->IsLoginKeyboard(input_method)) in SetUserLRUInputMethod()
60 input_method); in SetUserLRUInputMethod()
73 input_method); in SetUserLRUInputMethod()
84 void PersistUserInputMethod(const std::string& input_method, in PersistUserInputMethod() argument
[all …]
Dinput_method_engine.cc70 candidate_window_(new input_method::CandidateWindow()), in InputMethodEngine()
74 input_method::InputMethodManager::Get()->RemoveInputMethodExtension(ibus_id_); in ~InputMethodEngine()
91 input_method::InputMethodManager* manager = in Initialize()
92 input_method::InputMethodManager::Get(); in Initialize()
111 input_method::InputMethodManager* manager = in StartIme()
112 input_method::InputMethodManager::Get(); in StartIme()
209 input_method::CandidateWindow::CandidateWindowProperty dest_property; in SetCandidateWindowProperty()
278 input_method::CandidateWindow::Entry entry; in SetCandidates()
335 input_method::InputMethodPropertyList property_list; in UpdateMenuItems()
338 input_method::InputMethodProperty property; in UpdateMenuItems()
[all …]
/external/chromium_org/chrome/browser/ui/ash/
Dime_controller_chromeos.cc11 chromeos::input_method::InputMethodManager* manager = in HandleNextIme()
12 chromeos::input_method::InputMethodManager::Get(); in HandleNextIme()
17 chromeos::input_method::InputMethodManager* manager = in HandlePreviousIme()
18 chromeos::input_method::InputMethodManager::Get(); in HandlePreviousIme()
23 chromeos::input_method::InputMethodManager* manager = in HandleSwitchIme()
24 chromeos::input_method::InputMethodManager::Get(); in HandleSwitchIme()
50 chromeos::input_method::InputMethodManager* manager = in UsingFrenchInputMethod()
51 chromeos::input_method::InputMethodManager::Get(); in UsingFrenchInputMethod()
52 const chromeos::input_method::InputMethodDescriptor& descriptor = in UsingFrenchInputMethod()
Dcaps_lock_delegate_chromeos.h14 namespace input_method {
25 explicit CapsLockDelegate(chromeos::input_method::XKeyboard* xkeyboard);
43 chromeos::input_method::XKeyboard* xkeyboard_;
/external/chromium/chrome/browser/ui/webui/options/chromeos/
Dlanguage_customize_modifier_keys_handler.cc15 chromeos::input_method::ModifierKey value;
18 chromeos::input_method::kSearchKey },
20 chromeos::input_method::kLeftControlKey },
22 chromeos::input_method::kLeftAltKey },
24 chromeos::input_method::kVoidKey },
26 chromeos::input_method::kCapsLockKey },
61 const input_method::ModifierKey value = in GetLocalizedValues()
66 value == input_method::kCapsLockKey) { in GetLocalizedValues()
Dcros_language_options_handler.cc93 chromeos::input_method::GetLanguageCodeFromDescriptor(descriptor); in GetInputMethodList()
95 chromeos::input_method::GetInputMethodDisplayNameFromId(descriptor.id); in GetInputMethodList()
107 for (size_t j = 0; j < arraysize(chromeos::input_method::kExtraLanguages); in GetInputMethodList()
110 chromeos::input_method::kExtraLanguages[j].input_method_id; in GetInputMethodList()
112 chromeos::input_method::kExtraLanguages[j].language_code; in GetInputMethodList()
132 chromeos::input_method::GetLanguageCodeFromDescriptor(descriptor); in GetLanguageList()
136 for (size_t i = 0; i < arraysize(chromeos::input_method::kExtraLanguages); in GetLanguageList()
139 chromeos::input_method::kExtraLanguages[i].language_code; in GetLanguageList()
157 chromeos::input_method::GetLanguageDisplayNameFromCode(*iter); in GetLanguageList()
159 chromeos::input_method::GetLanguageNativeDisplayNameFromCode(*iter); in GetLanguageList()
/external/chromium/chrome/browser/chromeos/status/
Dinput_method_menu.cc187 const InputMethodDescriptor& input_method in IsItemCheckedAt() local
189 return input_method == CrosLibrary::Get()->GetInputMethodLibrary()-> in IsItemCheckedAt()
307 return input_method::GetStringUTF16( in GetLabelAt()
325 const InputMethodDescriptor& input_method in ActivatedAt() local
328 input_method.id); in ActivatedAt()
420 const InputMethodDescriptor& input_method = library->current_input_method(); in PropertyListChanged() local
422 UpdateUIFromInputMethod(input_method, num_active_input_methods); in PropertyListChanged()
475 const InputMethodDescriptor& input_method, in UpdateUIFromInputMethod() argument
477 const std::wstring name = GetTextForIndicator(input_method); in UpdateUIFromInputMethod()
478 const std::wstring tooltip = GetTextForMenu(input_method); in UpdateUIFromInputMethod()
[all …]
Dinput_method_menu_button.cc85 input_method::OnLocaleChanged(); in OnLocaleChanged()
123 input_method::IsKeyboardLayout(input_method_id) && in UpdateUI()
160 const InputMethodDescriptor& input_method = in UpdateUIFromCurrentInputMethod() local
162 const std::wstring name = InputMethodMenu::GetTextForIndicator(input_method); in UpdateUIFromCurrentInputMethod()
163 const std::wstring tooltip = InputMethodMenu::GetTextForMenu(input_method); in UpdateUIFromCurrentInputMethod()
166 UpdateUI(input_method.id, name, tooltip, num_active_input_methods); in UpdateUIFromCurrentInputMethod()
Dinput_method_menu_button_browsertest.cc38 InputMethodMenuButton* input_method = GetInputMethodMenuButton(); in IN_PROC_BROWSER_TEST_F() local
39 ASSERT_TRUE(input_method != NULL); in IN_PROC_BROWSER_TEST_F()
43 std::wstring indicator = input_method->text(); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
Dkeyboard_handler.cc18 chromeos::input_method::ModifierKey value;
21 chromeos::input_method::kSearchKey },
23 chromeos::input_method::kControlKey },
25 chromeos::input_method::kAltKey },
27 chromeos::input_method::kVoidKey },
29 chromeos::input_method::kCapsLockKey },
31 chromeos::input_method::kEscapeKey },
85 const input_method::ModifierKey value = in GetLocalizedValues()
91 value == input_method::kCapsLockKey) { in GetLocalizedValues()
Dcros_language_options_handler.cc57 input_method::InputMethodManager::Get()->GetComponentExtensionIMEManager()-> in CrosLanguageOptionsHandler()
62 input_method::InputMethodManager::Get()->GetComponentExtensionIMEManager()-> in ~CrosLanguageOptionsHandler()
103 input_method::InputMethodManager* manager = in GetLocalizedValues()
104 input_method::InputMethodManager::Get(); in GetLocalizedValues()
106 scoped_ptr<input_method::InputMethodDescriptors> descriptors( in GetLocalizedValues()
111 input_method::InputMethodDescriptors ext_ime_descriptors; in GetLocalizedValues()
118 input_method::InputMethodManager::Get() in GetLocalizedValues()
152 const input_method::InputMethodDescriptors& descriptors) { in GetInputMethodList()
153 input_method::InputMethodManager* manager = in GetInputMethodList()
154 input_method::InputMethodManager::Get(); in GetInputMethodList()
[all …]
Dcros_language_options_handler.h42 const input_method::InputMethodDescriptors& descriptors);
50 const input_method::InputMethodDescriptors& descriptors);
57 const input_method::InputMethodDescriptors& descriptors);
64 const input_method::InputMethodDescriptors& descriptors);
92 const input_method::InputMethodDescriptors& descriptors,
Dcros_language_options_handler_unittest.cc16 using chromeos::input_method::InputMethodDescriptor;
17 using chromeos::input_method::InputMethodDescriptors;
18 using chromeos::input_method::MockInputMethodManager;
25 chromeos::input_method::InitializeForTesting(new MockInputMethodManager); in CrosLanguageOptionsHandlerTest()
28 chromeos::input_method::Shutdown(); in ~CrosLanguageOptionsHandlerTest()
/external/chromium_org/chrome/browser/ui/webui/chromeos/
Dkeyboard_overlay_ui.cc34 using chromeos::input_method::ModifierKey;
52 {chromeos::input_method::kSearchKey, "search"},
53 {chromeos::input_method::kControlKey, "ctrl"},
54 {chromeos::input_method::kAltKey, "alt"},
55 {chromeos::input_method::kVoidKey, "disabled"},
56 {chromeos::input_method::kCapsLockKey, "caps lock"},
57 {chromeos::input_method::kEscapeKey, "esc"},
328 chromeos::input_method::InputMethodManager* manager = in GetInputMethodId()
329 chromeos::input_method::InputMethodManager::Get(); in GetInputMethodId()
330 const chromeos::input_method::InputMethodDescriptor& descriptor = in GetInputMethodId()
[all …]
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
Dnetwork_screen_handler.cc215 input_method::InputMethodManager::Get()->ChangeInputMethod(id); in HandleOnInputMethodChanged()
237 input_method::InputMethodManager* manager = in GetLanguageList()
238 input_method::InputMethodManager::Get(); in GetLanguageList()
240 scoped_ptr<input_method::InputMethodDescriptors> descriptors( in GetLanguageList()
271 input_method::InputMethodManager* manager = in GetInputMethods()
272 input_method::InputMethodManager::Get(); in GetInputMethods()
273 input_method::InputMethodUtil* util = manager->GetInputMethodUtil(); in GetInputMethods()
274 scoped_ptr<input_method::InputMethodDescriptors> input_methods( in GetInputMethods()
279 DictionaryValue* input_method = new DictionaryValue; in GetInputMethods() local
280 input_method->SetString("value", ime_id); in GetInputMethods()
[all …]
/external/chromium/chrome/browser/chromeos/
Dpreferences.cc60 input_method::GetHardwareInputMethodId()); in RegisterUserPrefs()
115 input_method::kSearchKey); in RegisterUserPrefs()
117 input_method::kLeftControlKey); in RegisterUserPrefs()
119 input_method::kLeftAltKey); in RegisterUserPrefs()
278 input_method::SetAutoRepeatEnabled(enabled); in NotifyPrefChanged()
457 if ((search_remap < input_method::kNumModifierKeys) && (search_remap >= 0) && in UpdateModifierKeyMapping()
458 (control_remap < input_method::kNumModifierKeys) && in UpdateModifierKeyMapping()
460 (alt_remap < input_method::kNumModifierKeys) && (alt_remap >= 0)) { in UpdateModifierKeyMapping()
461 input_method::ModifierMap modifier_map; in UpdateModifierKeyMapping()
463 input_method::ModifierKeyPair( in UpdateModifierKeyMapping()
[all …]
/external/chromium/chrome/browser/chromeos/input_method/
Dinput_method_util.cc68 const chromeos::InputMethodDescriptor& input_method = in ReloadMaps() local
71 chromeos::input_method::GetLanguageCodeFromDescriptor(input_method); in ReloadMaps()
73 library->GetKeyboardOverlayId(input_method.id); in ReloadMaps()
75 std::make_pair(language_code, input_method.id)); in ReloadMaps()
78 std::make_pair(input_method.id, language_code)); in ReloadMaps()
80 std::make_pair(input_method.id, input_method)); in ReloadMaps()
82 std::make_pair(input_method.keyboard_layout, keyboard_overlay_id)); in ReloadMaps()
86 using chromeos::input_method::kExtraLanguages; in ReloadMaps()
95 const chromeos::InputMethodDescriptor& input_method = iter->second; in ReloadMaps() local
97 library->GetKeyboardOverlayId(input_method.id); in ReloadMaps()
[all …]
/external/chromium_org/chrome/browser/chromeos/
Dsystem_key_event_listener.cc49 input_method::XKeyboard* xkeyboard = in SystemKeyEventListener()
50 input_method::InputMethodManager::Get()->GetXKeyboard(); in SystemKeyEventListener()
125 input_method::InputMethodManager* input_method_manager = in ProcessedXEvent()
126 input_method::InputMethodManager::Get(); in ProcessedXEvent()
141 input_method::kDontChange /* caps lock */, in ProcessedXEvent()
142 input_method::kDisableLock /* num lock */); in ProcessedXEvent()
/external/chromium_org/ui/keyboard/
Dkeyboard_controller_unittest.cc300 ui::InputMethod* input_method = proxy()->GetInputMethod(); in TEST_F() local
306 input_method->SetFocusedTextInputClient(&input_client_0); in TEST_F()
316 input_method->SetFocusedTextInputClient(&no_input_client_0); in TEST_F()
325 input_method->SetFocusedTextInputClient(&input_client_1); in TEST_F()
329 input_method->SetFocusedTextInputClient(&no_input_client_1); in TEST_F()
332 input_method->SetFocusedTextInputClient(&input_client_2); in TEST_F()
341 ui::InputMethod* input_method = proxy()->GetInputMethod(); in TEST_F() local
346 input_method->SetFocusedTextInputClient(&input_client_0); in TEST_F()
359 input_method->SetFocusedTextInputClient(&no_input_client_0); in TEST_F()
364 input_method->SetFocusedTextInputClient(&input_client_1); in TEST_F()
[all …]
/external/chromium/chrome/browser/chromeos/login/
Dbase_login_display_host.cc54 if (chromeos::input_method::GetInputMethodIdsFromLanguageCode( in DetermineAndSaveHardwareKeyboard()
56 chromeos::input_method::kKeyboardLayoutsOnly, in DetermineAndSaveHardwareKeyboard()
187 chromeos::input_method::GetHardwareInputMethodId(); in ShowLoginWizard()
189 chromeos::input_method::EnableInputMethods( in ShowLoginWizard()
190 locale, chromeos::input_method::kKeyboardLayoutsOnly, in ShowLoginWizard()
249 chromeos::input_method::EnableInputMethods( in ShowLoginWizard()
251 chromeos::input_method::kKeyboardLayoutsOnly, in ShowLoginWizard()
252 chromeos::input_method::GetHardwareInputMethodId()); in ShowLoginWizard()
/external/chromium_org/chrome/browser/chromeos/extensions/
Dinput_method_event_router.h22 : public input_method::InputMethodManager::Observer {
29 input_method::InputMethodManager* manager,
32 input_method::InputMethodManager* manager) OVERRIDE {} in InputMethodPropertyChanged()
Dinput_method_api.cc36 chromeos::input_method::InputMethodManager* manager = in RunImpl()
37 chromeos::input_method::InputMethodManager::Get(); in RunImpl()
38 const std::string input_method = InputMethodAPI::GetInputMethodForXkb( in RunImpl()
40 SetResult(Value::CreateStringValue(input_method)); in RunImpl()

1234567