Lines Matching refs:V1_0
24 static common::V1_0::Source getSource(uint32_t source) { in getSource()
25 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_UNKNOWN) == in getSource()
26 common::V1_0::Source::UNKNOWN, "SOURCE_UNKNOWN mismatch"); in getSource()
27 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_KEYBOARD) == in getSource()
28 common::V1_0::Source::KEYBOARD, "SOURCE_KEYBOARD mismatch"); in getSource()
29 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_DPAD) == in getSource()
30 common::V1_0::Source::DPAD, "SOURCE_DPAD mismatch"); in getSource()
31 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_GAMEPAD) == in getSource()
32 common::V1_0::Source::GAMEPAD, "SOURCE_GAMEPAD mismatch"); in getSource()
33 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_TOUCHSCREEN) == in getSource()
34 common::V1_0::Source::TOUCHSCREEN, "SOURCE_TOUCHSCREEN mismatch"); in getSource()
35 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_MOUSE) == in getSource()
36 common::V1_0::Source::MOUSE, "SOURCE_MOUSE mismatch"); in getSource()
37 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_STYLUS) == in getSource()
38 common::V1_0::Source::STYLUS, "SOURCE_STYLUS mismatch"); in getSource()
39 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_BLUETOOTH_STYLUS) == in getSource()
40 common::V1_0::Source::BLUETOOTH_STYLUS, "SOURCE_BLUETOOTH_STYLUS mismatch"); in getSource()
41 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_TRACKBALL) == in getSource()
42 common::V1_0::Source::TRACKBALL, "SOURCE_TRACKBALL mismatch"); in getSource()
43 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_MOUSE_RELATIVE) == in getSource()
44 common::V1_0::Source::MOUSE_RELATIVE, "SOURCE_MOUSE_RELATIVE mismatch"); in getSource()
45 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_TOUCHPAD) == in getSource()
46 common::V1_0::Source::TOUCHPAD, "SOURCE_TOUCHPAD mismatch"); in getSource()
47 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_TOUCH_NAVIGATION) == in getSource()
48 common::V1_0::Source::TOUCH_NAVIGATION, "SOURCE_TOUCH_NAVIGATION mismatch"); in getSource()
49 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_JOYSTICK) == in getSource()
50 common::V1_0::Source::JOYSTICK, "SOURCE_JOYSTICK mismatch"); in getSource()
51 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_ROTARY_ENCODER) == in getSource()
52 common::V1_0::Source::ROTARY_ENCODER, "SOURCE_ROTARY_ENCODER mismatch"); in getSource()
53 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_ANY) == in getSource()
54 common::V1_0::Source::ANY, "SOURCE_ANY mismatch"); in getSource()
55 return static_cast<common::V1_0::Source>(source); in getSource()
58 static common::V1_0::Action getAction(int32_t actionMasked) { in getAction()
59 static_assert(static_cast<common::V1_0::Action>(AMOTION_EVENT_ACTION_DOWN) == in getAction()
60 common::V1_0::Action::DOWN, "ACTION_DOWN mismatch"); in getAction()
61 static_assert(static_cast<common::V1_0::Action>(AMOTION_EVENT_ACTION_UP) == in getAction()
62 common::V1_0::Action::UP, "ACTION_UP mismatch"); in getAction()
63 static_assert(static_cast<common::V1_0::Action>(AMOTION_EVENT_ACTION_MOVE) == in getAction()
64 common::V1_0::Action::MOVE, "ACTION_MOVE mismatch"); in getAction()
65 static_assert(static_cast<common::V1_0::Action>(AMOTION_EVENT_ACTION_CANCEL) == in getAction()
66 common::V1_0::Action::CANCEL, "ACTION_CANCEL mismatch"); in getAction()
67 static_assert(static_cast<common::V1_0::Action>(AMOTION_EVENT_ACTION_OUTSIDE) == in getAction()
68 common::V1_0::Action::OUTSIDE, "ACTION_OUTSIDE mismatch"); in getAction()
69 static_assert(static_cast<common::V1_0::Action>(AMOTION_EVENT_ACTION_POINTER_DOWN) == in getAction()
70 common::V1_0::Action::POINTER_DOWN, "ACTION_POINTER_DOWN mismatch"); in getAction()
71 static_assert(static_cast<common::V1_0::Action>(AMOTION_EVENT_ACTION_POINTER_UP) == in getAction()
72 common::V1_0::Action::POINTER_UP, "ACTION_POINTER_UP mismatch"); in getAction()
73 static_assert(static_cast<common::V1_0::Action>( AMOTION_EVENT_ACTION_HOVER_MOVE) == in getAction()
74 common::V1_0::Action::HOVER_MOVE, "ACTION_HOVER_MOVE mismatch"); in getAction()
75 static_assert(static_cast<common::V1_0::Action>(AMOTION_EVENT_ACTION_SCROLL) == in getAction()
76 common::V1_0::Action::SCROLL, "ACTION_SCROLL mismatch"); in getAction()
77 static_assert(static_cast<common::V1_0::Action>(AMOTION_EVENT_ACTION_HOVER_ENTER) == in getAction()
78 common::V1_0::Action::HOVER_ENTER, "ACTION_HOVER_ENTER mismatch"); in getAction()
79 static_assert(static_cast<common::V1_0::Action>(AMOTION_EVENT_ACTION_HOVER_EXIT) == in getAction()
80 common::V1_0::Action::HOVER_EXIT, "ACTION_HOVER_EXIT mismatch"); in getAction()
81 static_assert(static_cast<common::V1_0::Action>(AMOTION_EVENT_ACTION_BUTTON_PRESS) == in getAction()
82 common::V1_0::Action::BUTTON_PRESS, "ACTION_BUTTON_PRESS mismatch"); in getAction()
83 static_assert(static_cast<common::V1_0::Action>(AMOTION_EVENT_ACTION_BUTTON_RELEASE) == in getAction()
84 common::V1_0::Action::BUTTON_RELEASE, "ACTION_BUTTON_RELEASE mismatch"); in getAction()
85 return static_cast<common::V1_0::Action>(actionMasked); in getAction()
88 static common::V1_0::Button getActionButton(int32_t actionButton) { in getActionButton()
89 static_assert(static_cast<common::V1_0::Button>(0) == in getActionButton()
90 common::V1_0::Button::NONE, "BUTTON_NONE mismatch"); in getActionButton()
91 static_assert(static_cast<common::V1_0::Button>(AMOTION_EVENT_BUTTON_PRIMARY) == in getActionButton()
92 common::V1_0::Button::PRIMARY, "BUTTON_PRIMARY mismatch"); in getActionButton()
93 static_assert(static_cast<common::V1_0::Button>(AMOTION_EVENT_BUTTON_SECONDARY) == in getActionButton()
94 common::V1_0::Button::SECONDARY, "BUTTON_SECONDARY mismatch"); in getActionButton()
95 static_assert(static_cast<common::V1_0::Button>(AMOTION_EVENT_BUTTON_TERTIARY) == in getActionButton()
96 common::V1_0::Button::TERTIARY, "BUTTON_TERTIARY mismatch"); in getActionButton()
97 static_assert(static_cast<common::V1_0::Button>(AMOTION_EVENT_BUTTON_BACK) == in getActionButton()
98 common::V1_0::Button::BACK, "BUTTON_BACK mismatch"); in getActionButton()
99 static_assert(static_cast<common::V1_0::Button>(AMOTION_EVENT_BUTTON_FORWARD) == in getActionButton()
100 common::V1_0::Button::FORWARD, "BUTTON_FORWARD mismatch"); in getActionButton()
101 static_assert(static_cast<common::V1_0::Button>(AMOTION_EVENT_BUTTON_STYLUS_PRIMARY) == in getActionButton()
102 common::V1_0::Button::STYLUS_PRIMARY, "BUTTON_STYLUS_PRIMARY mismatch"); in getActionButton()
103 static_assert(static_cast<common::V1_0::Button>(AMOTION_EVENT_BUTTON_STYLUS_SECONDARY) == in getActionButton()
104 common::V1_0::Button::STYLUS_SECONDARY, "BUTTON_STYLUS_SECONDARY mismatch"); in getActionButton()
105 return static_cast<common::V1_0::Button>(actionButton); in getActionButton()
108 static hidl_bitfield<common::V1_0::Flag> getFlags(int32_t flags) { in getFlags()
109 static_assert(static_cast<common::V1_0::Flag>(AMOTION_EVENT_FLAG_WINDOW_IS_OBSCURED) == in getFlags()
110 common::V1_0::Flag::WINDOW_IS_OBSCURED); in getFlags()
111 static_assert(static_cast<common::V1_0::Flag>(AMOTION_EVENT_FLAG_IS_GENERATED_GESTURE) == in getFlags()
112 common::V1_0::Flag::IS_GENERATED_GESTURE); in getFlags()
113 static_assert(static_cast<common::V1_0::Flag>(AMOTION_EVENT_FLAG_TAINTED) == in getFlags()
114 common::V1_0::Flag::TAINTED); in getFlags()
115 return static_cast<hidl_bitfield<common::V1_0::Flag>>(flags); in getFlags()
118 static hidl_bitfield<common::V1_0::PolicyFlag> getPolicyFlags(int32_t flags) { in getPolicyFlags()
119 static_assert(static_cast<common::V1_0::PolicyFlag>(POLICY_FLAG_WAKE) == in getPolicyFlags()
120 common::V1_0::PolicyFlag::WAKE); in getPolicyFlags()
121 static_assert(static_cast<common::V1_0::PolicyFlag>(POLICY_FLAG_VIRTUAL) == in getPolicyFlags()
122 common::V1_0::PolicyFlag::VIRTUAL); in getPolicyFlags()
123 static_assert(static_cast<common::V1_0::PolicyFlag>(POLICY_FLAG_FUNCTION) == in getPolicyFlags()
124 common::V1_0::PolicyFlag::FUNCTION); in getPolicyFlags()
125 static_assert(static_cast<common::V1_0::PolicyFlag>(POLICY_FLAG_GESTURE) == in getPolicyFlags()
126 common::V1_0::PolicyFlag::GESTURE); in getPolicyFlags()
127 static_assert(static_cast<common::V1_0::PolicyFlag>(POLICY_FLAG_INJECTED) == in getPolicyFlags()
128 common::V1_0::PolicyFlag::INJECTED); in getPolicyFlags()
129 static_assert(static_cast<common::V1_0::PolicyFlag>(POLICY_FLAG_TRUSTED) == in getPolicyFlags()
130 common::V1_0::PolicyFlag::TRUSTED); in getPolicyFlags()
131 static_assert(static_cast<common::V1_0::PolicyFlag>(POLICY_FLAG_FILTERED) == in getPolicyFlags()
132 common::V1_0::PolicyFlag::FILTERED); in getPolicyFlags()
133 static_assert(static_cast<common::V1_0::PolicyFlag>(POLICY_FLAG_DISABLE_KEY_REPEAT) == in getPolicyFlags()
134 common::V1_0::PolicyFlag::DISABLE_KEY_REPEAT); in getPolicyFlags()
135 static_assert(static_cast<common::V1_0::PolicyFlag>(POLICY_FLAG_INTERACTIVE) == in getPolicyFlags()
136 common::V1_0::PolicyFlag::INTERACTIVE); in getPolicyFlags()
137 static_assert(static_cast<common::V1_0::PolicyFlag>(POLICY_FLAG_PASS_TO_USER) == in getPolicyFlags()
138 common::V1_0::PolicyFlag::PASS_TO_USER); in getPolicyFlags()
139 return static_cast<hidl_bitfield<common::V1_0::PolicyFlag>>(flags); in getPolicyFlags()
142 static hidl_bitfield<common::V1_0::EdgeFlag> getEdgeFlags(int32_t flags) { in getEdgeFlags()
143 static_assert(static_cast<common::V1_0::EdgeFlag>(AMOTION_EVENT_EDGE_FLAG_NONE) == in getEdgeFlags()
144 common::V1_0::EdgeFlag::NONE); in getEdgeFlags()
145 static_assert(static_cast<common::V1_0::EdgeFlag>(AMOTION_EVENT_EDGE_FLAG_TOP) == in getEdgeFlags()
146 common::V1_0::EdgeFlag::TOP); in getEdgeFlags()
147 static_assert(static_cast<common::V1_0::EdgeFlag>(AMOTION_EVENT_EDGE_FLAG_BOTTOM) == in getEdgeFlags()
148 common::V1_0::EdgeFlag::BOTTOM); in getEdgeFlags()
149 static_assert(static_cast<common::V1_0::EdgeFlag>(AMOTION_EVENT_EDGE_FLAG_LEFT) == in getEdgeFlags()
150 common::V1_0::EdgeFlag::LEFT); in getEdgeFlags()
151 static_assert(static_cast<common::V1_0::EdgeFlag>(AMOTION_EVENT_EDGE_FLAG_RIGHT) == in getEdgeFlags()
152 common::V1_0::EdgeFlag::RIGHT); in getEdgeFlags()
153 return static_cast<hidl_bitfield<common::V1_0::EdgeFlag>>(flags); in getEdgeFlags()
156 static hidl_bitfield<common::V1_0::Meta> getMetastate(int32_t state) { in getMetastate()
157 static_assert(static_cast<common::V1_0::Meta>(AMETA_NONE) == in getMetastate()
158 common::V1_0::Meta::NONE); in getMetastate()
159 static_assert(static_cast<common::V1_0::Meta>(AMETA_ALT_ON) == in getMetastate()
160 common::V1_0::Meta::ALT_ON); in getMetastate()
161 static_assert(static_cast<common::V1_0::Meta>(AMETA_ALT_LEFT_ON) == in getMetastate()
162 common::V1_0::Meta::ALT_LEFT_ON); in getMetastate()
163 static_assert(static_cast<common::V1_0::Meta>(AMETA_ALT_RIGHT_ON) == in getMetastate()
164 common::V1_0::Meta::ALT_RIGHT_ON); in getMetastate()
165 static_assert(static_cast<common::V1_0::Meta>(AMETA_SHIFT_ON) == in getMetastate()
166 common::V1_0::Meta::SHIFT_ON); in getMetastate()
167 static_assert(static_cast<common::V1_0::Meta>(AMETA_SHIFT_LEFT_ON) == in getMetastate()
168 common::V1_0::Meta::SHIFT_LEFT_ON); in getMetastate()
169 static_assert(static_cast<common::V1_0::Meta>(AMETA_SHIFT_RIGHT_ON) == in getMetastate()
170 common::V1_0::Meta::SHIFT_RIGHT_ON); in getMetastate()
171 static_assert(static_cast<common::V1_0::Meta>(AMETA_SYM_ON) == in getMetastate()
172 common::V1_0::Meta::SYM_ON); in getMetastate()
173 static_assert(static_cast<common::V1_0::Meta>(AMETA_FUNCTION_ON) == in getMetastate()
174 common::V1_0::Meta::FUNCTION_ON); in getMetastate()
175 static_assert(static_cast<common::V1_0::Meta>(AMETA_CTRL_ON) == in getMetastate()
176 common::V1_0::Meta::CTRL_ON); in getMetastate()
177 static_assert(static_cast<common::V1_0::Meta>(AMETA_CTRL_LEFT_ON) == in getMetastate()
178 common::V1_0::Meta::CTRL_LEFT_ON); in getMetastate()
179 static_assert(static_cast<common::V1_0::Meta>(AMETA_CTRL_RIGHT_ON) == in getMetastate()
180 common::V1_0::Meta::CTRL_RIGHT_ON); in getMetastate()
181 static_assert(static_cast<common::V1_0::Meta>(AMETA_META_ON) == in getMetastate()
182 common::V1_0::Meta::META_ON); in getMetastate()
183 static_assert(static_cast<common::V1_0::Meta>(AMETA_META_LEFT_ON) == in getMetastate()
184 common::V1_0::Meta::META_LEFT_ON); in getMetastate()
185 static_assert(static_cast<common::V1_0::Meta>(AMETA_META_RIGHT_ON) == in getMetastate()
186 common::V1_0::Meta::META_RIGHT_ON); in getMetastate()
187 static_assert(static_cast<common::V1_0::Meta>(AMETA_CAPS_LOCK_ON) == in getMetastate()
188 common::V1_0::Meta::CAPS_LOCK_ON); in getMetastate()
189 static_assert(static_cast<common::V1_0::Meta>(AMETA_NUM_LOCK_ON) == in getMetastate()
190 common::V1_0::Meta::NUM_LOCK_ON); in getMetastate()
191 static_assert(static_cast<common::V1_0::Meta>(AMETA_SCROLL_LOCK_ON) == in getMetastate()
192 common::V1_0::Meta::SCROLL_LOCK_ON); in getMetastate()
193 return static_cast<hidl_bitfield<common::V1_0::Meta>>(state); in getMetastate()
196 static hidl_bitfield<common::V1_0::Button> getButtonState(int32_t buttonState) { in getButtonState()
199 return static_cast<hidl_bitfield<common::V1_0::Button>>(buttonState); in getButtonState()
202 static common::V1_0::ToolType getToolType(int32_t toolType) { in getToolType()
203 static_assert(static_cast<common::V1_0::ToolType>(AMOTION_EVENT_TOOL_TYPE_UNKNOWN) == in getToolType()
204 common::V1_0::ToolType::UNKNOWN); in getToolType()
205 static_assert(static_cast<common::V1_0::ToolType>(AMOTION_EVENT_TOOL_TYPE_FINGER) == in getToolType()
206 common::V1_0::ToolType::FINGER); in getToolType()
207 static_assert(static_cast<common::V1_0::ToolType>(AMOTION_EVENT_TOOL_TYPE_STYLUS) == in getToolType()
208 common::V1_0::ToolType::STYLUS); in getToolType()
209 static_assert(static_cast<common::V1_0::ToolType>(AMOTION_EVENT_TOOL_TYPE_MOUSE) == in getToolType()
210 common::V1_0::ToolType::MOUSE); in getToolType()
211 static_assert(static_cast<common::V1_0::ToolType>(AMOTION_EVENT_TOOL_TYPE_ERASER) == in getToolType()
212 common::V1_0::ToolType::ERASER); in getToolType()
213 return static_cast<common::V1_0::ToolType>(toolType); in getToolType()
217 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_X) ==
218 common::V1_0::Axis::X);
219 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_Y) ==
220 common::V1_0::Axis::Y);
221 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_PRESSURE) ==
222 common::V1_0::Axis::PRESSURE);
223 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_SIZE) ==
224 common::V1_0::Axis::SIZE);
225 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_TOUCH_MAJOR) ==
226 common::V1_0::Axis::TOUCH_MAJOR);
227 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_TOUCH_MINOR) ==
228 common::V1_0::Axis::TOUCH_MINOR);
229 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_TOOL_MAJOR) ==
230 common::V1_0::Axis::TOOL_MAJOR);
231 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_TOOL_MINOR) ==
232 common::V1_0::Axis::TOOL_MINOR);
233 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_ORIENTATION) ==
234 common::V1_0::Axis::ORIENTATION);
235 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_VSCROLL) ==
236 common::V1_0::Axis::VSCROLL);
237 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_HSCROLL) ==
238 common::V1_0::Axis::HSCROLL);
239 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_Z) ==
240 common::V1_0::Axis::Z);
241 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_RX) ==
242 common::V1_0::Axis::RX);
243 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_RY) ==
244 common::V1_0::Axis::RY);
245 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_RZ) ==
246 common::V1_0::Axis::RZ);
247 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_HAT_X) ==
248 common::V1_0::Axis::HAT_X);
249 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_HAT_Y) ==
250 common::V1_0::Axis::HAT_Y);
251 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_LTRIGGER) ==
252 common::V1_0::Axis::LTRIGGER);
253 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_RTRIGGER) ==
254 common::V1_0::Axis::RTRIGGER);
255 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_THROTTLE) ==
256 common::V1_0::Axis::THROTTLE);
257 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_RUDDER) ==
258 common::V1_0::Axis::RUDDER);
259 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_WHEEL) ==
260 common::V1_0::Axis::WHEEL);
261 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_GAS) ==
262 common::V1_0::Axis::GAS);
263 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_BRAKE) ==
264 common::V1_0::Axis::BRAKE);
265 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_DISTANCE) ==
266 common::V1_0::Axis::DISTANCE);
267 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_TILT) ==
268 common::V1_0::Axis::TILT);
269 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_SCROLL) ==
270 common::V1_0::Axis::SCROLL);
271 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_RELATIVE_X) ==
272 common::V1_0::Axis::RELATIVE_X);
273 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_RELATIVE_Y) ==
274 common::V1_0::Axis::RELATIVE_Y);
275 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_GENERIC_1) ==
276 common::V1_0::Axis::GENERIC_1);
277 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_GENERIC_2) ==
278 common::V1_0::Axis::GENERIC_2);
279 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_GENERIC_3) ==
280 common::V1_0::Axis::GENERIC_3);
281 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_GENERIC_4) ==
282 common::V1_0::Axis::GENERIC_4);
283 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_GENERIC_5) ==
284 common::V1_0::Axis::GENERIC_5);
285 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_GENERIC_6) ==
286 common::V1_0::Axis::GENERIC_6);
287 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_GENERIC_7) ==
288 common::V1_0::Axis::GENERIC_7);
289 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_GENERIC_8) ==
290 common::V1_0::Axis::GENERIC_8);
291 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_GENERIC_9) ==
292 common::V1_0::Axis::GENERIC_9);
293 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_GENERIC_10) ==
294 common::V1_0::Axis::GENERIC_10);
295 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_GENERIC_11) ==
296 common::V1_0::Axis::GENERIC_11);
297 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_GENERIC_12) ==
298 common::V1_0::Axis::GENERIC_12);
299 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_GENERIC_13) ==
300 common::V1_0::Axis::GENERIC_13);
301 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_GENERIC_14) ==
302 common::V1_0::Axis::GENERIC_14);
303 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_GENERIC_15) ==
304 common::V1_0::Axis::GENERIC_15);
305 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_GENERIC_16) ==
306 common::V1_0::Axis::GENERIC_16);
308 static common::V1_0::VideoFrame getHalVideoFrame(const TouchVideoFrame& frame) { in getHalVideoFrame()
309 common::V1_0::VideoFrame out; in getHalVideoFrame()
319 static std::vector<common::V1_0::VideoFrame> convertVideoFrames( in convertVideoFrames()
321 std::vector<common::V1_0::VideoFrame> out; in convertVideoFrames()
334 std::vector<common::V1_0::PointerProperties>* outPointerProperties, in getHidlPropertiesAndCoords()
335 std::vector<common::V1_0::PointerCoords>* outPointerCoords) { in getHidlPropertiesAndCoords()
339 common::V1_0::PointerProperties properties; in getHidlPropertiesAndCoords()
344 common::V1_0::PointerCoords coords; in getHidlPropertiesAndCoords()
354 common::V1_0::MotionEvent notifyMotionArgsToHalMotionEvent(const NotifyMotionArgs& args) { in notifyMotionArgsToHalMotionEvent()
355 common::V1_0::MotionEvent event; in notifyMotionArgsToHalMotionEvent()
372 std::vector<common::V1_0::PointerProperties> pointerProperties; in notifyMotionArgsToHalMotionEvent()
373 std::vector<common::V1_0::PointerCoords> pointerCoords; in notifyMotionArgsToHalMotionEvent()