Home
last modified time | relevance | path

Searched refs:hasScanCode (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/gestures/
DHardwareProperties.cpp26 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/
DTouchButtonAccumulator.cpp25 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/
DHardwareProperties_test.cpp73 EXPECT_CALL(mMockEventHub, hasScanCode(EVENTHUB_ID, buttonCode)) in setButtonsPresent()
DInputMapperTest.cpp71 EXPECT_CALL(mMockEventHub, hasScanCode(EVENTHUB_ID, scanCode)) in expectScanCodes()
DFakeEventHub.h198 bool hasScanCode(int32_t deviceId, int32_t scanCode) const override;
DInterfaceMocks.h149 MOCK_METHOD(bool, hasScanCode, (int32_t deviceId, int32_t scanCode), (const, override));
DFakeEventHub.cpp490 bool FakeEventHub::hasScanCode(int32_t deviceId, int32_t scanCode) const { in hasScanCode() function in android::FakeEventHub
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h395 inline bool hasScanCode(int32_t scanCode) const { in hasScanCode() function
396 return mEventHub->hasScanCode(mId, scanCode); in hasScanCode()
DEventHub.h355 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/
DMapperHelpers.h261 bool hasScanCode(int32_t deviceId, int32_t scanCode) const override { in hasScanCode() function
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp1491 bool EventHub::hasScanCode(int32_t deviceId, int32_t scanCode) const { in hasScanCode() function in android::EventHub