Lines Matching refs:id
68 int id = imv.mDevices.keyAt(i); in handleMessage() local
69 if (null == InputDevice.getDevice(id)) { in handleMessage()
71 imv.notifyListeners(ON_DEVICE_REMOVED, id); in handleMessage()
72 imv.mDevices.remove(id); in handleMessage()
98 public InputDevice getInputDevice(int id) { in getInputDevice() argument
99 return InputDevice.getDevice(id); in getInputDevice()
108 for ( int id : activeDevices ) { in getInputDeviceIds()
109 long[] lastContact = mDevices.get(id); in getInputDeviceIds()
112 mDevices.put(id, new long[] { time }); in getInputDeviceIds()
154 static DeviceEvent getDeviceEvent(int messageType, int id, in getDeviceEvent() argument
161 curChanged.mId = id; in getDeviceEvent()
190 int id = event.getDeviceId(); in onGenericMotionEvent() local
191 long[] timeArray = mDevices.get(id); in onGenericMotionEvent()
193 notifyListeners(ON_DEVICE_ADDED, id); in onGenericMotionEvent()
195 mDevices.put(id, timeArray); in onGenericMotionEvent()