Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/accumulator/
DTouchButtonAccumulator.cpp29 mHaveBtnTouch = deviceContext.hasScanCode(BTN_TOUCH); in configure()
30 mHaveStylus = deviceContext.hasScanCode(BTN_TOOL_PEN) || in configure()
31 deviceContext.hasScanCode(BTN_TOOL_RUBBER) || in configure()
32 deviceContext.hasScanCode(BTN_TOOL_BRUSH) || in configure()
33 deviceContext.hasScanCode(BTN_TOOL_PENCIL) || in configure()
34 deviceContext.hasScanCode(BTN_TOOL_AIRBRUSH); in configure()
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h323 inline bool hasScanCode(int32_t scanCode) const { in hasScanCode() function
324 return mEventHub->hasScanCode(mId, scanCode); in hasScanCode()
DEventHub.h314 virtual bool hasScanCode(int32_t deviceId, int32_t scanCode) const = 0;
491 bool hasScanCode(int32_t deviceId, int32_t scanCode) const override final;
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp1178 bool EventHub::hasScanCode(int32_t deviceId, int32_t scanCode) const { in hasScanCode() function in android::EventHub
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp851 bool hasScanCode(int32_t deviceId, int32_t scanCode) const override { in hasScanCode() function in android::FakeEventHub