Lines Matching refs:InputMessage
35 CHECK_OFFSET(InputMessage, body, 8); in TestInputMessageAlignment()
37 CHECK_OFFSET(InputMessage::Body::Key, seq, 0); in TestInputMessageAlignment()
38 CHECK_OFFSET(InputMessage::Body::Key, eventId, 4); in TestInputMessageAlignment()
39 CHECK_OFFSET(InputMessage::Body::Key, eventTime, 8); in TestInputMessageAlignment()
40 CHECK_OFFSET(InputMessage::Body::Key, deviceId, 16); in TestInputMessageAlignment()
41 CHECK_OFFSET(InputMessage::Body::Key, source, 20); in TestInputMessageAlignment()
42 CHECK_OFFSET(InputMessage::Body::Key, displayId, 24); in TestInputMessageAlignment()
43 CHECK_OFFSET(InputMessage::Body::Key, hmac, 28); in TestInputMessageAlignment()
44 CHECK_OFFSET(InputMessage::Body::Key, action, 60); in TestInputMessageAlignment()
45 CHECK_OFFSET(InputMessage::Body::Key, flags, 64); in TestInputMessageAlignment()
46 CHECK_OFFSET(InputMessage::Body::Key, keyCode, 68); in TestInputMessageAlignment()
47 CHECK_OFFSET(InputMessage::Body::Key, scanCode, 72); in TestInputMessageAlignment()
48 CHECK_OFFSET(InputMessage::Body::Key, metaState, 76); in TestInputMessageAlignment()
49 CHECK_OFFSET(InputMessage::Body::Key, repeatCount, 80); in TestInputMessageAlignment()
50 CHECK_OFFSET(InputMessage::Body::Key, downTime, 88); in TestInputMessageAlignment()
52 CHECK_OFFSET(InputMessage::Body::Motion, seq, 0); in TestInputMessageAlignment()
53 CHECK_OFFSET(InputMessage::Body::Motion, eventId, 4); in TestInputMessageAlignment()
54 CHECK_OFFSET(InputMessage::Body::Motion, eventTime, 8); in TestInputMessageAlignment()
55 CHECK_OFFSET(InputMessage::Body::Motion, deviceId, 16); in TestInputMessageAlignment()
56 CHECK_OFFSET(InputMessage::Body::Motion, source, 20); in TestInputMessageAlignment()
57 CHECK_OFFSET(InputMessage::Body::Motion, displayId, 24); in TestInputMessageAlignment()
58 CHECK_OFFSET(InputMessage::Body::Motion, hmac, 28); in TestInputMessageAlignment()
59 CHECK_OFFSET(InputMessage::Body::Motion, action, 60); in TestInputMessageAlignment()
60 CHECK_OFFSET(InputMessage::Body::Motion, actionButton, 64); in TestInputMessageAlignment()
61 CHECK_OFFSET(InputMessage::Body::Motion, flags, 68); in TestInputMessageAlignment()
62 CHECK_OFFSET(InputMessage::Body::Motion, metaState, 72); in TestInputMessageAlignment()
63 CHECK_OFFSET(InputMessage::Body::Motion, buttonState, 76); in TestInputMessageAlignment()
64 CHECK_OFFSET(InputMessage::Body::Motion, classification, 80); in TestInputMessageAlignment()
65 CHECK_OFFSET(InputMessage::Body::Motion, edgeFlags, 84); in TestInputMessageAlignment()
66 CHECK_OFFSET(InputMessage::Body::Motion, downTime, 88); in TestInputMessageAlignment()
67 CHECK_OFFSET(InputMessage::Body::Motion, xScale, 96); in TestInputMessageAlignment()
68 CHECK_OFFSET(InputMessage::Body::Motion, yScale, 100); in TestInputMessageAlignment()
69 CHECK_OFFSET(InputMessage::Body::Motion, xOffset, 104); in TestInputMessageAlignment()
70 CHECK_OFFSET(InputMessage::Body::Motion, yOffset, 108); in TestInputMessageAlignment()
71 CHECK_OFFSET(InputMessage::Body::Motion, xPrecision, 112); in TestInputMessageAlignment()
72 CHECK_OFFSET(InputMessage::Body::Motion, yPrecision, 116); in TestInputMessageAlignment()
73 CHECK_OFFSET(InputMessage::Body::Motion, xCursorPosition, 120); in TestInputMessageAlignment()
74 CHECK_OFFSET(InputMessage::Body::Motion, yCursorPosition, 124); in TestInputMessageAlignment()
75 CHECK_OFFSET(InputMessage::Body::Motion, pointerCount, 128); in TestInputMessageAlignment()
76 CHECK_OFFSET(InputMessage::Body::Motion, pointers, 136); in TestInputMessageAlignment()
78 CHECK_OFFSET(InputMessage::Body::Focus, seq, 0); in TestInputMessageAlignment()
79 CHECK_OFFSET(InputMessage::Body::Focus, eventId, 4); in TestInputMessageAlignment()
80 CHECK_OFFSET(InputMessage::Body::Focus, hasFocus, 12); in TestInputMessageAlignment()
81 CHECK_OFFSET(InputMessage::Body::Focus, inTouchMode, 14); in TestInputMessageAlignment()
83 CHECK_OFFSET(InputMessage::Body::Finished, seq, 0); in TestInputMessageAlignment()
84 CHECK_OFFSET(InputMessage::Body::Finished, handled, 4); in TestInputMessageAlignment()
88 static_assert(sizeof(InputMessage::Header) == 8); in TestHeaderSize()
96 static_assert(sizeof(InputMessage::Body::Key) == 96); in TestBodySize()
97 static_assert(sizeof(InputMessage::Body::Motion) == in TestBodySize()
98 offsetof(InputMessage::Body::Motion, pointers) + in TestBodySize()
99 sizeof(InputMessage::Body::Motion::Pointer) * MAX_POINTERS); in TestBodySize()
100 static_assert(sizeof(InputMessage::Body::Finished) == 8); in TestBodySize()
101 static_assert(sizeof(InputMessage::Body::Focus) == 16); in TestBodySize()