Home
last modified time | relevance | path

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

/development/samples/ControllerSample/src/com/example/inputmanagercompat/
DInputManagerV16.java33 private final InputManager mInputManager; field in InputManagerV16
37 mInputManager = (InputManager) context.getSystemService(Context.INPUT_SERVICE); in InputManagerV16()
43 return mInputManager.getInputDevice(id); in getInputDevice()
48 return mInputManager.getInputDeviceIds(); in getInputDeviceIds()
78 mInputManager.registerInputDeviceListener(v16Listener, handler); in registerInputDeviceListener()
87 mInputManager.unregisterInputDeviceListener(curListener); in unregisterInputDeviceListener()
DInputManagerV9.java47 private final WeakReference<InputManagerV9> mInputManager; field in InputManagerV9.PollingMessageHandler
50 mInputManager = new WeakReference<InputManagerV9>(im); in PollingMessageHandler()
58 InputManagerV9 imv = mInputManager.get(); in handleMessage()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameControllerInput.java60 private InputManager mInputManager; field in GameControllerInput
70 mInputManager = (InputManager)getSystemService(Context.INPUT_SERVICE); in onCreate()
95 mInputManager.registerInputDeviceListener(this, null); in onResume()
99 int[] ids = mInputManager.getInputDeviceIds(); in onResume()
110 mInputManager.unregisterInputDeviceListener(this); in onPause()
159 final InputDevice device = mInputManager.getInputDevice(deviceId); in getInputDeviceState()
/development/samples/ControllerSample/src/com/example/controllersample/
DGameView.java70 private final InputManagerCompat mInputManager; field in GameView
107 mInputManager = InputManagerCompat.Factory.getInputManager(this.getContext()); in GameView()
108 mInputManager.registerInputDeviceListener(this, null); in GameView()
114 int[] deviceIds = mInputManager.getInputDeviceIds(); in findControllersAndAttachShips()
116 InputDevice dev = mInputManager.getInputDevice(deviceId); in findControllersAndAttachShips()
157 mInputManager.onGenericMotionEvent(event); in onGenericMotionEvent()
185 mInputManager.onResume(); in onWindowFocusChanged()
196 mInputManager.onPause(); in onWindowFocusChanged()