/frameworks/base/include/ui/ |
VirtualKeyMap.h | 33 int32_t scanCode;
|
InputTransport.h | 128 int32_t scanCode; 206 int32_t scanCode,
|
/frameworks/base/core/jni/ |
android_view_KeyEvent.cpp | 81 jint scanCode = env->GetIntField(eventObj, gKeyEventClassInfo.mScanCode); 87 event->initialize(deviceId, source, action, flags, keyCode, scanCode, metaState, repeatCount,
|
/frameworks/base/libs/ui/ |
KeyLayoutMap.cpp | 85 status_t KeyLayoutMap::mapKey(int32_t scanCode, int32_t* keyCode, uint32_t* flags) const { 86 ssize_t index = mKeys.indexOfKey(scanCode); 89 LOGD("mapKey: scanCode=%d ~ Failed.", scanCode); 101 LOGD("mapKey: scanCode=%d ~ Result keyCode=%d, flags=0x%08x.", scanCode, *keyCode, *flags); 116 status_t KeyLayoutMap::mapAxis(int32_t scanCode, AxisInfo* outAxisInfo) const { 117 ssize_t index = mAxes.indexOfKey(scanCode); 120 LOGD("mapAxis: scanCode=%d ~ Failed.", scanCode); [all...] |
/frameworks/base/libs/ui/tests/ |
InputPublisherAndConsumer_test.cpp | 92 const int32_t scanCode = 13; 99 keyCode, scanCode, metaState, repeatCount, downTime, eventTime); 127 EXPECT_EQ(scanCode, keyEvent->getScanCode());
|
/frameworks/base/services/input/ |
InputListener.h | 62 int32_t scanCode; 69 int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode,
|
EventHub.h | 41 #define BTN_FIRST 0x100 // first button scancode 42 #define BTN_LAST 0x15f // last button scancode 53 int32_t scanCode; 165 virtual status_t mapKey(int32_t deviceId, int scancode, 168 virtual status_t mapAxis(int32_t deviceId, int scancode, 192 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const = 0; 204 virtual bool hasScanCode(int32_t deviceId, int32_t scanCode) const = 0; 242 virtual status_t mapKey(int32_t deviceId, int scancode, 245 virtual status_t mapAxis(int32_t deviceId, int scancode, 250 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const [all...] |
InputDispatcher.h | 473 int32_t scanCode; 491 int32_t flags, int32_t keyCode, int32_t scanCode, int32_t metaState, 765 int32_t scanCode; [all...] |
InputReader.cpp | 548 InputDevice* device, int32_t keyCode, int32_t scanCode) { 551 "temporarily disabled for the next %0.3fms. keyCode=%d, scanCode=%d", 554 keyCode, scanCode); 619 int32_t scanCode) { 622 return getStateLocked(deviceId, sourceMask, scanCode, &InputDevice::getScanCodeState); 800 InputDevice* device, int32_t keyCode, int32_t scanCode) { 802 return mReader->shouldDropVirtualKeyLocked(now, device, keyCode, scanCode); 937 LOGD("Input event: device=%d type=0x%04x scancode=0x%04x " 939 rawEvent->deviceId, rawEvent->type, rawEvent->scanCode, rawEvent->keyCode, 944 if (rawEvent->type == EV_SYN && rawEvent->scanCode == SYN_REPORT) [all...] |
InputReader.h | 256 int32_t scanCode) = 0; 286 InputDevice* device, int32_t keyCode, int32_t scanCode) = 0; 327 int32_t scanCode); 353 InputDevice* device, int32_t keyCode, int32_t scanCode); 400 InputDevice* device, int32_t keyCode, int32_t scanCode); 456 int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode); 835 virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode); 883 virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode); 892 int32_t scanCode; 921 bool isKeyboardOrGamepadKey(int32_t scanCode); [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
KeyEventTest.java | [all...] |