List of usage examples for android.os Parcel writeByte
public final void writeByte(byte val)
From source file:com.eTilbudsavis.etasdk.model.ShoppinglistItem.java
public void writeToParcel(Parcel dest, int flags) { dest.writeString(this.mId); dest.writeString(this.mErn); dest.writeByte(mTick ? (byte) 1 : (byte) 0); dest.writeString(this.mOfferId); dest.writeInt(this.mCount); dest.writeString(this.mDescription); dest.writeString(this.mCreator); dest.writeLong(mModified != null ? mModified.getTime() : -1); dest.writeParcelable(this.mOffer, flags); dest.writeString(this.mShoppinglistId); dest.writeString(this.mPrevId); dest.writeString(this.mMeta); dest.writeInt(this.mUserId); dest.writeInt(this.mSyncState); }
From source file:com.paranoid.gerrit.objects.JSONCommit.java
@Override public void writeToParcel(Parcel parcel, int i) { parcel.writeString(mKind);/* w ww .j av a2 s . co m*/ parcel.writeString(mId); parcel.writeString(mProject); parcel.writeString(mBranch); parcel.writeString(mChangeId); parcel.writeString(mSubject); parcel.writeString(mStatus.name()); parcel.writeString(mCreatedDate); parcel.writeString(mLastUpdatedDate); parcel.writeByte((byte) (mIsMergeable ? 1 : 0)); parcel.writeString(mSortKey); parcel.writeInt(mCommitNumber); parcel.writeString(mCurrentRevision); parcel.writeParcelable(mOwnerObject, 0); parcel.writeParcelable(mPatchSet, 0); parcel.writeParcelable(mFileInfos, 0); parcel.writeString(mWebAddress); parcel.writeParcelable(mReviewers, 0); parcel.writeInt(mPatchSetNumber); parcel.writeTypedList(mMessagesList); }
From source file:com.vk.sdk.api.model.VKApiPhoto.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(this.id); dest.writeInt(this.album_id); dest.writeInt(this.owner_id); dest.writeInt(this.width); dest.writeInt(this.height); dest.writeString(this.text); dest.writeLong(this.date); dest.writeParcelable(this.src, flags); dest.writeString(this.photo_75); dest.writeString(this.photo_130); dest.writeString(this.photo_604); dest.writeString(this.photo_807); dest.writeString(this.photo_1280); dest.writeString(this.photo_2560); dest.writeByte(user_likes ? (byte) 1 : (byte) 0); dest.writeByte(can_comment ? (byte) 1 : (byte) 0); dest.writeInt(this.likes); dest.writeInt(this.comments); dest.writeInt(this.tags); dest.writeString(this.access_key); }
From source file:com.wootric.androidsdk.objects.Settings.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeValue(this.firstSurvey); dest.writeValue(this.userID); dest.writeValue(this.accountID); dest.writeInt(this.adminPanelTimeDelay); dest.writeParcelable(this.localizedTexts, 0); dest.writeParcelable(this.adminPanelCustomMessage, 0); dest.writeParcelable(this.localCustomMessage, 0); dest.writeInt(this.timeDelay); dest.writeByte(surveyImmediately ? (byte) 1 : (byte) 0); dest.writeValue(this.dailyResponseCap); dest.writeValue(this.registeredPercent); dest.writeValue(this.visitorPercent); dest.writeValue(this.resurveyThrottle); dest.writeValue(this.declineResurveyThrottle); dest.writeString(this.languageCode); dest.writeString(this.productName); dest.writeString(this.recommendTarget); dest.writeString(this.facebookPageId); dest.writeString(this.twitterPage); dest.writeParcelable(this.customThankYou, 0); }
From source file:com.google.android.apps.flexbox.FlexItem.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(this.index); dest.writeInt(this.width); dest.writeInt(this.height); dest.writeInt(this.topMargin); dest.writeInt(this.startMargin); dest.writeInt(this.endMargin); dest.writeInt(this.bottomMargin); dest.writeInt(this.paddingTop); dest.writeInt(this.paddingStart); dest.writeInt(this.paddingEnd); dest.writeInt(this.paddingBottom); dest.writeInt(this.order); dest.writeFloat(this.flexGrow); dest.writeFloat(this.flexShrink); dest.writeInt(this.alignSelf); dest.writeFloat(this.flexBasisPercent); dest.writeInt(this.minWidth); dest.writeInt(this.minHeight); dest.writeInt(this.maxWidth); dest.writeInt(this.maxHeight); dest.writeByte((byte) (wrapBefore ? 1 : 0)); }
From source file:com.vk.sdk.api.model.VKApiVideo.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(this.id); dest.writeInt(this.owner_id); dest.writeInt(this.album_id); dest.writeString(this.title); dest.writeString(this.description); dest.writeInt(this.duration); dest.writeString(this.link); dest.writeLong(this.date); dest.writeInt(this.views); dest.writeString(this.player); dest.writeString(this.photo_130); dest.writeString(this.photo_320); dest.writeString(this.photo_640); dest.writeParcelable(this.photo, flags); dest.writeString(this.access_key); dest.writeInt(this.comments); dest.writeByte(can_comment ? (byte) 1 : (byte) 0); dest.writeByte(can_repost ? (byte) 1 : (byte) 0); dest.writeByte(user_likes ? (byte) 1 : (byte) 0); dest.writeByte(repeat ? (byte) 1 : (byte) 0); dest.writeInt(this.likes); dest.writeInt(this.privacy_view); dest.writeInt(this.privacy_comment); dest.writeString(this.mp4_240); dest.writeString(this.mp4_360); dest.writeString(this.mp4_480); dest.writeString(this.mp4_720); dest.writeString(this.external); }
From source file:com.vk.sdk.api.model.VKApiCommunityFull.java
@Override public void writeToParcel(Parcel dest, int flags) { super.writeToParcel(dest, flags); dest.writeParcelable(this.city, flags); dest.writeParcelable(this.country, flags); dest.writeParcelable(this.status_audio, flags); dest.writeParcelable(this.place, flags); dest.writeString(this.description); dest.writeString(this.wiki_page); dest.writeInt(this.members_count); dest.writeParcelable(this.counters, flags); dest.writeLong(this.start_date); dest.writeLong(this.end_date); dest.writeByte(can_post ? (byte) 1 : (byte) 0); dest.writeByte(can_see_all_posts ? (byte) 1 : (byte) 0); dest.writeString(this.status); dest.writeParcelable(this.contacts, flags); dest.writeParcelable(this.links, flags); dest.writeInt(this.fixed_post); dest.writeByte(verified ? (byte) 1 : (byte) 0); dest.writeString(this.site); dest.writeByte(blacklisted ? (byte) 1 : (byte) 0); }
From source file:de.azapps.mirakel.model.list.ListMirakel.java
@Override public void writeToParcel(final Parcel dest, final int flags) { dest.writeInt(this.sortBy.ordinal()); dest.writeString(this.createdAt); dest.writeString(this.updatedAt); dest.writeInt(this.syncState.ordinal()); dest.writeInt(this.lft); dest.writeInt(this.rgt); dest.writeInt(this.color); dest.writeLong(this.accountID); dest.writeByte(isSpecial ? (byte) 1 : (byte) 0); dest.writeLong(this.getId()); dest.writeString(this.getName()); }
From source file:org.y20k.transistor.core.Station.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(TITLE);// w ww . j a va 2 s .com dest.writeString(StreamURI); dest.writeBundle(mStationFetchResults); dest.writeByte((byte) (mPlayback ? 1 : 0)); // if mPlayback == true, byte == 1 dest.writeLong(_ID); dest.writeString(UNIQUE_ID); dest.writeString(SUBTITLE); dest.writeString(IMAGE_PATH); dest.writeString(IMAGE_FILE_NAME); dest.writeString(SMALL_IMAGE_FILE_NAME); dest.writeString(CONTENT_TYPE); dest.writeString(DESCRIPTION); dest.writeInt(RATING); dest.writeString(COMMA_SEPARATED_TAGS); dest.writeString(CATEGORY); dest.writeString(MarkdownDescription); dest.writeString(SMALL_IMAGE_PATH); dest.writeInt(IS_FAVOURITE); dest.writeString(THUMP_UP_STATUS); }
From source file:com.danlvse.weebo.model.User.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(this.id); dest.writeString(this.idstr); dest.writeString(this.screen_name); dest.writeString(this.name); dest.writeInt(this.province); dest.writeInt(this.city); dest.writeString(this.location); dest.writeString(this.description); dest.writeString(this.url); dest.writeString(this.profile_image_url); dest.writeString(this.profile_url); dest.writeString(this.cover_image_phone); dest.writeString(this.cover_image); dest.writeString(this.domain); dest.writeString(this.weihao); dest.writeString(this.gender); dest.writeInt(this.followers_count); dest.writeInt(this.friends_count); dest.writeInt(this.statuses_count); dest.writeInt(this.favourites_count); dest.writeString(this.created_at); dest.writeByte(following ? (byte) 1 : (byte) 0); dest.writeByte(allow_all_act_msg ? (byte) 1 : (byte) 0); dest.writeByte(geo_enabled ? (byte) 1 : (byte) 0); dest.writeByte(verified ? (byte) 1 : (byte) 0); dest.writeInt(this.verified_type); dest.writeString(this.remark); dest.writeParcelable(this.status, flags); dest.writeByte(allow_all_comment ? (byte) 1 : (byte) 0); dest.writeString(this.avatar_large); dest.writeString(this.avatar_hd); dest.writeString(this.verified_reason); dest.writeByte(follow_me ? (byte) 1 : (byte) 0); dest.writeInt(this.online_status); dest.writeInt(this.bi_followers_count); dest.writeString(this.lang); dest.writeString(this.star); dest.writeString(this.mbtype); dest.writeString(this.mbrank); dest.writeString(this.block_word); }