HomeSort by relevance Sort by last modified time
    Searched refs:SampleData (Results 1 - 2 of 2) sorted by null

  /frameworks/base/include/ui/
InputTransport.h 115 struct SampleData {
149 SampleData sampleData[0]; // variable length
153 /* Gets the number of bytes to add to step to the next SampleData object in a motion
157 return sizeof(InputMessage::SampleData) + pointerCount * sizeof(PointerCoords);
160 /* Adds the SampleData stride to the given pointer. */
161 static inline SampleData* sampleDataPtrIncrement(SampleData* ptr, size_t stride) {
162 return reinterpret_cast<InputMessage::SampleData*>(reinterpret_cast<char*>(ptr) + stride);
273 InputMessage::SampleData* mMotionEventSampleDataTail
    [all...]
  /frameworks/base/libs/ui/
InputTransport.cpp 36 * (sizeof(InputMessage::SampleData) + MAX_POINTERS * sizeof(PointerCoords)),
416 mSharedMessage->motion.sampleData[0].eventTime = eventTime;
420 mSharedMessage->motion.sampleData[0].coords[i].copyFrom(pointerCoords[i]);
431 mSharedMessage->motion.sampleData, mMotionEventSampleDataStride);
453 InputMessage::SampleData* newTail = InputMessage::sampleDataPtrIncrement(
709 mSharedMessage->motion.sampleData[0].eventTime,
712 mSharedMessage->motion.sampleData[0].coords);
716 InputMessage::SampleData* sampleData = mSharedMessage->motion.sampleData;
    [all...]

Completed in 358 milliseconds