/frameworks/base/services/core/jni/ |
D | com_android_server_tv_TvUinputBridge.cpp | 69 keysMap[KEYS[i].androidKeyCode] = KEYS[i].linuxKeyCode; in initKeysMap() 77 gamepadAndroidToLinuxKeyMap[GAMEPAD_KEYS[i].androidKeyCode] = in initGamepadKeyMap() 89 static int32_t getLinuxKeyCode(int32_t androidKeyCode) { in getLinuxKeyCode() argument 90 std::unordered_map<int, int>::iterator it = keysMap.find(androidKeyCode); in getLinuxKeyCode() 97 static int getGamepadkeyCode(int32_t androidKeyCode) { in getGamepadkeyCode() argument 99 gamepadAndroidToLinuxKeyMap.find(androidKeyCode); in getGamepadkeyCode()
|
D | com_android_server_tv_GamepadKeys.h | 25 int32_t androidKeyCode; member
|
D | com_android_server_companion_virtual_InputController.cpp | 321 static bool nativeWriteDpadKeyEvent(JNIEnv* env, jobject thiz, jlong ptr, jint androidKeyCode, in nativeWriteDpadKeyEvent() argument 324 return virtualDpad->writeDpadKeyEvent(androidKeyCode, action, in nativeWriteDpadKeyEvent() 329 static bool nativeWriteKeyEvent(JNIEnv* env, jobject thiz, jlong ptr, jint androidKeyCode, in nativeWriteKeyEvent() argument 332 return virtualKeyboard->writeKeyEvent(androidKeyCode, action, in nativeWriteKeyEvent()
|
D | com_android_server_tv_TvKeys.h | 13 int32_t androidKeyCode; member
|
/frameworks/native/include/input/ |
D | VirtualInputDevice.h | 52 bool writeKeyEvent(int32_t androidKeyCode, int32_t androidAction, 61 bool writeDpadKeyEvent(int32_t androidKeyCode, int32_t androidAction,
|
/frameworks/native/libs/input/ |
D | VirtualInputDevice.cpp | 210 bool VirtualKeyboard::writeKeyEvent(int32_t androidKeyCode, int32_t androidAction, in writeKeyEvent() argument 212 return writeEvKeyEvent(androidKeyCode, androidAction, KEY_CODE_MAPPING, KEY_ACTION_MAPPING, in writeKeyEvent() 233 bool VirtualDpad::writeDpadKeyEvent(int32_t androidKeyCode, int32_t androidAction, in writeDpadKeyEvent() argument 235 return writeEvKeyEvent(androidKeyCode, androidAction, DPAD_KEY_CODE_MAPPING, in writeDpadKeyEvent()
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | InputController.java | 453 private static native boolean nativeWriteDpadKeyEvent(long ptr, int androidKeyCode, int action, in nativeWriteDpadKeyEvent() argument 455 private static native boolean nativeWriteKeyEvent(long ptr, int androidKeyCode, int action, in nativeWriteKeyEvent() argument 502 public boolean writeDpadKeyEvent(long ptr, int androidKeyCode, int action, in writeDpadKeyEvent() argument 504 return nativeWriteDpadKeyEvent(ptr, androidKeyCode, action, eventTimeNanos); in writeDpadKeyEvent() 507 public boolean writeKeyEvent(long ptr, int androidKeyCode, int action, in writeKeyEvent() argument 509 return nativeWriteKeyEvent(ptr, androidKeyCode, action, eventTimeNanos); in writeKeyEvent()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
D | KeyEventHandling.java | 232 int androidKeyCode = javaToAndroidKeyCode(event.getKeyCode(), event.getKeyLocation()); in javaToAndroidKeyEvent() local 263 currentTimeNanos / TimeUtils.NANOS_PER_MS, keyEventType, androidKeyCode, 0, in javaToAndroidKeyEvent()
|