Lines Matching refs:item

1197 		InputDeviceListItem* item = (InputDeviceListItem*)fInputDeviceList.ItemAt(i);
1199 if (item->HasName(name)) {
1201 *_type = item->Type();
1203 *_isRunning = item->Running();
1220 InputDeviceListItem* item = (InputDeviceListItem*)fInputDeviceList.ItemAt(i);
1221 msg->AddString("device", item->Name());
1222 msg->AddInt32("type", item->Type());
1240 InputDeviceListItem* item = (InputDeviceListItem*)fInputDeviceList.ItemAt(j);
1242 if (item->ServerDevice() == &serverDevice && item->HasName(device->name)) {
1243 item->Stop();
1247 message.AddString("name", item->Name());
1248 message.AddInt32("type", item->Type());
1250 delete item;
1259 InputDeviceListItem* item = (InputDeviceListItem*)fInputDeviceList.ItemAt(i);
1261 if (item->ServerDevice() == &serverDevice) {
1262 item->Stop();
1264 delete item;
1293 InputDeviceListItem* item = (InputDeviceListItem*)fInputDeviceList.ItemAt(j);
1295 if (item->HasName(device->name)) {
1305 InputDeviceListItem* item = new (nothrow) InputDeviceListItem(serverDevice,
1307 if (item != NULL && fInputDeviceList.AddItem(item)) {
1308 item->Start();
1311 message.AddString("name", item->Name());
1312 message.AddInt32("type", item->Type());
1315 delete item;
1333 InputDeviceListItem* item
1335 if (!item)
1338 if (item->Matches(name, type)) {
1339 if (doStart == item->Running()) {
1347 item->Start();
1349 item->Stop();
1353 message.AddString("name", item->Name());
1354 message.AddInt32("type", item->Type());
1363 // item not found
1379 InputDeviceListItem* item = (InputDeviceListItem*)fInputDeviceList.ItemAt(i);
1381 if (item->ServerDevice() != &serverDevice)
1384 if (doStart == item->Running())
1388 item->Start();
1390 item->Stop();
1394 message.AddString("name", item->Name());
1395 message.AddInt32("type", item->Type());
1411 InputDeviceListItem* item = (InputDeviceListItem*)fInputDeviceList.ItemAt(i);
1412 if (!item)
1415 if (item->Matches(name, type)) {
1416 item->Control(code, message);