Lines Matching defs:Motion
112 struct Motion { struct
113 int32_t eventId;
114 uint32_t empty1;
115 nsecs_t eventTime __attribute__((aligned(8)));
116 int32_t deviceId;
117 int32_t source;
118 int32_t displayId;
119 std::array<uint8_t, 32> hmac;
120 int32_t action;
121 int32_t actionButton;
122 int32_t flags;
123 int32_t metaState;
124 int32_t buttonState;
125 MotionClassification classification; // base type: uint8_t
126 uint8_t empty2[3]; // 3 bytes to fill gap created by classification
127 int32_t edgeFlags;
128 nsecs_t downTime __attribute__((aligned(8)));
129 float dsdx;
130 float dtdx;
131 float dtdy;
132 float dsdy;
133 float tx;
134 float ty;
135 float xPrecision;
136 float yPrecision;
137 float xCursorPosition;
138 float yCursorPosition;
139 uint32_t displayOrientation;
140 int32_t displayWidth;
141 int32_t displayHeight;
142 uint32_t pointerCount;
149 struct Pointer {
152 } pointers[MAX_POINTERS] __attribute__((aligned(8)));
154 int32_t getActionId() const { in getActionId()
160 inline size_t size() const { in size()