Home
last modified time | relevance | path

Searched defs:scanCode (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/native/services/inputflinger/reader/mapper/
DKeyboardInputMapper.cpp59 static bool isSupportedScanCode(int32_t scanCode) { in isSupportedScanCode()
244 int32_t scanCode = rawEvent.code; in process() local
257 int32_t scanCode, int32_t usageCode) { in processKey()
361 std::optional<size_t> KeyboardInputMapper::findKeyDownIndex(int32_t scanCode) { in findKeyDownIndex()
375 int32_t KeyboardInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
DInputMapper.cpp59 int32_t InputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
DCursorInputMapper.cpp413 int32_t CursorInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
DTouchInputMapper.h197 int32_t scanCode; member
506 int32_t scanCode; member
/frameworks/base/core/java/android/view/
DVerifiedKeyEvent.java194 int scanCode,
360 int scanCode = in.readInt(); in VerifiedKeyEvent() local
DKeyCharacterMap.java315 private static native int nativeGetMappedKey(long ptr, int scanCode); in nativeGetMappedKey()
402 public int getMappedKeyOrDefault(int scanCode, int defaultKeyCode) { in getMappedKeyOrDefault()
/frameworks/native/include/input/
DVirtualKeyMap.h32 int32_t scanCode; member
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h335 inline status_t mapKey(int32_t scanCode, int32_t usageCode, int32_t metaState, in mapKey()
340 inline status_t mapAxis(int32_t scanCode, AxisInfo* outAxisInfo) const { in mapAxis()
372 inline int32_t getScanCodeState(int32_t scanCode) const { in getScanCodeState()
393 inline bool hasScanCode(int32_t scanCode) const { in hasScanCode()
439 inline bool isKeyPressed(int32_t scanCode) const { in isKeyPressed()
/frameworks/native/services/inputflinger/reader/mapper/accumulator/
DTouchButtonAccumulator.cpp114 void TouchButtonAccumulator::processMappedKey(int32_t scanCode, bool down) { in processMappedKey()
/frameworks/native/libs/input/
DKeyLayoutMap.cpp191 status_t KeyLayoutMap::mapKey(int32_t scanCode, int32_t usageCode, in mapKey()
225 const KeyLayoutMap::Key* KeyLayoutMap::getKey(int32_t scanCode, int32_t usageCode) const { in getKey()
420 std::optional<int> scanCode = parseInt(scanCodeToken.c_str()); in parseAxis() local
DInputTransport.cpp535 int32_t flags, int32_t keyCode, int32_t scanCode, in publishKeyEvent()
/frameworks/native/services/inputflinger/tests/fuzzers/
DMapperHelpers.h138 status_t mapKey(int32_t deviceId, int32_t scanCode, int32_t usageCode, int32_t metaState, in mapKey()
142 status_t mapAxis(int32_t deviceId, int32_t scanCode, AxisInfo* outAxisInfo) const override { in mapAxis()
187 int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const override { in getScanCodeState()
220 bool hasScanCode(int32_t deviceId, int32_t scanCode) const override { in hasScanCode()
319 bool shouldDropVirtualKey(nsecs_t now, int32_t keyCode, int32_t scanCode) override { in shouldDropVirtualKey()
DInputReaderFuzzer.cpp64 int32_t getScanCodeState(int32_t deviceId, uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
/frameworks/native/services/inputflinger/tests/
DInputMapperTest.cpp73 for (const auto& scanCode : scanCodes) { in expectScanCodes() local
80 for (const auto& scanCode : scanCodes) { in setScanCodeState() local
DFakeEventHub.cpp127 void FakeEventHub::setScanCodeState(int32_t deviceId, int32_t scanCode, int32_t state) { in setScanCodeState()
139 void FakeEventHub::addKey(int32_t deviceId, int32_t scanCode, int32_t usageCode, int32_t keyCode, in addKey()
300 status_t FakeEventHub::mapKey(int32_t deviceId, int32_t scanCode, int32_t usageCode, in mapKey()
323 const FakeEventHub::KeyInfo* FakeEventHub::getKey(Device* device, int32_t scanCode, in getKey()
/frameworks/native/services/inputflinger/dispatcher/
DInputState.h95 int32_t scanCode; member
DEntry.cpp137 int32_t scanCode, int32_t metaState, int32_t repeatCount, nsecs_t downTime) in KeyEntry()
/frameworks/base/core/java/android/hardware/input/
DPhysicalKeyLayout.java324 private static LayoutKey getKey(KeyCharacterMap kcm, int scanCode, float keyWeight) { in getKey()
330 private static LayoutKey getKey(KeyCharacterMap kcm, int scanCode) { in getKey()
394 public record LayoutKey(int keyCode, int scanCode, float keyWeight, KeyGlyph glyph) {} in LayoutKey()
/frameworks/base/core/tests/coretests/src/android/view/
DKeyEventTest.java294 int action, int keyCode, int repeat, int metaState, int deviceId, int scanCode, in assertKeyEventFields()
/frameworks/native/services/inputflinger/reader/
DInputReader.cpp508 bool InputReader::shouldDropVirtualKeyLocked(nsecs_t now, int32_t keyCode, int32_t scanCode) { in shouldDropVirtualKeyLocked()
553 int32_t InputReader::getScanCodeState(int32_t deviceId, uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
1043 int32_t scanCode) { in shouldDropVirtualKey()
/frameworks/base/core/jni/
Dandroid_view_KeyEvent.cpp131 jint scanCode = env->GetIntField(eventObj, gKeyEventClassInfo.mScanCode); in android_view_KeyEvent_obtainAsCopy() local
Dandroid_view_KeyCharacterMap.cpp262 static jint nativeGetMappedKey(JNIEnv* env, jobject clazz, jlong ptr, jint scanCode) { in nativeGetMappedKey()
/frameworks/native/services/inputflinger/
DNotifyArgs.cpp47 int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode, in NotifyKeyArgs()
/frameworks/native/services/inputflinger/dispatcher/trace/
DInputTracingBackendInterface.h56 int32_t scanCode; member
/frameworks/native/services/inputflinger/include/
DNotifyArgs.h69 int32_t scanCode; member

12