• Home
  • Raw
  • Download

Lines Matching refs:Action

64 static common::Action getAction(int32_t actionMasked) {  in getAction()
65 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_DOWN) == common::Action::DOWN, in getAction()
67 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_UP) == common::Action::UP, in getAction()
69 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_MOVE) == common::Action::MOVE, in getAction()
71 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_CANCEL) == in getAction()
72 common::Action::CANCEL, in getAction()
74 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_OUTSIDE) == in getAction()
75 common::Action::OUTSIDE, in getAction()
77 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_POINTER_DOWN) == in getAction()
78 common::Action::POINTER_DOWN, in getAction()
80 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_POINTER_UP) == in getAction()
81 common::Action::POINTER_UP, in getAction()
83 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_HOVER_MOVE) == in getAction()
84 common::Action::HOVER_MOVE, in getAction()
86 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_SCROLL) == in getAction()
87 common::Action::SCROLL, in getAction()
89 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_HOVER_ENTER) == in getAction()
90 common::Action::HOVER_ENTER, in getAction()
92 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_HOVER_EXIT) == in getAction()
93 common::Action::HOVER_EXIT, in getAction()
95 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_BUTTON_PRESS) == in getAction()
96 common::Action::BUTTON_PRESS, in getAction()
98 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_BUTTON_RELEASE) == in getAction()
99 common::Action::BUTTON_RELEASE, in getAction()
101 return static_cast<common::Action>(actionMasked); in getAction()