/**
  * Creates a {@link Parcel} object from this DragEvent object.
  *
  * @param dest A {@link Parcel} object in which to put the DragEvent object.
  * @param flags Flags to store in the Parcel.
  */
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeInt(mAction);
   dest.writeFloat(mX);
   dest.writeFloat(mY);
   dest.writeInt(mDragResult ? 1 : 0);
   if (mClipData == null) {
     dest.writeInt(0);
   } else {
     dest.writeInt(1);
     mClipData.writeToParcel(dest, flags);
   }
   if (mClipDescription == null) {
     dest.writeInt(0);
   } else {
     dest.writeInt(1);
     mClipDescription.writeToParcel(dest, flags);
   }
 }