/frameworks/base/services/core/java/com/android/server/input/ |
D | NativeInputManagerService.java | 55 int getKeyCodeForKeyLocation(int deviceId, int locationKeyCode); in getKeyCodeForKeyLocation() argument 226 public native int getKeyCodeForKeyLocation(int deviceId, int locationKeyCode); in getKeyCodeForKeyLocation() argument
|
D | InputManagerService.java | 677 public int getKeyCodeForKeyLocation(int deviceId, int locationKeyCode) { in getKeyCodeForKeyLocation() argument 678 if (locationKeyCode <= KEYCODE_UNKNOWN || locationKeyCode > KeyEvent.getMaxKeyCode()) { in getKeyCodeForKeyLocation() 681 return mNative.getKeyCodeForKeyLocation(deviceId, locationKeyCode); in getKeyCodeForKeyLocation()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | KeyboardInputMapper.h | 41 virtual int32_t getKeyCodeForKeyLocation(int32_t locationKeyCode) const override;
|
D | InputMapper.cpp | 54 int32_t InputMapper::getKeyCodeForKeyLocation(int32_t locationKeyCode) const { in getKeyCodeForKeyLocation()
|
D | InputMapper.h | 65 virtual int32_t getKeyCodeForKeyLocation(int32_t locationKeyCode) const;
|
D | KeyboardInputMapper.cpp | 378 int32_t KeyboardInputMapper::getKeyCodeForKeyLocation(int32_t locationKeyCode) const { in getKeyCodeForKeyLocation() 379 return getDeviceContext().getKeyCodeForKeyLocation(locationKeyCode); in getKeyCodeForKeyLocation()
|
/frameworks/native/services/inputflinger/reader/include/ |
D | InputDevice.h | 90 int32_t getKeyCodeForKeyLocation(int32_t locationKeyCode) const; 320 inline int32_t getKeyCodeForKeyLocation(int32_t locationKeyCode) const { in getKeyCodeForKeyLocation() argument 321 return mEventHub->getKeyCodeForKeyLocation(mId, locationKeyCode); in getKeyCodeForKeyLocation()
|
D | EventHub.h | 309 virtual int32_t getKeyCodeForKeyLocation(int32_t deviceId, int32_t locationKeyCode) const = 0; 487 int32_t locationKeyCode) const override final;
|
D | InputReader.h | 72 int32_t getKeyCodeForKeyLocation(int32_t deviceId, int32_t locationKeyCode) const override;
|
/frameworks/native/services/inputflinger/reader/ |
D | InputDevice.cpp | 484 int32_t InputDevice::getKeyCodeForKeyLocation(int32_t locationKeyCode) const { in getKeyCodeForKeyLocation() 486 [locationKeyCode](const InputMapper& mapper) -> std::optional<int32_t> const { in getKeyCodeForKeyLocation() 488 return std::make_optional(mapper.getKeyCodeForKeyLocation(locationKeyCode)); in getKeyCodeForKeyLocation()
|
D | InputReader.cpp | 593 int32_t InputReader::getKeyCodeForKeyLocation(int32_t deviceId, int32_t locationKeyCode) const { in getKeyCodeForKeyLocation() 602 return device->getKeyCodeForKeyLocation(locationKeyCode); in getKeyCodeForKeyLocation()
|
D | EventHub.cpp | 885 int32_t EventHub::getKeyCodeForKeyLocation(int32_t deviceId, int32_t locationKeyCode) const { in getKeyCodeForKeyLocation() 894 device->keyMap.keyLayoutMap->findScanCodesForKey(locationKeyCode, &scanCodes); in getKeyCodeForKeyLocation() 898 locationKeyCode, deviceId); in getKeyCodeForKeyLocation() 903 locationKeyCode); in getKeyCodeForKeyLocation() 913 return locationKeyCode; in getKeyCodeForKeyLocation()
|
/frameworks/base/core/java/android/hardware/input/ |
D | IInputManager.aidl | 56 int getKeyCodeForKeyLocation(int deviceId, in int locationKeyCode); in getKeyCodeForKeyLocation() argument
|
D | InputManager.java | 1115 public int getKeyCodeForKeyLocation(int deviceId, int locationKeyCode) { in getKeyCodeForKeyLocation() argument 1117 return mIm.getKeyCodeForKeyLocation(deviceId, locationKeyCode); in getKeyCodeForKeyLocation()
|
/frameworks/base/core/java/android/view/ |
D | InputDevice.java | 782 public int getKeyCodeForKeyLocation(int locationKeyCode) { in getKeyCodeForKeyLocation() argument 783 return InputManager.getInstance().getKeyCodeForKeyLocation(mId, locationKeyCode); in getKeyCodeForKeyLocation()
|
/frameworks/native/services/inputflinger/include/ |
D | InputReaderBase.h | 91 virtual int32_t getKeyCodeForKeyLocation(int32_t deviceId, int32_t locationKeyCode) const = 0;
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 1576 jint locationKeyCode) { in nativeGetKeyCodeForKeyLocation() argument 1579 locationKeyCode); in nativeGetKeyCodeForKeyLocation()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 907 int32_t getKeyCodeForKeyLocation(int32_t deviceId, int32_t locationKeyCode) const override { in getKeyCodeForKeyLocation() 912 auto it = device->keyCodeMapping.find(locationKeyCode); in getKeyCodeForKeyLocation() 913 return it != device->keyCodeMapping.end() ? it->second : locationKeyCode; in getKeyCodeForKeyLocation() 1223 int32_t getKeyCodeForKeyLocation(int32_t locationKeyCode) const override { in getKeyCodeForKeyLocation() 1224 auto it = mKeyCodeMapping.find(locationKeyCode); in getKeyCodeForKeyLocation() 1225 return it != mKeyCodeMapping.end() ? it->second : locationKeyCode; in getKeyCodeForKeyLocation()
|