Lines Matching refs:event
121 void InitializeFrom(std::shared_ptr<PointerEvent> event)
123 actionTime = event->GetActionTime();
124 deviceId = event->GetDeviceId();
125 sourceType = event->GetSourceType();
126 pointerAction = event->GetPointerAction();
127 eventId = event->GetId();
129 std::vector<int32_t> pointerIds = event->GetPointerIds();
133 if (event->GetPointerItem(it, item)) {
155 void InitializeFrom(const MotionEvent &event)
157 actionTime = event.actionTime;
158 for (auto &it : event.pointers) {
205 void AddHistory(const MotionEvent &event)
211 history[historyCurrent].InitializeFrom(event);
246 void EventDump(const char *msg, MotionEvent &event);
252 void AddSample(MotionEvent* outEvent, const MotionEvent* event);
253 void UpdateTouchState(MotionEvent &event);
254 void ResampleTouchState(int64_t sampleTime, MotionEvent* event, const MotionEvent* next);
255 void ResampleCoordinates(int64_t sampleTime, MotionEvent* event, TouchState &touchState,
259 bool CanAddSample(const Batch &batch, MotionEvent &event);
260 void RewriteMessage(TouchState& state, MotionEvent &event);