Lines Matching refs:motionEntry
376 MotionEntry* typedEntry = static_cast<MotionEntry*>(mPendingEvent);
441 MotionEntry* motionEntry = static_cast<MotionEntry*>(entry);
442 if (motionEntry->action == AMOTION_EVENT_ACTION_DOWN
443 && (motionEntry->source & AINPUT_SOURCE_CLASS_POINTER)
446 int32_t displayId = motionEntry->displayId;
447 int32_t x = int32_t(motionEntry->pointerCoords[0].
449 int32_t y = int32_t(motionEntry->pointerCoords[0].
457 mNextUnblockedEvent = motionEntry;
542 MotionEntry* motionEntry = static_cast<MotionEntry*>(entry);
543 if (motionEntry->source & AINPUT_SOURCE_CLASS_POINTER) {
825 nsecs_t currentTime, MotionEntry* entry, DropReason* dropReason, nsecs_t* nextWakeupTime) {
888 MotionEntry* entry) {
1132 const MotionEntry* entry, Vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime,
1775 const MotionEntry* motionEntry = static_cast<const MotionEntry*>(eventEntry);
1776 if (motionEntry->action == AMOTION_EVENT_ACTION_CANCEL) {
1780 if (MotionEvent::isTouchEvent(motionEntry->source, motionEntry->action)) {
1826 MotionEntry* originalMotionEntry = static_cast<MotionEntry*>(eventEntry);
1828 MotionEntry* splitMotionEntry = splitMotionEvent(
1908 MotionEntry* motionEntry = static_cast<MotionEntry*>(eventEntry);
1920 dispatchEntry->resolvedAction = motionEntry->action;
1924 motionEntry->deviceId, motionEntry->source, motionEntry->displayId)) {
1932 dispatchEntry->resolvedFlags = motionEntry->flags;
1940 if (!connection->inputState.trackMotion(motionEntry,
1993 MotionEntry* motionEntry = static_cast<MotionEntry*>(eventEntry);
1996 const PointerCoords* usingCoords = motionEntry->pointerCoords;
2000 if ((motionEntry->source & AINPUT_SOURCE_CLASS_POINTER)
2006 for (uint32_t i = 0; i < motionEntry->pointerCount; i++) {
2007 scaledCoords[i] = motionEntry->pointerCoords[i];
2019 for (uint32_t i = 0; i < motionEntry->pointerCount; i++) {
2028 motionEntry->deviceId, motionEntry->source,
2029 dispatchEntry->resolvedAction, motionEntry->actionButton,
2030 dispatchEntry->resolvedFlags, motionEntry->edgeFlags,
2031 motionEntry->metaState, motionEntry->buttonState,
2032 xOffset, yOffset, motionEntry->xPrecision, motionEntry->yPrecision,
2033 motionEntry->downTime, motionEntry->eventTime,
2034 motionEntry->pointerCount, motionEntry->pointerProperties,
2252 static_cast<MotionEntry*>(cancelationEventEntry));
2281 InputDispatcher::MotionEntry*
2282 InputDispatcher::splitMotionEvent(const MotionEntry* originalMotionEntry, BitSet32 pointerIds) {
2347 MotionEntry* splitMotionEntry = new MotionEntry(
2543 MotionEntry* newEntry = new MotionEntry(args->eventTime,
2660 firstInjectedEntry = new MotionEntry(*sampleEventTimes,
2673 MotionEntry* nextInjectedEntry = new MotionEntry(*sampleEventTimes,
3582 MotionEntry* motionEntry = static_cast<MotionEntry*>(dispatchEntry->eventEntry);
3584 dispatchEntry, motionEntry, handled);
3782 DispatchEntry* dispatchEntry, MotionEntry* motionEntry, bool handled) {
3964 // --- InputDispatcher::MotionEntry ---
3966 InputDispatcher::MotionEntry::MotionEntry(nsecs_t eventTime, int32_t deviceId,
3988 InputDispatcher::MotionEntry::~MotionEntry() {
3991 void InputDispatcher::MotionEntry::appendDescription(String8& msg) const {
4112 bool InputDispatcher::InputState::trackMotion(const MotionEntry* entry,
4225 ssize_t InputDispatcher::InputState::findMotionMemento(const MotionEntry* entry,
4252 void InputDispatcher::InputState::addMotionMemento(const MotionEntry* entry,
4268 void InputDispatcher::InputState::MotionMemento::setPointers(const MotionEntry* entry) {
4291 outEvents.push(new MotionEntry(currentTime,