Home
last modified time | relevance | path

Searched refs:mIm (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Settings/src/com/android/settings/inputmethod/
DKeyboardLayoutPickerController.java44 private final InputManager mIm; field in KeyboardLayoutPickerController
56 mIm = (InputManager) context.getSystemService(Context.INPUT_SERVICE); in KeyboardLayoutPickerController()
64 mKeyboardLayouts = mIm.getKeyboardLayoutsForInputDevice(mInputDeviceIdentifier); in initialize()
70 mIm.registerInputDeviceListener(this, null); in onStart()
73 mIm.getInputDeviceByDescriptor(mInputDeviceIdentifier.getDescriptor()); in onStart()
85 mIm.unregisterInputDeviceListener(this); in onStop()
112 mIm.addKeyboardLayoutForInputDevice(mInputDeviceIdentifier, in handlePreferenceTreeClick()
115 mIm.removeKeyboardLayoutForInputDevice(mInputDeviceIdentifier, in handlePreferenceTreeClick()
142 final String[] enabledKeyboardLayouts = mIm.getEnabledKeyboardLayoutsForInputDevice( in updateCheckedState()
DGameControllerPreferenceController.java38 private final InputManager mIm; field in GameControllerPreferenceController
44 mIm = (InputManager) context.getSystemService(Context.INPUT_SERVICE); in GameControllerPreferenceController()
49 mIm.registerInputDeviceListener(this, null); in onResume()
54 mIm.unregisterInputDeviceListener(this); in onPause()
71 final int[] devices = mIm.getInputDeviceIds(); in getAvailabilityStatus()
73 InputDevice device = mIm.getInputDevice(deviceId); in getAvailabilityStatus()
DPhysicalKeyboardPreferenceController.java42 private final InputManager mIm; field in PhysicalKeyboardPreferenceController
48 mIm = (InputManager) context.getSystemService(Context.INPUT_SERVICE); in PhysicalKeyboardPreferenceController()
73 mIm.unregisterInputDeviceListener(this); in onPause()
78 mIm.registerInputDeviceListener(this, null); in onResume()
DKeyboardLayoutDialogFragment.java56 private InputManager mIm; field in KeyboardLayoutDialogFragment
77 mIm = (InputManager)context.getSystemService(Context.INPUT_SERVICE); in onAttach()
127 mIm.registerInputDeviceListener(this, null); in onResume()
130 mIm.getInputDeviceByDescriptor(mInputDeviceIdentifier.getDescriptor()); in onResume()
140 mIm.unregisterInputDeviceListener(this); in onPause()
167 mIm.setCurrentKeyboardLayoutForInputDevice(mInputDeviceIdentifier, in onKeyboardLayoutClicked()
DPhysicalKeyboardFragment.java70 private InputManager mIm; field in PhysicalKeyboardFragment
82 mIm = Preconditions.checkNotNull(activity.getSystemService(InputManager.class)); in onCreatePreferences()
103 mIm.registerInputDeviceListener(this, null); in onResume()
113 mIm.unregisterInputDeviceListener(this); in onPause()
/packages/apps/Settings/src/com/android/settings/
DPointerSpeedPreference.java33 private final InputManager mIm; field in PointerSpeedPreference
50 mIm = (InputManager)getContext().getSystemService(Context.INPUT_SERVICE); in PointerSpeedPreference()
70 mOldSpeed = mIm.getPointerSpeed(getContext()); in onBindDialogView()
77 mIm.tryPointerSpeed(progress + InputManager.MIN_POINTER_SPEED); in onProgressChanged()
87 mIm.tryPointerSpeed(seekBar.getProgress() + InputManager.MIN_POINTER_SPEED); in onStopTrackingTouch()
91 int speed = mIm.getPointerSpeed(getContext()); in onSpeedChanged()
102 mIm.setPointerSpeed(getContext(), in onDialogClosed()
114 mIm.tryPointerSpeed(mOldSpeed); in restoreOldState()
144 mIm.tryPointerSpeed(myState.progress + InputManager.MIN_POINTER_SPEED); in onRestoreInstanceState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DKeyboardLayoutPickerController.java44 private final InputManager mIm; field in KeyboardLayoutPickerController
56 mIm = (InputManager) context.getSystemService(Context.INPUT_SERVICE); in KeyboardLayoutPickerController()
64 mKeyboardLayouts = mIm.getKeyboardLayoutsForInputDevice(mInputDeviceIdentifier); in initialize()
70 mIm.registerInputDeviceListener(this, null); in onStart()
73 mIm.getInputDeviceByDescriptor(mInputDeviceIdentifier.getDescriptor()); in onStart()
85 mIm.unregisterInputDeviceListener(this); in onStop()
112 mIm.addKeyboardLayoutForInputDevice(mInputDeviceIdentifier, in handlePreferenceTreeClick()
115 mIm.removeKeyboardLayoutForInputDevice(mInputDeviceIdentifier, in handlePreferenceTreeClick()
142 final String[] enabledKeyboardLayouts = mIm.getEnabledKeyboardLayoutsForInputDevice( in updateCheckedState()
DGameControllerPreferenceController.java38 private final InputManager mIm; field in GameControllerPreferenceController
44 mIm = (InputManager) context.getSystemService(Context.INPUT_SERVICE); in GameControllerPreferenceController()
49 mIm.registerInputDeviceListener(this, null); in onResume()
54 mIm.unregisterInputDeviceListener(this); in onPause()
71 final int[] devices = mIm.getInputDeviceIds(); in getAvailabilityStatus()
73 InputDevice device = mIm.getInputDevice(deviceId); in getAvailabilityStatus()
DPhysicalKeyboardPreferenceController.java42 private final InputManager mIm; field in PhysicalKeyboardPreferenceController
48 mIm = (InputManager) context.getSystemService(Context.INPUT_SERVICE); in PhysicalKeyboardPreferenceController()
73 mIm.unregisterInputDeviceListener(this); in onPause()
78 mIm.registerInputDeviceListener(this, null); in onResume()
DKeyboardLayoutDialogFragment.java56 private InputManager mIm; field in KeyboardLayoutDialogFragment
77 mIm = (InputManager)context.getSystemService(Context.INPUT_SERVICE); in onAttach()
127 mIm.registerInputDeviceListener(this, null); in onResume()
130 mIm.getInputDeviceByDescriptor(mInputDeviceIdentifier.getDescriptor()); in onResume()
140 mIm.unregisterInputDeviceListener(this); in onPause()
167 mIm.setCurrentKeyboardLayoutForInputDevice(mInputDeviceIdentifier, in onKeyboardLayoutClicked()
DPhysicalKeyboardFragment.java70 private InputManager mIm; field in PhysicalKeyboardFragment
82 mIm = Preconditions.checkNotNull(activity.getSystemService(InputManager.class)); in onCreatePreferences()
103 mIm.registerInputDeviceListener(this, null); in onResume()
113 mIm.unregisterInputDeviceListener(this); in onPause()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DPointerSpeedPreference.java33 private final InputManager mIm; field in PointerSpeedPreference
50 mIm = (InputManager)getContext().getSystemService(Context.INPUT_SERVICE); in PointerSpeedPreference()
70 mOldSpeed = mIm.getPointerSpeed(getContext()); in onBindDialogView()
77 mIm.tryPointerSpeed(progress + InputManager.MIN_POINTER_SPEED); in onProgressChanged()
87 mIm.tryPointerSpeed(seekBar.getProgress() + InputManager.MIN_POINTER_SPEED); in onStopTrackingTouch()
91 int speed = mIm.getPointerSpeed(getContext()); in onSpeedChanged()
102 mIm.setPointerSpeed(getContext(), in onDialogClosed()
114 mIm.tryPointerSpeed(mOldSpeed); in restoreOldState()
144 mIm.tryPointerSpeed(myState.progress + InputManager.MIN_POINTER_SPEED); in onRestoreInstanceState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
DPhysicalKeyboardPreferenceControllerTest.java51 private InputManager mIm; field in PhysicalKeyboardPreferenceControllerTest
60 when(mContext.getSystemService(InputManager.class)).thenReturn(mIm); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/language/
DLanguageAndInputSettingsTest.java72 private InputManager mIm; field in LanguageAndInputSettingsTest
89 when(mActivity.getSystemService(Context.INPUT_SERVICE)).thenReturn(mIm); in setUp()
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar8176 …��E��_���MO�6�3����اh7�:]��Dv9��\ݖ�����n��Zi�}POa�=�I��,Q�-mcU`�R��ЧmIm|]�j��Kyi������E�…
/packages/apps/TV/tuner/tests/assets/
Dcapture_kqed.ts202371 ��Hk0��W�h�Ŕ�5�������,mIm�݇�A7�YG�Ap��2pp��3A P��A��<h���2yA�IC8$�3�����2…