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.cpp38 mBtnTouch = deviceContext.isKeyPressed(BTN_TOUCH); in reset()
39 mBtnStylus = deviceContext.isKeyPressed(BTN_STYLUS); in reset()
41 mBtnStylus2 = deviceContext.isKeyPressed(BTN_STYLUS2) || deviceContext.isKeyPressed(BTN_0); in reset()
42 mBtnToolFinger = deviceContext.isKeyPressed(BTN_TOOL_FINGER); in reset()
43 mBtnToolPen = deviceContext.isKeyPressed(BTN_TOOL_PEN); in reset()
44 mBtnToolRubber = deviceContext.isKeyPressed(BTN_TOOL_RUBBER); in reset()
45 mBtnToolBrush = deviceContext.isKeyPressed(BTN_TOOL_BRUSH); in reset()
46 mBtnToolPencil = deviceContext.isKeyPressed(BTN_TOOL_PENCIL); in reset()
47 mBtnToolAirbrush = deviceContext.isKeyPressed(BTN_TOOL_AIRBRUSH); in reset()
48 mBtnToolMouse = deviceContext.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.h365 inline bool isKeyPressed(int32_t code) const { in isKeyPressed() function