Home
last modified time | relevance | path

Searched refs:locationKeyCode (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/services/core/java/com/android/server/input/
DNativeInputManagerService.java55 int getKeyCodeForKeyLocation(int deviceId, int locationKeyCode); in getKeyCodeForKeyLocation() argument
226 public native int getKeyCodeForKeyLocation(int deviceId, int locationKeyCode); in getKeyCodeForKeyLocation() argument
DInputManagerService.java677 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/
DKeyboardInputMapper.h41 virtual int32_t getKeyCodeForKeyLocation(int32_t locationKeyCode) const override;
DInputMapper.cpp54 int32_t InputMapper::getKeyCodeForKeyLocation(int32_t locationKeyCode) const { in getKeyCodeForKeyLocation()
DInputMapper.h65 virtual int32_t getKeyCodeForKeyLocation(int32_t locationKeyCode) const;
DKeyboardInputMapper.cpp378 int32_t KeyboardInputMapper::getKeyCodeForKeyLocation(int32_t locationKeyCode) const { in getKeyCodeForKeyLocation()
379 return getDeviceContext().getKeyCodeForKeyLocation(locationKeyCode); in getKeyCodeForKeyLocation()
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h90 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()
DEventHub.h309 virtual int32_t getKeyCodeForKeyLocation(int32_t deviceId, int32_t locationKeyCode) const = 0;
487 int32_t locationKeyCode) const override final;
DInputReader.h72 int32_t getKeyCodeForKeyLocation(int32_t deviceId, int32_t locationKeyCode) const override;
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp484 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()
DInputReader.cpp593 int32_t InputReader::getKeyCodeForKeyLocation(int32_t deviceId, int32_t locationKeyCode) const { in getKeyCodeForKeyLocation()
602 return device->getKeyCodeForKeyLocation(locationKeyCode); in getKeyCodeForKeyLocation()
DEventHub.cpp885 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/
DIInputManager.aidl56 int getKeyCodeForKeyLocation(int deviceId, in int locationKeyCode); in getKeyCodeForKeyLocation() argument
DInputManager.java1115 public int getKeyCodeForKeyLocation(int deviceId, int locationKeyCode) { in getKeyCodeForKeyLocation() argument
1117 return mIm.getKeyCodeForKeyLocation(deviceId, locationKeyCode); in getKeyCodeForKeyLocation()
/frameworks/base/core/java/android/view/
DInputDevice.java782 public int getKeyCodeForKeyLocation(int locationKeyCode) { in getKeyCodeForKeyLocation() argument
783 return InputManager.getInstance().getKeyCodeForKeyLocation(mId, locationKeyCode); in getKeyCodeForKeyLocation()
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h91 virtual int32_t getKeyCodeForKeyLocation(int32_t deviceId, int32_t locationKeyCode) const = 0;
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1576 jint locationKeyCode) { in nativeGetKeyCodeForKeyLocation() argument
1579 locationKeyCode); in nativeGetKeyCodeForKeyLocation()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp907 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()