Searched refs:hasScanCode (Results 1 – 11 of 11) sorted by relevance
/frameworks/native/services/inputflinger/reader/mapper/gestures/ |
D | HardwareProperties.cpp | 26 if (context.hasScanCode(BTN_TOOL_QUINTTAP)) return 5; in getMaxTouchCount() 27 if (context.hasScanCode(BTN_TOOL_QUADTAP)) return 4; in getMaxTouchCount() 28 if (context.hasScanCode(BTN_TOOL_TRIPLETAP)) return 3; in getMaxTouchCount() 29 if (context.hasScanCode(BTN_TOOL_DOUBLETAP)) return 2; in getMaxTouchCount() 30 if (context.hasScanCode(BTN_TOOL_FINGER)) return 1; in getMaxTouchCount()
|
/frameworks/native/services/inputflinger/reader/mapper/accumulator/ |
D | TouchButtonAccumulator.cpp | 25 mHaveBtnTouch = mDeviceContext.hasScanCode(BTN_TOUCH); in configure() 26 mHaveStylus = mDeviceContext.hasScanCode(BTN_TOOL_PEN) || in configure() 27 mDeviceContext.hasScanCode(BTN_TOOL_RUBBER) || in configure() 28 mDeviceContext.hasScanCode(BTN_TOOL_BRUSH) || in configure() 29 mDeviceContext.hasScanCode(BTN_TOOL_PENCIL) || in configure() 30 mDeviceContext.hasScanCode(BTN_TOOL_AIRBRUSH); in configure()
|
/frameworks/native/services/inputflinger/tests/ |
D | HardwareProperties_test.cpp | 73 EXPECT_CALL(mMockEventHub, hasScanCode(EVENTHUB_ID, buttonCode)) in setButtonsPresent()
|
D | InputMapperTest.cpp | 71 EXPECT_CALL(mMockEventHub, hasScanCode(EVENTHUB_ID, scanCode)) in expectScanCodes()
|
D | FakeEventHub.h | 198 bool hasScanCode(int32_t deviceId, int32_t scanCode) const override;
|
D | InterfaceMocks.h | 149 MOCK_METHOD(bool, hasScanCode, (int32_t deviceId, int32_t scanCode), (const, override));
|
D | FakeEventHub.cpp | 490 bool FakeEventHub::hasScanCode(int32_t deviceId, int32_t scanCode) const { in hasScanCode() function in android::FakeEventHub
|
/frameworks/native/services/inputflinger/reader/include/ |
D | InputDevice.h | 395 inline bool hasScanCode(int32_t scanCode) const { in hasScanCode() function 396 return mEventHub->hasScanCode(mId, scanCode); in hasScanCode()
|
D | EventHub.h | 355 virtual bool hasScanCode(int32_t deviceId, int32_t scanCode) const = 0; 582 bool hasScanCode(int32_t deviceId, int32_t scanCode) const override final;
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | MapperHelpers.h | 261 bool hasScanCode(int32_t deviceId, int32_t scanCode) const override { in hasScanCode() function
|
/frameworks/native/services/inputflinger/reader/ |
D | EventHub.cpp | 1491 bool EventHub::hasScanCode(int32_t deviceId, int32_t scanCode) const { in hasScanCode() function in android::EventHub
|