Home
last modified time | relevance | path

Searched refs:numUsages (Results 1 – 2 of 2) sorted by relevance

/hardware/libhardware/modules/input/evdev/
DSwitchInputMapper.cpp62 int numUsages = 0; in configureInputReport() local
65 usages[numUsages++] = codeMap[i].usage; in configureInputReport()
68 if (numUsages == 0) { in configureInputReport()
74 getInputReportDefinition()->declareUsages(INPUT_COLLECTION_ID_SWITCH, usages, numUsages); in configureInputReport()
DMouseInputMapper.cpp77 int numUsages = 0; in configureInputReport() local
80 usages[numUsages++] = codeMap[i].usage; in configureInputReport()
83 if (numUsages == 0) { in configureInputReport()
86 getInputReportDefinition()->declareUsages(INPUT_COLLECTION_ID_MOUSE, usages, numUsages); in configureInputReport()