Lines Matching defs:list
41 // Refer to frameworks/base/core/java/android/view/KeyEvent.java for the full list.
351 // Refer to frameworks/base/core/java/android/view/MotionEvent.java for the full list.
383 static int lookupValueByLabel(const char* literal, const InputEventLabel *list) {
384 while (list->literal) {
385 if (strcmp(literal, list->literal) == 0) {
386 return list->value;
388 list++;
390 return list->value;
393 static const char* lookupLabelByValue(int value, const InputEventLabel* list) {
394 while (list->literal) {
395 if (list->value == value) {
396 return list->literal;
398 list++;