Lines Matching defs:devices
91 private final Map<Integer, CGraphicsDevice> devices = new HashMap<>(5);
123 if (removed && devices.containsKey(displayId)) {
124 final CGraphicsDevice gd = devices.remove(displayId);
142 * (Re)create all CGraphicsDevices, reuses a devices if it is possible.
146 final Map<Integer, CGraphicsDevice> old = new HashMap<>(devices);
147 devices.clear();
161 devices.put(id, old.containsKey(id) ? old.get(id)
171 CGraphicsDevice d = devices.get(mainDisplayID);
174 // is to re-initialize the list of devices
177 d = devices.get(mainDisplayID);
184 return devices.values().toArray(new CGraphicsDevice[devices.values().size()]);
188 return devices.get(displayID);
193 return devices.size();