예제 #1
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeLong(this.id);
   dest.writeString(this.title);
   dest.writeString(this.mobile_url);
   dest.writeString(this.html_url);
   dest.writeString(this.description);
   dest.writeString(this.quiz_type);
   dest.writeParcelable(this.lock_info, flags);
   dest.writeParcelable(this.assignment, flags);
   dest.writeParcelable(this.permissions, flags);
   dest.writeInt(this.allowed_attempts);
   dest.writeInt(this.question_count);
   dest.writeDouble(this.points_possible);
   dest.writeString(this.due_at);
   dest.writeInt(this.time_limit);
   dest.writeString(this.access_code);
   dest.writeString(this.ip_filter);
   dest.writeByte(this.locked_for_user ? (byte) 1 : (byte) 0);
   dest.writeString(this.lock_explanation);
   dest.writeString(this.hide_results);
   dest.writeString(this.unlock_at);
   dest.writeByte(this.one_time_results ? (byte) 1 : (byte) 0);
   dest.writeString(this.lock_at);
   dest.writeStringArray(this.question_types);
   dest.writeByte(this.has_access_code ? (byte) 1 : (byte) 0);
 }
예제 #2
0
 public void writeToParcel(Parcel paramParcel, int paramInt) {
   int i = 1;
   paramParcel.writeParcelable(ParcelableProto.forProto(this.docid), paramInt);
   paramParcel.writeString(this.docidStr);
   paramParcel.writeParcelable(this.document, paramInt);
   paramParcel.writeInt(this.offerType);
   paramParcel.writeString(this.offerId);
   paramParcel.writeInt(this.appVersionCode);
   paramParcel.writeString(this.appTitle);
   paramParcel.writeString(this.appContinueUrl);
   int j;
   if (this.appEverExternallyHosted == null) {
     j = 0;
     paramParcel.writeByte((byte) j);
     if (this.appEverExternallyHosted != null) {
       if (!this.appEverExternallyHosted.booleanValue()) {
         break label162;
       }
     }
   }
   for (; ; ) {
     paramParcel.writeByte((byte) i);
     paramParcel.writeInt(this.appInstallLocation);
     paramParcel.writeString(this.voucherId);
     paramParcel.writeParcelable(ParcelableProto.forProto(this.inAppPurchaseInfo), paramInt);
     paramParcel.writeString(this.callingPackage);
     paramParcel.writeInt(this.indirectProvisioningType);
     return;
     j = i;
     break;
     label162:
     i = 0;
   }
 }
  @Override
  public void writeToParcel(Parcel out, int arg1) {

    out.writeInt(matchId);
    out.writeString(team1);
    out.writeString(team2);

    out.writeString(scoret1s1);
    out.writeString(scoret1s2);
    out.writeString(scoret2s1);
    out.writeString(scoret2s2);
    out.writeByte(innsPlay);

    out.writeString(playingTeam);
    out.writeString(playingOver);
    out.writeString(playingScore);

    out.writeString(batsman1);
    out.writeString(batsman2);
    out.writeString(batsman1score);
    out.writeString(batsman2score);
    out.writeString(bowler);
    out.writeString(bowlerEco);

    out.writeString(place);
    out.writeString(matchInfo);
    out.writeString(date);

    out.writeString(status);
    out.writeByte((byte) (error ? 1 : 0));
  }
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeString(title);
   dest.writeString(viewItemURL);
   dest.writeString(galleryURL);
   dest.writeString(pictureURLSuperSize);
   dest.writeString(convertedCurrentPrice);
   dest.writeString(shippingServiceCost);
   dest.writeString(conditionDisplayName);
   dest.writeString(listingType);
   dest.writeString(location);
   dest.writeString(categoryName);
   dest.writeByte((byte) (topRatedListing ? 1 : 0));
   dest.writeString(sellerUserName);
   dest.writeString(feedbackScore);
   dest.writeString(positiveFeedbackPercent);
   dest.writeString(feedbackRatingStar);
   dest.writeByte((byte) (topRatedSeller ? 1 : 0));
   dest.writeString(sellerStoreName);
   dest.writeString(sellerStoreURL);
   dest.writeString(shippingType);
   dest.writeString(shipToLocations);
   dest.writeByte((byte) (expeditedShipping ? 1 : 0));
   dest.writeByte((byte) (oneDayShippingAvailable ? 1 : 0));
   dest.writeByte((byte) (returnsAccepted ? 1 : 0));
   dest.writeString(handlingTime);
 }
  @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);
  }
예제 #6
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 flags) {
   dest.writeString(mName);
   dest.writeByte((byte) (mPredefined ? 1 : 0));
   dest.writeByte((byte) (mManualSearch ? 1 : 0));
   dest.writeStringList(new ArrayList<String>(mAccountUuids));
   dest.writeParcelable(mConditions, flags);
 }
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeByte(isRefreshing ? (byte) 1 : (byte) 0);
   dest.writeInt(this.layoutType == null ? -1 : this.layoutType.ordinal());
   dest.writeTypedList(data);
   dest.writeByte(snackBarShowing ? (byte) 1 : (byte) 0);
   dest.writeString(this.errorMessage);
 }
예제 #9
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   if (countries == null) {
     dest.writeByte((byte) (0x00));
   } else {
     dest.writeByte((byte) (0x01));
     dest.writeList(countries);
   }
 }
예제 #10
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   super.writeToParcel(dest, flags);
   dest.writeByte((byte) (sendNotification ? 1 : 0));
   dest.writeString(notificationText);
   dest.writeByte((byte) (sendContent ? 1 : 0));
   dest.writeString(content);
   dest.writeString(contentUrl);
   dest.writeBundle(metadata);
 }
예제 #11
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   if (id == null) {
     dest.writeByte((byte) (0x00));
   } else {
     dest.writeByte((byte) (0x01));
     dest.writeInt(id);
   }
   dest.writeString(name);
 }
 @Override
 public void writeToParcel(Parcel parcel, int i) {
   parcel.writeInt(id);
   parcel.writeInt(prevId);
   parcel.writeValue(textChunks);
   parcel.writeByte((byte) (vibrated ? 1 : 0));
   parcel.writeInt(nextChunkToSend);
   parcel.writeByte((byte) (nativeNotification ? 1 : 0));
   parcel.writeValue(source);
 }
예제 #13
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeLong(this.id);
   dest.writeString(this.title);
   dest.writeString(this.description);
   dest.writeByte(urgent ? (byte) 1 : (byte) 0);
   dest.writeLong(dueDate != null ? dueDate.getTime() : -1);
   dest.writeString(this.tags);
   dest.writeByte(done ? (byte) 1 : (byte) 0);
   dest.writeString(order);
 }
예제 #14
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeString(this.by);
   dest.writeString(this.body);
   dest.writeString(this.time);
   dest.writeByte(hideChildren ? (byte) 1 : (byte) 0);
   dest.writeByte(isHidden ? (byte) 1 : (byte) 0);
   dest.writeByte(toBeHidden ? (byte) 1 : (byte) 0);
   dest.writeInt(this.hiddenChildren);
   dest.writeInt(this.hierarchy);
 }
예제 #15
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeString(this.id);
   dest.writeString(this.title);
   dest.writeString(this.image);
   dest.writeString(this.updateDate);
   dest.writeString(this.rate);
   dest.writeByte(adult ? (byte) 1 : (byte) 0);
   dest.writeByte(loginNeed ? (byte) 1 : (byte) 0);
   dest.writeInt(this.status == null ? -1 : this.status.ordinal());
 }
예제 #16
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   if (ad_type == null) {
     dest.writeByte((byte) (0x00));
   } else {
     dest.writeByte((byte) (0x01));
     dest.writeInt(ad_type);
   }
   dest.writeString(ad_id);
   dest.writeString(ad_mediator);
 }
예제 #17
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeLong(id);
   dest.writeString(key);
   dest.writeString(mDisplayName);
   dest.writeLong(photo_id);
   dest.writeTypedList(phones);
   dest.writeString(mEmail);
   dest.writeByte((byte) (isUser ? 1 : 0));
   dest.writeByte(stared ? (byte) 1 : (byte) 0);
 }
예제 #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);
   }
 }
 @Override
 public void writeToParcel(Parcel parcel, int arg1) {
   parcel.writeInt(iconResourceID);
   parcel.writeString(title);
   parcel.writeString(inProgress);
   parcel.writeString(completed);
   parcel.writeString(error);
   parcel.writeByte((byte) (autoClearOnSuccess ? 1 : 0));
   parcel.writeByte((byte) (clearOnAction ? 1 : 0));
   parcel.writeByte((byte) (ringToneEnabled ? 1 : 0));
   parcel.writeParcelable(clickIntent, 0);
 }
예제 #20
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeLong(this.id);
   dest.writeString(this.author);
   dest.writeString(this.avatarUrl);
   dest.writeLong(postDate != null ? postDate.getTime() : -1);
   dest.writeLong(lastEditionDate != null ? lastEditionDate.getTime() : -1);
   dest.writeByte(isFromModerators ? (byte) 1 : (byte) 0);
   dest.writeByte(isDeleted ? (byte) 1 : (byte) 0);
   dest.writeInt(this.quoteCount);
   dest.writeString(this.htmlContent);
   dest.writeInt(this.topicPagesCount);
 }
예제 #21
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);
   }
 }
    @Override
    public void writeToParcel(final Parcel dest, final int flags) {
      super.writeToParcel(dest, flags);

      dest.writeInt(numColumns);
      dest.writeInt(requestedColumnWidth);
      dest.writeInt(requestedColumnCount);
      dest.writeInt(requestedVerticalSpacing);
      dest.writeInt(requestedHorizontalSpacing);
      dest.writeInt(defaultPadding);
      dest.writeByte((byte) (debugging ? 1 : 0));
      dest.writeByte((byte) (allowReordering ? 1 : 0));
      dest.writeParcelable(adapterState, flags);
    }
예제 #23
0
 /*Part of Parcelable interface.
    When parcelled, the program stores the article's information in this order.  It must
     be retrieved in the same order to ensure correctness.
 */
 public void writeToParcel(Parcel out, int flags) {
   out.writeInt(article_ID);
   out.writeString(title);
   out.writeString(body);
   out.writeString(desc);
   out.writeString(genre);
   out.writeByte((byte) (is_Top ? 1 : 0));
   out.writeByte((byte) (has_Image ? 1 : 0));
   out.writeByte((byte) (viewed ? 1 : 0));
   out.writeByte((byte) (has_Thumb ? 1 : 0));
   out.writeInt(image_ID);
   out.writeString(image_URL);
   out.writeString(thumb_URL);
   out.writeStringArray(categories);
 }
  @Override
  public void writeToParcel(Parcel targetParcel, int flags) {
    targetParcel.writeParcelable(mUneditedAsset, flags);

    if (mEditedAsset != null) {
      targetParcel.writeByte(TRUE_AS_BYTE);

      targetParcel.writeParcelable(mEditedAsset, flags);
    } else {
      targetParcel.writeByte(FALSE_AS_BYTE);
    }

    targetParcel.writeInt(mQuantity);
    targetParcel.writeString(mEditedForProductId);
  }
예제 #25
0
 @Override
 public void writeToParcel(Parcel out, int flags) {
   super.writeToParcel(out, flags);
   out.writeFloat(this.mProgress);
   out.writeFloat(this.mTargetProgress);
   out.writeByte((byte) (isSpinning ? 1 : 0));
   out.writeFloat(this.spinSpeed);
   out.writeInt(this.barWidth);
   out.writeInt(this.barColor);
   out.writeInt(this.rimWidth);
   out.writeInt(this.rimColor);
   out.writeInt(this.circleRadius);
   out.writeByte((byte) (linearProgress ? 1 : 0));
   out.writeByte((byte) (fillRadius ? 1 : 0));
 }
예제 #26
0
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeInt(mFromServiceId);
   dest.writeInt(mToServiceId);
   dest.writeInt(mFromCodeScheme);
   dest.writeInt(mToCodeScheme);
   dest.writeByte((byte) (mSelected ? 1 : 0));
 }
예제 #27
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);
 }
예제 #28
0
파일: Group.java 프로젝트: mydos/Klyph
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeString(creator);
   dest.writeString(description);
   dest.writeString(email);
   dest.writeString(gid);
   dest.writeString(icon);
   dest.writeString(icon34);
   dest.writeString(icon50);
   dest.writeString(icon68);
   dest.writeString(name);
   dest.writeString(nid);
   dest.writeString(office);
   dest.writeString(parent_id);
   dest.writeString(pic);
   dest.writeString(pic_big);
   dest.writeParcelable(pic_cover, PARCELABLE_WRITE_RETURN_VALUE);
   dest.writeString(pic_small);
   dest.writeString(pic_square);
   dest.writeString(privacy);
   dest.writeString(recent_news);
   dest.writeString(update_time);
   dest.writeParcelable(venue, PARCELABLE_WRITE_RETURN_VALUE);
   dest.writeString(website);
   dest.writeByte((byte) (administrator ? 1 : 0));
   dest.writeInt(unread);
 }
예제 #29
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeString(this.name);
   dest.writeString(this.age);
   dest.writeInt(this.photoId);
   dest.writeByte(selected ? (byte) 1 : (byte) 0);
 }
예제 #30
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeInt(this.id);
   dest.writeString(this.category);
   dest.writeString(this.name);
   dest.writeByte(enabled ? (byte) 1 : (byte) 0);
 }