List of usage examples for android.os Parcel writeLong
public final void writeLong(long val)
From source file:com.gmail.taneza.ronald.carbs.common.FoodItem.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(mTableName);// w ww . j a v a2 s .c o m dest.writeInt(mId); dest.writeInt(mQuantity); dest.writeLong(mTimeAddedMsec); }
From source file:com.vk.sdk.api.model.VKApiComment.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(this.id); dest.writeInt(this.from_id); dest.writeLong(this.date); dest.writeString(this.text); dest.writeInt(this.reply_to_user); dest.writeInt(this.reply_to_comment); dest.writeInt(this.likes); dest.writeByte(user_likes ? (byte) 1 : (byte) 0); dest.writeByte(can_like ? (byte) 1 : (byte) 0); dest.writeParcelable(this.attachments, flags); }
From source file:com.vk.sdk.api.model.VKApiMessage.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(this.id); dest.writeInt(this.user_id); dest.writeLong(this.date); dest.writeByte(read_state ? (byte) 1 : (byte) 0); dest.writeByte(out ? (byte) 1 : (byte) 0); dest.writeString(this.title); dest.writeString(this.body); dest.writeParcelable(attachments, flags); dest.writeParcelable(this.fwd_messages, flags); dest.writeByte(emoji ? (byte) 1 : (byte) 0); dest.writeByte(deleted ? (byte) 1 : (byte) 0); }
From source file:com.lugia.timetable.Event.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeLong(mId); dest.writeString(mName);//from www.j a va 2 s. c om dest.writeString(mVenue); dest.writeString(mNote); dest.writeInt(mType); dest.writeInt(mDate); dest.writeInt(mTimeStart); dest.writeInt(mTimeEnd); }
From source file:org.ale.scanner.zotero.data.BibItem.java
@Override public void writeToParcel(Parcel p, int flags) { p.writeInt(mId);/*from ww w .jav a 2 s.c o m*/ p.writeLong(mCreationDate); p.writeInt(mType); p.writeString(mInfo.toString()); p.writeInt(mAcctId); p.writeInt(mSelected); // must be last }
From source file:io.github.data4all.model.DeviceOrientation.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeFloat(azimuth);/*from w ww.ja v a 2 s .c o m*/ dest.writeFloat(pitch); dest.writeFloat(roll); dest.writeLong(timestamp); }
From source file:com.artemchep.horario.models.Exam.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(key);/*from w w w .jav a 2 s . co m*/ dest.writeString(place); dest.writeString(subject); dest.writeString(teacher); dest.writeString(info); dest.writeLong(date); dest.writeLong(time); }
From source file:com.artemchep.horario.models.Notification.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(key);/*from www . ja va 2 s . co m*/ dest.writeString(title); dest.writeString(summary); dest.writeString(author); dest.writeInt(priority); dest.writeLong(timestamp); }
From source file:com.eTilbudsavis.etasdk.model.Session.java
public void writeToParcel(Parcel dest, int flags) { dest.writeString(this.mToken); dest.writeLong(mExpires != null ? mExpires.getTime() : -1); dest.writeParcelable(this.mUser, flags); dest.writeParcelable(this.mPermission, flags); dest.writeString(this.mProvider); dest.writeString(this.mClientId); dest.writeString(this.mReference); }
From source file:com.kevinquan.google.activityrecoginition.model.Motion.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(mType.getGoogleActivityId()); dest.writeInt(mConfidence);/* www. j a v a 2 s . c o m*/ dest.writeLong(mTimestamp); dest.writeLong(mMillisSinceBoot); }