Home
last modified time | relevance | path

Searched refs:scancode (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/input/
DEventHub.h165 virtual status_t mapKey(int32_t deviceId, int scancode,
168 virtual status_t mapAxis(int32_t deviceId, int scancode,
242 virtual status_t mapKey(int32_t deviceId, int scancode,
245 virtual status_t mapAxis(int32_t deviceId, int scancode,
DEventHub.cpp398 status_t EventHub::mapKey(int32_t deviceId, int scancode, in mapKey() argument
405 status_t err = device->keyMap.keyLayoutMap->mapKey(scancode, outKeycode, outFlags); in mapKey()
415 status_t err = device->keyMap.keyLayoutMap->mapKey(scancode, outKeycode, outFlags); in mapKey()
427 status_t EventHub::mapAxis(int32_t deviceId, int scancode, AxisInfo* outAxisInfo) const in mapAxis() argument
433 status_t err = device->keyMap.keyLayoutMap->mapAxis(scancode, outAxisInfo); in mapAxis()
443 status_t err = device->keyMap.keyLayoutMap->mapAxis(scancode, outAxisInfo); in mapAxis()
/frameworks/base/core/java/android/view/
DKeyEvent.java1368 int deviceId, int scancode) { in KeyEvent() argument
1376 mScanCode = scancode; in KeyEvent()
1398 int deviceId, int scancode, int flags) { in KeyEvent() argument
1406 mScanCode = scancode; in KeyEvent()
1430 int deviceId, int scancode, int flags, int source) { in KeyEvent() argument
1438 mScanCode = scancode; in KeyEvent()
1532 int deviceId, int scancode, int flags, int source, String characters) { in obtain() argument
1541 ev.mScanCode = scancode; in obtain()
/frameworks/base/services/input/tests/
DInputReader_test.cpp473 virtual status_t mapKey(int32_t deviceId, int scancode, in mapKey() argument
477 ssize_t index = device->keys.indexOfKey(scancode); in mapKey()
491 virtual status_t mapAxis(int32_t deviceId, int scancode, in mapAxis() argument
/frameworks/base/services/java/com/android/server/wm/
DWindowManagerService.java6156 int scancode = ev.getScanCode(); in injectKeyEvent() local
6168 deviceId, scancode, flags | KeyEvent.FLAG_FROM_SYSTEM, source); in injectKeyEvent()