Lines Matching refs:MotionEvent
38 MotionEvent* outEvent = nullptr;
90 void EventResample::EventDump(const char *msg, MotionEvent &event)
133 MotionEvent event;
150 bool EventResample::UpdateBatch(MotionEvent** outEvent, ErrCode &result)
174 void EventResample::UpdatePointerEvent(MotionEvent* outEvent)
235 ErrCode EventResample::ConsumeBatch(int64_t frameTime, MotionEvent** outEvent)
257 const MotionEvent* next;
265 ResampleTouchState(sampleTime, static_cast<MotionEvent*>(*outEvent), next);
273 ErrCode EventResample::ConsumeSamples(Batch& batch, size_t count, MotionEvent** outEvent)
278 MotionEvent& event = batch.samples.at(i);
293 void EventResample::AddSample(MotionEvent* outEvent, const MotionEvent* event)
301 void EventResample::UpdateTouchState(MotionEvent &event)
346 void EventResample::ResampleTouchState(int64_t sampleTime, MotionEvent* event, const MotionEvent* next)
408 void EventResample::ResampleCoordinates(int64_t sampleTime, MotionEvent* event, TouchState &touchState,
447 const MotionEvent& head = it->samples.at(0);
466 bool EventResample::CanAddSample(const Batch &batch, MotionEvent &event)
468 const MotionEvent& head = batch.samples.at(0);
478 void EventResample::RewriteMessage(TouchState& state, MotionEvent &event)