Searched refs:UinputAction (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/libs/input/ |
D | VirtualInputDevice.cpp | 64 const std::map<int, UinputAction>& actionMapping, in writeEvKeyEvent() 90 const std::map<int, UinputAction> VirtualKeyboard::KEY_ACTION_MAPPING = { 91 {AKEY_EVENT_ACTION_DOWN, UinputAction::PRESS}, 92 {AKEY_EVENT_ACTION_UP, UinputAction::RELEASE}, 240 const std::map<int, UinputAction> VirtualMouse::BUTTON_ACTION_MAPPING = { 241 {AMOTION_EVENT_ACTION_BUTTON_PRESS, UinputAction::PRESS}, 242 {AMOTION_EVENT_ACTION_BUTTON_RELEASE, UinputAction::RELEASE}, 281 const std::map<int, UinputAction> VirtualTouchscreen::TOUCH_ACTION_MAPPING = { 282 {AMOTION_EVENT_ACTION_DOWN, UinputAction::PRESS}, 283 {AMOTION_EVENT_ACTION_UP, UinputAction::RELEASE}, [all …]
|
/frameworks/native/include/input/ |
D | VirtualInputDevice.h | 23 enum class UinputAction { enum 41 const std::map<int, UinputAction>& actionMapping, 49 static const std::map<int, UinputAction> KEY_ACTION_MAPPING; 68 static const std::map<int, UinputAction> BUTTON_ACTION_MAPPING; 85 static const std::map<int, UinputAction> TOUCH_ACTION_MAPPING; 101 bool isValidPointerId(int32_t pointerId, UinputAction uinputAction);
|