Searched refs:mIm (Results 1 – 4 of 4) sorted by relevance
40 private InputManager mIm; field in KeyboardLayoutPickerFragment61 mIm = (InputManager)getSystemService(Context.INPUT_SERVICE); in onCreate()62 mKeyboardLayouts = mIm.getKeyboardLayouts(); in onCreate()71 mIm.registerInputDeviceListener(this, null); in onResume()73 InputDevice inputDevice = mIm.getInputDeviceByDescriptor(mInputDeviceDescriptor); in onResume()85 mIm.unregisterInputDeviceListener(this); in onPause()100 mIm.addKeyboardLayoutForInputDevice(mInputDeviceDescriptor, in onPreferenceTreeClick()103 mIm.removeKeyboardLayoutForInputDevice(mInputDeviceDescriptor, in onPreferenceTreeClick()145 String[] enabledKeyboardLayouts = mIm.getKeyboardLayoutsForInputDevice( in updateCheckedState()
55 private InputManager mIm; field in KeyboardLayoutDialogFragment70 mIm = (InputManager)context.getSystemService(Context.INPUT_SERVICE); in onAttach()120 mIm.registerInputDeviceListener(this, null); in onResume()122 InputDevice inputDevice = mIm.getInputDeviceByDescriptor(mInputDeviceDescriptor); in onResume()132 mIm.unregisterInputDeviceListener(this); in onPause()159 mIm.setCurrentKeyboardLayoutForInputDevice(mInputDeviceDescriptor, in onKeyboardLayoutClicked()
89 private InputManager mIm; field in InputMethodAndLanguageSettings170 mIm = (InputManager)getActivity().getSystemService(Context.INPUT_SERVICE); in onCreate()240 mIm.registerInputDeviceListener(this, null); in onResume()302 mIm.unregisterInputDeviceListener(this); in onPause()497 mIm.getCurrentKeyboardLayoutForInputDevice(inputDeviceDescriptor); in updateHardKeyboards()499 mIm.getKeyboardLayout(keyboardLayoutDescriptor) : null; in updateHardKeyboards()
35 private final InputManager mIm; field in PointerSpeedPreference52 mIm = (InputManager)getContext().getSystemService(Context.INPUT_SERVICE); in PointerSpeedPreference()72 mOldSpeed = mIm.getPointerSpeed(getContext()); in onBindDialogView()79 mIm.tryPointerSpeed(progress + InputManager.MIN_POINTER_SPEED); in onProgressChanged()89 mIm.tryPointerSpeed(seekBar.getProgress() + InputManager.MIN_POINTER_SPEED); in onStopTrackingTouch()93 int speed = mIm.getPointerSpeed(getContext()); in onSpeedChanged()104 mIm.setPointerSpeed(getContext(), in onDialogClosed()116 mIm.tryPointerSpeed(mOldSpeed); in restoreOldState()147 mIm.tryPointerSpeed(myState.progress + InputManager.MIN_POINTER_SPEED); in onRestoreInstanceState()