Lines Matching defs:handler
19 import android.os.Handler;
43 private final Map<InputDeviceListener, Handler> mListeners;
44 private final Handler mDefaultHandler;
46 private static class PollingMessageHandler extends Handler {
90 mListeners = new HashMap<InputDeviceListener, Handler>();
119 public void registerInputDeviceListener(InputDeviceListener listener, Handler handler) {
121 if (handler == null) {
122 handler = mDefaultHandler;
124 mListeners.put(listener, handler);
138 Handler handler = mListeners.get(listener);
140 handler.post(odc);