Home
last modified time | relevance | path

Searched refs:mInputDeviceIdentifier (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/src/com/android/settings/inputmethod/
DKeyboardLayoutPickerController.java48 private InputDeviceIdentifier mInputDeviceIdentifier; field in KeyboardLayoutPickerController
62 mInputDeviceIdentifier = inputDeviceIdentifier; in initialize()
63 mKeyboardLayouts = mIm.getKeyboardLayoutsForInputDevice(mInputDeviceIdentifier); in initialize()
70 if (mInputDeviceIdentifier == null in onStart()
71 || NewKeyboardSettingsUtils.getInputDevice(mIm, mInputDeviceIdentifier) == null) { in onStart()
75 NewKeyboardSettingsUtils.getInputDevice(mIm, mInputDeviceIdentifier).getId(); in onStart()
107 mIm.addKeyboardLayoutForInputDevice(mInputDeviceIdentifier, in handlePreferenceTreeClick()
110 mIm.removeKeyboardLayoutForInputDevice(mInputDeviceIdentifier, in handlePreferenceTreeClick()
138 mInputDeviceIdentifier); in updateCheckedState()
DKeyboardLayoutDialogFragment.java54 private InputDeviceIdentifier mInputDeviceIdentifier; field in KeyboardLayoutDialogFragment
63 mInputDeviceIdentifier = inputDeviceIdentifier; in KeyboardLayoutDialogFragment()
86 mInputDeviceIdentifier = savedInstanceState.getParcelable(KEY_INPUT_DEVICE_IDENTIFIER); in onCreate()
95 outState.putParcelable(KEY_INPUT_DEVICE_IDENTIFIER, mInputDeviceIdentifier); in onSaveInstanceState()
130 mIm.getInputDeviceByDescriptor(mInputDeviceIdentifier.getDescriptor()); in onResume()
154 mInputDeviceIdentifier); in onSetupLayoutsButtonClicked()
167 mIm.setCurrentKeyboardLayoutForInputDevice(mInputDeviceIdentifier, in onKeyboardLayoutClicked()
176 return new KeyboardLayoutLoader(getActivity().getBaseContext(), mInputDeviceIdentifier); in onCreateLoader()
300 private final InputDeviceIdentifier mInputDeviceIdentifier; field in KeyboardLayoutDialogFragment.KeyboardLayoutLoader
304 mInputDeviceIdentifier = inputDeviceIdentifier; in KeyboardLayoutLoader()
[all …]
DNewKeyboardLayoutPickerController.java54 private InputDeviceIdentifier mInputDeviceIdentifier; field in NewKeyboardLayoutPickerController
78 mInputDeviceIdentifier = in initialize()
87 mInputDeviceIdentifier, mUserId, mInputMethodInfo, mInputMethodSubtype); in initialize()
95 if (mInputDeviceIdentifier == null in onStart()
96 || NewKeyboardSettingsUtils.getInputDevice(mIm, mInputDeviceIdentifier) == null) { in onStart()
100 NewKeyboardSettingsUtils.getInputDevice(mIm, mInputDeviceIdentifier).getId(); in onStart()
196 mInputDeviceIdentifier, in setLayout()
206 mIm, mUserId, mInputDeviceIdentifier, mInputMethodInfo, mInputMethodSubtype); in getSelectedLayoutLabel()
208 mIm, mUserId, mInputDeviceIdentifier, mInputMethodInfo, mInputMethodSubtype); in getSelectedLayoutLabel()
DNewKeyboardLayoutEnabledLocalesFragment.java57 private InputDeviceIdentifier mInputDeviceIdentifier; field in NewKeyboardLayoutEnabledLocalesFragment
113 mInputDeviceIdentifier = in onActivityCreated()
116 if (mInputDeviceIdentifier == null) { in onActivityCreated()
121 NewKeyboardSettingsUtils.getInputDevice(mIm, mInputDeviceIdentifier); in onActivityCreated()
135 NewKeyboardSettingsUtils.getInputDevice(mIm, mInputDeviceIdentifier); in onStart()
158 if (NewKeyboardSettingsUtils.getInputDevice(mIm, mInputDeviceIdentifier) == null) { in updateCheckedState()
192 mIm, mUserId, mInputDeviceIdentifier, info, subtype); in mapLanguageWithLayout()
194 mIm, mUserId, mInputDeviceIdentifier, info, subtype); in mapLanguageWithLayout()
248 mInputDeviceIdentifier, in updatePreferenceLayout()
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/
DProfileSelectPhysicalKeyboardFragment.java37 private InputDeviceIdentifier mInputDeviceIdentifier; field in ProfileSelectPhysicalKeyboardFragment
43 mInputDeviceIdentifier = in onCreate()
55 bundle.putParcelable(Settings.EXTRA_INPUT_DEVICE_IDENTIFIER, mInputDeviceIdentifier); in getFragments()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/
DKeyboardLayoutSelectionFragment.java52 private InputDeviceIdentifier mInputDeviceIdentifier; field in KeyboardLayoutSelectionFragment
74 mInputDeviceIdentifier = getArguments().getParcelable(ARG_INPUT_DEVICE_IDENTIFIER); in onCreatePreferences()
87 mInputDeviceIdentifier); in onCreatePreferences()
119 mIm.setCurrentKeyboardLayoutForInputDevice(mInputDeviceIdentifier, in onPreferenceTreeClick()
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
DKeyboardLayoutPickerControllerTest.java64 private InputDeviceIdentifier mInputDeviceIdentifier; field in KeyboardLayoutPickerControllerTest
74 mInputDeviceIdentifier = new InputDeviceIdentifier("descriptor", 1, 1); in setUp()
185 mController.initialize(mFragment, mInputDeviceIdentifier); in initializeOneLayout()
194 mController.initialize(mFragment, mInputDeviceIdentifier); in initializeTwoLayouts()
DKeyboardSettingsPreferenceControllerTest.java70 private InputDeviceIdentifier mInputDeviceIdentifier; field in KeyboardSettingsPreferenceControllerTest
92 mInputDeviceIdentifier, in handlePreferenceTreeClick_expected()