Lines Matching refs:mInputDevices
64 private SparseArray<InputDevice> mInputDevices;
203 int index = mInputDevices.indexOfKey(id);
208 InputDevice inputDevice = mInputDevices.valueAt(index);
216 mInputDevices.setValueAt(index, inputDevice);
237 int numDevices = mInputDevices.size();
239 InputDevice inputDevice = mInputDevices.valueAt(i);
241 int id = mInputDevices.keyAt(i);
250 mInputDevices.setValueAt(i, inputDevice);
268 final int count = mInputDevices.size();
271 ids[i] = mInputDevices.keyAt(i);
641 if (mInputDevices == null) {
649 mInputDevices = new SparseArray<InputDevice>();
651 mInputDevices.put(ids[i], null);
662 for (int i = mInputDevices.size(); --i > 0; ) {
663 final int deviceId = mInputDevices.keyAt(i);
668 mInputDevices.removeAt(i);
675 int index = mInputDevices.indexOfKey(deviceId);
677 final InputDevice device = mInputDevices.valueAt(index);
684 mInputDevices.setValueAt(index, null);
692 mInputDevices.put(deviceId, null);