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.cpp36 mBtnTouch = device->isKeyPressed(BTN_TOUCH); in reset()
37 mBtnStylus = device->isKeyPressed(BTN_STYLUS); in reset()
39 mBtnStylus2 = device->isKeyPressed(BTN_STYLUS2) || device->isKeyPressed(BTN_0); in reset()
40 mBtnToolFinger = device->isKeyPressed(BTN_TOOL_FINGER); in reset()
41 mBtnToolPen = device->isKeyPressed(BTN_TOOL_PEN); in reset()
42 mBtnToolRubber = device->isKeyPressed(BTN_TOOL_RUBBER); in reset()
43 mBtnToolBrush = device->isKeyPressed(BTN_TOOL_BRUSH); in reset()
44 mBtnToolPencil = device->isKeyPressed(BTN_TOOL_PENCIL); in reset()
45 mBtnToolAirbrush = device->isKeyPressed(BTN_TOOL_AIRBRUSH); in reset()
46 mBtnToolMouse = device->isKeyPressed(BTN_TOOL_MOUSE); in reset()
[all …]
DCursorButtonAccumulator.cpp29 mBtnLeft = device->isKeyPressed(BTN_LEFT); in reset()
30 mBtnRight = device->isKeyPressed(BTN_RIGHT); in reset()
31 mBtnMiddle = device->isKeyPressed(BTN_MIDDLE); in reset()
32 mBtnBack = device->isKeyPressed(BTN_BACK); in reset()
33 mBtnSide = device->isKeyPressed(BTN_SIDE); in reset()
34 mBtnForward = device->isKeyPressed(BTN_FORWARD); in reset()
35 mBtnExtra = device->isKeyPressed(BTN_EXTRA); in reset()
36 mBtnTask = device->isKeyPressed(BTN_TASK); in reset()
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h105 bool isKeyPressed(int32_t code) { in isKeyPressed() function