HomeSort by relevance Sort by last modified time
    Searched defs:scanCode (Results 1 - 12 of 12) sorted by null

  /frameworks/base/core/jni/
android_view_KeyEvent.cpp 71 jint scanCode = env->GetIntField(eventObj, gKeyEventClassInfo.mScanCode);
77 event->initialize(deviceId, source, action, flags, keyCode, scanCode, metaState, repeatCount,
  /frameworks/base/include/ui/
InputTransport.h 128 int32_t scanCode;
205 int32_t scanCode,
EventHub.h 53 #define BTN_FIRST 0x100 // first button scancode
54 #define BTN_LAST 0x15f // last button scancode
69 int32_t scanCode;
161 virtual status_t scancodeToKeycode(int32_t deviceId, int scancode,
180 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const = 0;
207 virtual status_t scancodeToKeycode(int32_t deviceId, int scancode,
212 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const;
254 int32_t getScanCodeStateLocked(device_t* device, int32_t scanCode) const;
InputReader.h 40 int32_t scanCode;
163 int32_t scanCode) = 0;
188 InputDevice* device, int32_t keyCode, int32_t scanCode) = 0;
222 int32_t scanCode);
280 InputDevice* device, int32_t keyCode, int32_t scanCode);
325 int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode);
377 virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode);
418 virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode);
429 int32_t scanCode;
444 bool isKeyboardOrGamepadKey(int32_t scanCode);
    [all...]
InputDispatcher.h 291 int32_t action, int32_t& flags, int32_t keyCode, int32_t scanCode,
353 int32_t scanCode, int32_t metaState, nsecs_t downTime) = 0;
430 int32_t scanCode, int32_t metaState, nsecs_t downTime);
494 int32_t scanCode;
659 int32_t flags, int32_t keyCode, int32_t scanCode, int32_t metaState,
752 int32_t scanCode;
    [all...]
  /frameworks/base/libs/ui/tests/
InputPublisherAndConsumer_test.cpp 80 const int32_t scanCode = 13;
87 keyCode, scanCode, metaState, repeatCount, downTime, eventTime);
115 EXPECT_EQ(scanCode, keyEvent->getScanCode());
InputReader_test.cpp 176 int32_t scanCode;
273 int32_t scanCode, int32_t metaState, nsecs_t downTime) {
282 args.scanCode = scanCode;
433 void setScanCodeState(int32_t deviceId, int32_t scanCode, int32_t state) {
435 device->scanCodeStates.replaceValueFor(scanCode, state);
443 void addKey(int32_t deviceId, int32_t scanCode, int32_t keyCode, uint32_t flags) {
448 device->keys.add(scanCode, info);
456 int32_t scanCode, int32_t keyCode, int32_t value, uint32_t flags) {
461 event.scanCode = scanCode
    [all...]
  /frameworks/base/services/java/com/android/server/
InputManager.java 64 int scanCode);
178 * @param scanCode The scan code to check.
181 public int getScanCodeState(int deviceId, int sourceMask, int scanCode) {
182 return nativeGetScanCodeState(deviceId, sourceMask, scanCode);
337 public int scanCode;
383 int keyCode, int scanCode, int policyFlags, boolean isScreenOn) {
385 whenNanos, action, flags, keyCode, scanCode, policyFlags, isScreenOn);
390 int flags, int keyCode, int scanCode, int metaState, int repeatCount,
393 action, flags, keyCode, scanCode, metaState, repeatCount, policyFlags);
443 key.scanCode = Integer.parseInt(it[i+1])
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
KeyEventTest.java 626 int scanCode = 1;
628 KeyEvent.KEYCODE_0, 5, KeyEvent.META_SHIFT_ON, 1, scanCode);
629 assertEquals(scanCode, mKeyEvent.getScanCode());
  /frameworks/base/services/jni/
com_android_server_InputManager.cpp 68 jfieldID scanCode;
206 int32_t action, int32_t& flags, int32_t keyCode, int32_t scanCode,
491 outVirtualKeyDefinitions.editTop().scanCode =
492 int32_t(env->GetIntField(item, gVirtualKeyDefinitionClassInfo.scanCode));
854 int32_t keyCode, int32_t scanCode, uint32_t& policyFlags) {
857 "keyCode=%d, scanCode=%d, policyFlags=0x%x",
858 when, deviceId, action, flags, keyCode, scanCode, policyFlags);
881 when, action, flags, keyCode, scanCode, policyFlags, isScreenOn);
    [all...]
  /frameworks/base/libs/ui/
InputDispatcher.cpp 581 entry->action, entry->flags, entry->keyCode, entry->scanCode,
709 "action=0x%x, flags=0x%x, keyCode=0x%x, scanCode=0x%x, metaState=0x%x, "
713 entry->action, entry->flags, entry->keyCode, entry->scanCode, entry->metaState,
    [all...]
InputReader.cpp 218 LOGD("Input event: device=0x%x type=0x%x scancode=%d keycode=%d value=%d",
219 rawEvent.deviceId, rawEvent.type, rawEvent.scanCode, rawEvent.keyCode,
461 InputDevice* device, int32_t keyCode, int32_t scanCode) {
464 "temporarily disabled for the next %0.3fms. keyCode=%d, scanCode=%d",
467 keyCode, scanCode);
523 int32_t scanCode) {
524 return getState(deviceId, sourceMask, scanCode, & InputDevice::getScanCodeState);
726 int32_t InputDevice::getScanCodeState(uint32_t sourceMask, int32_t scanCode) {
727 return getState(sourceMask, scanCode, & InputMapper::getScanCodeState);
799 int32_t InputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) {
    [all...]

Completed in 1933 milliseconds