Home
last modified time | relevance | path

Searched refs:InputDeviceListener (Results 1 – 5 of 5) sorted by relevance

/development/samples/ControllerSample/src/com/example/inputmanagercompat/
DInputManagerV16.java34 private final Map<InputManagerCompat.InputDeviceListener, V16InputDeviceListener> mListeners;
38 mListeners = new HashMap<InputManagerCompat.InputDeviceListener, V16InputDeviceListener>(); in InputManagerV16()
51 static class V16InputDeviceListener implements InputManager.InputDeviceListener {
52 final InputManagerCompat.InputDeviceListener mIDL;
54 public V16InputDeviceListener(InputDeviceListener idl) { in V16InputDeviceListener()
76 public void registerInputDeviceListener(InputDeviceListener listener, Handler handler) { in registerInputDeviceListener()
83 public void unregisterInputDeviceListener(InputDeviceListener listener) { in unregisterInputDeviceListener()
DInputManagerCompat.java50 public void registerInputDeviceListener(InputManagerCompat.InputDeviceListener listener, in registerInputDeviceListener()
58 public void unregisterInputDeviceListener(InputManagerCompat.InputDeviceListener listener); in unregisterInputDeviceListener()
91 public interface InputDeviceListener { interface
DInputManagerV9.java43 private final Map<InputDeviceListener, Handler> mListeners;
90 mListeners = new HashMap<InputDeviceListener, Handler>(); in InputManagerV9()
119 public void registerInputDeviceListener(InputDeviceListener listener, Handler handler) { in registerInputDeviceListener()
128 public void unregisterInputDeviceListener(InputDeviceListener listener) { in unregisterInputDeviceListener()
137 for (InputDeviceListener listener : mListeners.keySet()) { in notifyListeners()
148 private InputDeviceListener mListener;
155 InputDeviceListener listener) { in getDeviceEvent()
/development/samples/ControllerSample/src/com/example/controllersample/
DGameView.java20 import com.example.inputmanagercompat.InputManagerCompat.InputDeviceListener;
52 public class GameView extends View implements InputDeviceListener {
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameControllerInput.java57 implements InputManager.InputDeviceListener {