Lines Matching refs:parcel

148 status_t PointerCoords::readFromParcel(Parcel* parcel) {
149 bits = parcel->readInt64();
157 values[i] = parcel->readFloat();
162 status_t PointerCoords::writeToParcel(Parcel* parcel) const {
163 parcel->writeInt64(bits);
167 parcel->writeFloat(values[i]);
424 status_t MotionEvent::readFromParcel(Parcel* parcel) {
425 size_t pointerCount = parcel->readInt32();
426 size_t sampleCount = parcel->readInt32();
432 mDeviceId = parcel->readInt32();
433 mSource = parcel->readInt32();
434 mAction = parcel->readInt32();
435 mActionButton = parcel->readInt32();
436 mFlags = parcel->readInt32();
437 mEdgeFlags = parcel->readInt32();
438 mMetaState = parcel->readInt32();
439 mButtonState = parcel->readInt32();
440 mXOffset = parcel->readFloat();
441 mYOffset = parcel->readFloat();
442 mXPrecision = parcel->readFloat();
443 mYPrecision = parcel->readFloat();
444 mDownTime = parcel->readInt64();
456 properties.id = parcel->readInt32();
457 properties.toolType = parcel->readInt32();
462 mSampleEventTimes.push(parcel->readInt64());
465 status_t status = mSamplePointerCoords.editTop().readFromParcel(parcel);
474 status_t MotionEvent::writeToParcel(Parcel* parcel) const {
478 parcel->writeInt32(pointerCount);
479 parcel->writeInt32(sampleCount);
481 parcel->writeInt32(mDeviceId);
482 parcel->writeInt32(mSource);
483 parcel->writeInt32(mAction);
484 parcel->writeInt32(mActionButton);
485 parcel->writeInt32(mFlags);
486 parcel->writeInt32(mEdgeFlags);
487 parcel->writeInt32(mMetaState);
488 parcel->writeInt32(mButtonState);
489 parcel->writeFloat(mXOffset);
490 parcel->writeFloat(mYOffset);
491 parcel->writeFloat(mXPrecision);
492 parcel->writeFloat(mYPrecision);
493 parcel->writeInt64(mDownTime);
497 parcel->writeInt32(properties.id);
498 parcel->writeInt32(properties.toolType);
503 parcel->writeInt64(mSampleEventTimes.itemAt(h));
505 status_t status = (pc++)->writeToParcel(parcel);