Home
last modified time | relevance | path

Searched refs:isKeyPressed (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/accumulator/
DTouchButtonAccumulator.cpp34 mBtnTouch = mDeviceContext.isKeyPressed(BTN_TOUCH); in reset()
35 mBtnStylus = mDeviceContext.isKeyPressed(BTN_STYLUS) || in reset()
38 mBtnStylus2 = mDeviceContext.isKeyPressed(BTN_STYLUS2) || mDeviceContext.isKeyPressed(BTN_0) || in reset()
40 mBtnToolFinger = mDeviceContext.isKeyPressed(BTN_TOOL_FINGER); in reset()
41 mBtnToolPen = mDeviceContext.isKeyPressed(BTN_TOOL_PEN); in reset()
42 mBtnToolRubber = mDeviceContext.isKeyPressed(BTN_TOOL_RUBBER); in reset()
43 mBtnToolBrush = mDeviceContext.isKeyPressed(BTN_TOOL_BRUSH); in reset()
44 mBtnToolPencil = mDeviceContext.isKeyPressed(BTN_TOOL_PENCIL); in reset()
45 mBtnToolAirbrush = mDeviceContext.isKeyPressed(BTN_TOOL_AIRBRUSH); in reset()
46 mBtnToolMouse = mDeviceContext.isKeyPressed(BTN_TOOL_MOUSE); in reset()
[all …]
DCursorButtonAccumulator.cpp29 mBtnLeft = deviceContext.isKeyPressed(BTN_LEFT); in reset()
30 mBtnRight = deviceContext.isKeyPressed(BTN_RIGHT); in reset()
31 mBtnMiddle = deviceContext.isKeyPressed(BTN_MIDDLE); in reset()
32 mBtnBack = deviceContext.isKeyPressed(BTN_BACK); in reset()
33 mBtnSide = deviceContext.isKeyPressed(BTN_SIDE); in reset()
34 mBtnForward = deviceContext.isKeyPressed(BTN_FORWARD); in reset()
35 mBtnExtra = deviceContext.isKeyPressed(BTN_EXTRA); in reset()
36 mBtnTask = deviceContext.isKeyPressed(BTN_TASK); in reset()
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h439 inline bool isKeyPressed(int32_t scanCode) const { in isKeyPressed() function