Ejemplo n.º 1
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeInt(this.id);
   dest.writeString(this.title);
   dest.writeString(this.description);
   dest.writeString(this.artistName);
   dest.writeString(this.posterPic);
   dest.writeString(this.thumbnailPic);
   dest.writeString(this.albumImg);
   dest.writeString(this.regdate);
   dest.writeString(this.videoSourceTypeName);
   dest.writeInt(this.totalViews);
   dest.writeInt(this.totalPcViews);
   dest.writeInt(this.totalMobileViews);
   dest.writeInt(this.totalComments);
   dest.writeString(this.url);
   dest.writeString(this.hdUrl);
   dest.writeString(this.uhdUrl);
   dest.writeString(this.shdUrl);
   dest.writeLong(this.videoSize);
   dest.writeLong(this.hdVideoSize);
   dest.writeLong(this.uhdVideoSize);
   dest.writeLong(this.shdVideoSize);
   dest.writeInt(this.duration);
   dest.writeInt(this.status);
   dest.writeInt(this.linkId);
   dest.writeString(this.playListPic);
   dest.writeByte(this.favorite ? (byte) 1 : (byte) 0);
   dest.writeString(this.pauseImageUrl);
   dest.writeString(this.pauseTraceUrl);
   dest.writeString(this.pauseClickUrl);
   dest.writeList(this.artists);
   dest.writeList(this.relatedVideos);
   dest.writeStringList(this.pauseTraceUrls);
 }
Ejemplo n.º 2
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   toContentValues(false).writeToParcel(dest, flags);
   dest.writeList(mContacts);
   dest.writeList(mBodies);
   dest.writeList(mAttachments);
 }
 public void writeToParcel(Parcel paramParcel, int paramInt) {
   paramParcel.writeList(a);
   paramParcel.writeList(b);
   paramParcel.writeList(c);
   paramParcel.writeValue(d);
   paramParcel.writeValue(e);
   paramParcel.writeInt(f);
   paramParcel.writeIntArray(g);
 }
Ejemplo n.º 4
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeString(homeTeam);
   dest.writeString(awayTeam);
   dest.writeString(wins);
   dest.writeString(losses);
   dest.writeString(draws);
   dest.writeString(goalsMade);
   dest.writeString(goalsTaken);
   dest.writeList(winGames);
   dest.writeList(drawGames);
   dest.writeList(lossGames);
   dest.writeInt(isSerieB ? 1 : 0);
 }
 @Override
 public void writeToParcel(Parcel out, int flags) {
   out.writeList(getPoints());
   out.writeFloat(getAlpha());
   out.writeInt(getColor());
   out.writeFloat(getWidth());
 }
Ejemplo n.º 6
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeByte(this.isHub ? (byte) 1 : (byte) 0);
   dest.writeParcelable(this.occupancyData, flags);
   dest.writeList(this.deviations);
   dest.writeString(this.lineColour);
 }
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeString(id);
   dest.writeString(isEmpty);
   dest.writeString(model_name);
   dest.writeList(list_model);
 }
  @Override
  public void writeToParcel(Parcel dest, int flags) {

    dest.writeList(this.mDataSource);
    dest.writeSerializable(this.locale);
    dest.writeInt(this.mAttachId);
    dest.writeInt(this.mWeekdayLayoutId);
    dest.writeInt(this.mWeekdayViewId);
    dest.writeInt(this.mBackgroundColor);
    dest.writeInt(this.mTextColorSelected);
    dest.writeInt(this.mTextColorUnselected);
    dest.writeInt(this.mSelectedColor);
    dest.writeInt(this.mUnselectedColor);
    dest.writeByte(mIsVisible ? (byte) 1 : (byte) 0);
    dest.writeByte(mFillWidth ? (byte) 1 : (byte) 0);
    dest.writeByte(mIsAllDaysSelected ? (byte) 1 : (byte) 0);
    dest.writeInt(this.mFirstDayOfWeek);
    dest.writeInt(this.mTextDrawableType);
    dest.writeInt(this.mNumberOfLetters);

    dest.writeInt(this.mViewWidth);
    dest.writeInt(this.mViewHeight);
    dest.writeInt(this.mViewMargin);
    dest.writeInt(this.mViewGravity);
    dest.writeInt(this.mLayoutPadding);

    dest.writeByte(mNestedScrollEnable ? (byte) 1 : (byte) 0);
  }
Ejemplo n.º 9
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeValue(this.id);
   dest.writeString(this.name);
   dest.writeString(this.type);
   dest.writeString(this.relegious);
   dest.writeLong(established != null ? established.getTime() : -1);
   dest.writeByte(active ? (byte) 1 : (byte) 0);
   dest.writeValue(this.gradeFrom);
   dest.writeValue(this.gradeTo);
   dest.writeString(this.website);
   dest.writeString(this.gender);
   dest.writeString(this.crestUrl);
   dest.writeString(this.slogan);
   dest.writeString(this.street);
   dest.writeString(this.city);
   dest.writeString(this.state);
   dest.writeString(this.countrycode);
   dest.writeString(this.zip);
   dest.writeValue(this.longitude);
   dest.writeValue(this.latitude);
   dest.writeLong(auCreatedDt != null ? auCreatedDt.getTime() : -1);
   dest.writeLong(auUpdatedDt != null ? auUpdatedDt.getTime() : -1);
   dest.writeList(this.listOfSchoolDetail);
   dest.writeString(this.contactNumber);
   dest.writeString(this.email);
 }
Ejemplo n.º 10
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeString(hash);
   dest.writeString(account_url);
   dest.writeString(title);
   dest.writeInt(score);
   dest.writeInt(starting_score);
   dest.writeFloat(virality);
   dest.writeInt(size);
   dest.writeLong(views);
   dest.writeByte(AndroidUtil.parcelBoolean(is_hot));
   dest.writeByte(AndroidUtil.parcelBoolean(is_album));
   dest.writeString(album_cover);
   dest.writeString(mimetype);
   dest.writeString(ext);
   dest.writeInt(width);
   dest.writeInt(height);
   dest.writeInt(ups);
   dest.writeInt(downs);
   dest.writeInt(points);
   dest.writeString(reddit);
   dest.writeString(bandwidth);
   dest.writeString(timestamp);
   dest.writeString(hot_datetime);
   dest.writeList(images);
 }
 @Override
 public void writeToParcel(Parcel dest, int arg1) {
   dest.writeInt(geometryType);
   dest.writeInt(horizontalAlign);
   dest.writeInt(index);
   dest.writeMap(itemData);
   dest.writeInt(lineColor);
   dest.writeInt(lineWidth);
   dest.writeString(mapItemClass);
   dest.writeInt(offsetX);
   dest.writeInt(offsetY);
   dest.writeInt(symbol);
   dest.writeInt(verticalAlign);
   dest.writeString(query);
   dest.writeList(mapPoints);
   dest.writeList(contents);
 }
Ejemplo n.º 12
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   // dest.writeParcelableArray(questions.toArray(new Question[questions.size()]), flags);
   dest.writeList(questions);
   dest.writeString(description);
   dest.writeString(roomName);
   dest.writeString(roomID);
 }
Ejemplo n.º 13
0
 public static void writeListToParcel(Parcel out, List<?> collection) {
   if (collection != null) {
     out.writeInt(EXIST_SEPARATOR);
     out.writeList(collection);
   } else {
     out.writeInt(NON_SEPARATOR);
   }
 }
Ejemplo n.º 14
0
 public static <T extends List<?>> void writeToParcel(Parcel out, T model) {
   if (model != null) {
     out.writeInt(EXIST_SEPARATOR);
     out.writeList(model);
   } else {
     out.writeInt(NON_SEPARATOR);
   }
 }
Ejemplo n.º 15
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   if (countries == null) {
     dest.writeByte((byte) (0x00));
   } else {
     dest.writeByte((byte) (0x01));
     dest.writeList(countries);
   }
 }
Ejemplo n.º 16
0
 @Override
 public void writeToParcel(Parcel parcel, int flags) {
   parcel.writeString(this.id);
   parcel.writeString(this.modified);
   parcel.writeString(this.created);
   parcel.writeString(this.body);
   parcel.writeString(this.image);
   parcel.writeList(this.choices);
 }
 public void writeToParcel(Parcel paramParcel, int paramInt)
 {
   paramParcel.writeString(this.a);
   paramParcel.writeString(this.b);
   paramParcel.writeList(this.f);
   paramParcel.writeParcelable(this.g, paramInt);
   paramParcel.writeFloat(this.c);
   paramParcel.writeString(this.d);
   paramParcel.writeParcelable(this.e, paramInt);
 }
Ejemplo n.º 18
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeLong(id);
   dest.writeString(name);
   if (content == null) {
     dest.writeByte((byte) (0x00));
   } else {
     dest.writeByte((byte) (0x01));
     dest.writeList(content);
   }
 }
Ejemplo n.º 19
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   // TODO Auto-generated method stub
   dest.writeInt(id);
   dest.writeDouble(fee);
   dest.writeString(licenseId);
   dest.writeString(insuranceId);
   dest.writeDouble(balance);
   dest.writeByte((byte) (active ? 1 : 0));
   dest.writeList(requests);
 }
 @Override
 public void writeToParcel(Parcel out, int flags) {
   out.writeInt(mScore);
   out.writeInt(mNumberOfBulletsFired);
   out.writeInt(mNumberOfTargetsKilled);
   out.writeInt(mCurrentCombo);
   out.writeInt(mMaxCombo);
   out.writeInt(mNumberOfBulletsMissed);
   out.writeInt(mExpEarned);
   out.writeInt(mLastScoreAdded);
   out.writeList(mLoot);
 }
Ejemplo n.º 21
0
  /**
   * ***************************************************
   *
   * <p>Write the contents to a parcel.
   *
   * <p>***************************************************
   */
  @Override
  public void writeToParcel(Parcel parcel, int flags) {
    parcel.writeString(mPromoCodeInvalidMessage);
    parcel.writeParcelable(mPromoCodeDiscount, flags);

    parcel.writeList(mLineItemArrayList);
    parcel.readList(mLineItemArrayList, LineItem.class.getClassLoader());

    parcel.writeParcelable(mTotalProductCost, flags);
    parcel.writeParcelable(mTotalCost, flags);
    parcel.writeParcelable(mTotalShippingCost, flags);
  }
    @Override
    public void writeToParcel(Parcel out, int flags) {
      super.writeToParcel(out, flags);
      out.writeInt(isSearchBarVisible);
      out.writeInt(suggestionsVisible);
      out.writeInt(speechMode);

      out.writeInt(iconRightResId);
      out.writeInt(iconLefttResId);
      out.writeString(hint);
      out.writeList(suggestions);
      out.writeInt(maxSuggestions);
    }
Ejemplo n.º 23
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeString(name);
   dest.writeString(id);
   dest.writeDouble(latLng.latitude);
   dest.writeDouble(latLng.longitude);
   dest.writeFloat(distance);
   dest.writeString(address);
   dest.writeString(phonenumber);
   dest.writeString(websiteUri.toString());
   dest.writeList(placeTypes);
   dest.writeInt(img);
 }
Ejemplo n.º 24
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeInt(this.Id);
   dest.writeString(this.OrderNo);
   dest.writeInt(this.DepartmentId);
   dest.writeString(this.Department);
   dest.writeString(this.EmployeeId);
   dest.writeString(this.Employee);
   dest.writeInt(this.MakerId);
   dest.writeString(this.Maker);
   dest.writeString(this.MakeDateStr);
   dest.writeList(this.OfficeRecipientsItem);
 }
Ejemplo n.º 25
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   super.writeToParcel(dest, flags);
   dest.writeString(lastResolution);
   dest.writeInt(numNations);
   dest.writeInt(numDelegates);
   if (events == null) {
     dest.writeByte((byte) (0x00));
   } else {
     dest.writeByte((byte) (0x01));
     dest.writeList(events);
   }
 }
Ejemplo n.º 26
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeInt(id);
   dest.writeString(title);
   dest.writeDouble(popularity);
   dest.writeInt(vote_count);
   dest.writeDouble(vote_average);
   dest.writeString(poster);
   dest.writeString(overview);
   dest.writeString(release_date);
   if (trailers == null) {
     dest.writeByte((byte) (0x00));
   } else {
     dest.writeByte((byte) (0x01));
     dest.writeList(trailers);
   }
   if (reviews == null) {
     dest.writeByte((byte) (0x00));
   } else {
     dest.writeByte((byte) (0x01));
     dest.writeList(reviews);
   }
 }
Ejemplo n.º 27
0
  @Override
  public void writeToParcel(Parcel dest, int flags) {
    ArrayList<String> data = dest.createStringArrayList();

    data.add(this.getName());
    data.add(this.getEmail());

    if (this.getId() != null) data.add(this.getId().toString());
    else data.add(null);

    dest.writeStringList(data);

    dest.writeList(this.joinedGames);
  }
Ejemplo n.º 28
0
 @Override
 public void writeToParcel(Parcel parcel, int i) {
   parcel.writeInt(id);
   parcel.writeLong(publidate);
   parcel.writeDouble(lat);
   parcel.writeDouble(lng);
   parcel.writeDouble(distance);
   parcel.writeString(nom);
   parcel.writeString(description);
   parcel.writeInt(nb_commentaires);
   parcel.writeParcelable(observateur, i);
   parcel.writeParcelable(notes, i);
   parcel.writeList(photos);
 }
Ejemplo n.º 29
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeList(mUniqueGameIds);
   dest.writeList(mUniqueMatchIds);
   dest.writeList(mUniqueRotationLocationIds);
   dest.writeList(mUniqueRotationIds);
   dest.writeList(mUniquePlayerIds);
   dest.writeList(mUniqueTeamIds);
 }
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeByte(adult ? (byte) 1 : (byte) 0);
   dest.writeString(this.backdrop_path);
   dest.writeList(this.genre_ids);
   dest.writeDouble(this.id);
   dest.writeString(this.original_language);
   dest.writeString(this.original_title);
   dest.writeString(this.overview);
   dest.writeString(this.poster_path);
   dest.writeString(this.release_date);
   dest.writeString(this.title);
   dest.writeByte(video ? (byte) 1 : (byte) 0);
   dest.writeDouble(this.vote_average);
   dest.writeDouble(this.vote_count);
 }