Searched refs:usageCode (Results 1 - 9 of 9) sorted by relevance
/frameworks/native/include/input/ |
H A D | KeyLayoutMap.h | 67 status_t mapKey(int32_t scanCode, int32_t usageCode, 97 const Key* getKey(int32_t scanCode, int32_t usageCode) const;
|
H A D | KeyCharacterMap.h | 128 status_t mapKey(int32_t scanCode, int32_t usageCode, int32_t* outKeyCode) const;
|
/frameworks/native/libs/input/ |
H A D | KeyLayoutMap.cpp | 85 status_t KeyLayoutMap::mapKey(int32_t scanCode, int32_t usageCode, argument 87 const Key* key = getKey(scanCode, usageCode); 90 ALOGD("mapKey: scanCode=%d, usageCode=0x%08x ~ Failed.", scanCode, usageCode); 101 ALOGD("mapKey: scanCode=%d, usageCode=0x%08x ~ Result keyCode=%d, outFlags=0x%08x.", 102 scanCode, usageCode, *outKeyCode, *outFlags); 107 const KeyLayoutMap::Key* KeyLayoutMap::getKey(int32_t scanCode, int32_t usageCode) const { 108 if (usageCode) { 109 ssize_t index = mKeysByUsageCode.indexOfKey(usageCode);
|
H A D | KeyCharacterMap.cpp | 331 status_t KeyCharacterMap::mapKey(int32_t scanCode, int32_t usageCode, int32_t* outKeyCode) const { argument 332 if (usageCode) { 333 ssize_t index = mKeysByUsageCode.indexOfKey(usageCode); 337 ALOGD("mapKey: scanCode=%d, usageCode=0x%08x ~ Result keyCode=%d.", 338 scanCode, usageCode, *outKeyCode); 348 ALOGD("mapKey: scanCode=%d, usageCode=0x%08x ~ Result keyCode=%d.", 349 scanCode, usageCode, *outKeyCode); 356 ALOGD("mapKey: scanCode=%d, usageCode=0x%08x ~ Failed.", scanCode, usageCode);
|
/frameworks/native/services/inputflinger/ |
H A D | EventHub.h | 204 int32_t scanCode, int32_t usageCode, int32_t metaState, 293 int32_t scanCode, int32_t usageCode, int32_t metaState,
|
H A D | EventHub.cpp | 442 int32_t scanCode, int32_t usageCode, int32_t metaState, 452 if (!kcm->mapKey(scanCode, usageCode, outKeycode)) { 461 scanCode, usageCode, outKeycode, outFlags)) { 441 mapKey(int32_t deviceId, int32_t scanCode, int32_t usageCode, int32_t metaState, int32_t* outKeycode, int32_t* outMetaState, uint32_t* outFlags) const argument
|
H A D | InputReader.cpp | 2206 int32_t usageCode = mCurrentHidUsage; local 2210 processKey(rawEvent->when, rawEvent->value != 0, scanCode, usageCode); 2236 int32_t usageCode) { 2241 if (getEventHub()->mapKey(getDeviceId(), scanCode, usageCode, mMetaState, 2235 processKey(nsecs_t when, bool down, int32_t scanCode, int32_t usageCode) argument
|
H A D | InputReader.h | 1165 void processKey(nsecs_t when, bool down, int32_t scanCode, int32_t usageCode);
|
/frameworks/native/services/inputflinger/tests/ |
H A D | InputReader_test.cpp | 415 void addKey(int32_t deviceId, int32_t scanCode, int32_t usageCode, argument 424 if (usageCode) { 425 device->keysByUsageCode.add(usageCode, info); 522 int32_t scanCode, int32_t usageCode, int32_t metaState, 526 const KeyInfo* key = getKey(device, scanCode, usageCode); 543 const KeyInfo* getKey(Device* device, int32_t scanCode, int32_t usageCode) const { 544 if (usageCode) { 545 ssize_t index = device->keysByUsageCode.indexOfKey(usageCode); 521 mapKey(int32_t deviceId, int32_t scanCode, int32_t usageCode, int32_t metaState, int32_t* outKeycode, int32_t *outMetaState, uint32_t* outFlags) const argument
|
Completed in 142 milliseconds