Lines Matching refs:InputMessage
97 bool InputMessage::isValid(size_t actualSize) const { in isValid()
113 size_t InputMessage::size() const { in size()
131 void InputMessage::getSanitizedCopy(InputMessage* msg) const { in getSanitizedCopy()
139 case InputMessage::Type::KEY: { in getSanitizedCopy()
170 case InputMessage::Type::MOTION: { in getSanitizedCopy()
234 case InputMessage::Type::FINISHED: { in getSanitizedCopy()
239 case InputMessage::Type::FOCUS: { in getSanitizedCopy()
305 status_t InputChannel::sendMessage(const InputMessage* msg) { in sendMessage()
307 InputMessage cleanMsg; in sendMessage()
343 status_t InputChannel::receiveMessage(InputMessage* msg) { in receiveMessage()
346 nRead = ::recv(mFd.get(), msg, sizeof(InputMessage), MSG_DONTWAIT); in receiveMessage()
464 InputMessage msg; in publishKeyEvent()
465 msg.header.type = InputMessage::Type::KEY; in publishKeyEvent()
522 InputMessage msg; in publishMotionEvent()
523 msg.header.type = InputMessage::Type::MOTION; in publishMotionEvent()
566 InputMessage msg; in publishFocusEvent()
567 msg.header.type = InputMessage::Type::FOCUS; in publishFocusEvent()
580 InputMessage msg; in receiveFinishedSignal()
587 if (msg.header.type != InputMessage::Type::FINISHED) { in receiveFinishedSignal()
648 case InputMessage::Type::KEY: { in consume()
662 case InputMessage::Type::MOTION: { in consume()
678 const InputMessage& msg = batch.samples.itemAt(i); in consume()
730 case InputMessage::Type::FINISHED: { in consume()
736 case InputMessage::Type::FOCUS: { in consume()
772 const InputMessage* next; in consumeBatch()
795 InputMessage& msg = batch.samples.editItemAt(i); in consumeSamples()
815 void InputConsumer::updateTouchState(InputMessage& msg) { in updateTouchState()
902 void InputConsumer::rewriteMessage(TouchState& state, InputMessage& msg) { in rewriteMessage()
926 const InputMessage* next) { in resampleTouchState()
1118 InputMessage msg; in sendUnchainedFinishedSignal()
1119 msg.header.type = InputMessage::Type::FINISHED; in sendUnchainedFinishedSignal()
1139 const InputMessage& head = batch.samples.itemAt(0); in getPendingBatchSource()
1146 const InputMessage& head = batch.samples.itemAt(0); in findBatch()
1164 void InputConsumer::initializeKeyEvent(KeyEvent* event, const InputMessage* msg) { in initializeKeyEvent()
1172 void InputConsumer::initializeFocusEvent(FocusEvent* event, const InputMessage* msg) { in initializeFocusEvent()
1177 void InputConsumer::initializeMotionEvent(MotionEvent* event, const InputMessage* msg) { in initializeMotionEvent()
1198 void InputConsumer::addSample(MotionEvent* event, const InputMessage* msg) { in addSample()
1209 bool InputConsumer::canAddSample(const Batch& batch, const InputMessage *msg) { in canAddSample()
1210 const InputMessage& head = batch.samples.itemAt(0); in canAddSample()