Java Code Examples for android.os.Parcel#writeList()
The following examples show how to use
android.os.Parcel#writeList() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Topic.java From V2EX with GNU General Public License v3.0 | 6 votes |
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(this.id); dest.writeString(this.title); dest.writeLong(this.last_touched); dest.writeLong(this.last_modified); dest.writeString(this.url); dest.writeLong(this.created); dest.writeInt(this.clicks); dest.writeInt(this.favors); dest.writeInt(this.thanks); dest.writeInt(this.replies); dest.writeString(this.content); dest.writeString(this.content_rendered); dest.writeString(this.last_reply_by); dest.writeParcelable(this.member, flags); dest.writeParcelable(this.node, flags); dest.writeList(this.replyList); dest.writeList(this.tags); }
Example 2
Source File: TransactionInfo.java From xmrwallet with Apache License 2.0 | 6 votes |
@Override public void writeToParcel(Parcel out, int flags) { out.writeInt(direction.getValue()); out.writeByte((byte) (isPending ? 1 : 0)); out.writeByte((byte) (isFailed ? 1 : 0)); out.writeLong(amount); out.writeLong(fee); out.writeLong(blockheight); out.writeString(hash); out.writeLong(timestamp); out.writeString(paymentId); out.writeInt(account); out.writeInt(subaddress); out.writeLong(confirmations); out.writeString(subaddressLabel); out.writeList(transfers); out.writeString(txKey); out.writeString(notes); out.writeString(address); }
Example 3
Source File: ExtGrep.java From 920-text-editor-v2 with Apache License 2.0 | 6 votes |
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeByte(invertMatch ? (byte) 1 : (byte) 0); dest.writeByte(ignoreCase ? (byte) 1 : (byte) 0); dest.writeInt(this.maxCount); dest.writeByte(printFileNameOnly ? (byte) 1 : (byte) 0); dest.writeByte(printByteOffset ? (byte) 1 : (byte) 0); dest.writeByte(quiet ? (byte) 1 : (byte) 0); dest.writeByte(printCountOnly ? (byte) 1 : (byte) 0); dest.writeByte(printFilesWithoutMatch ? (byte) 1 : (byte) 0); dest.writeByte(wordRegex ? (byte) 1 : (byte) 0); dest.writeByte(lineRegex ? (byte) 1 : (byte) 0); dest.writeByte(noMessages ? (byte) 1 : (byte) 0); dest.writeByte(printFileName ? (byte) 1 : (byte) 0); dest.writeByte(printMatchOnly ? (byte) 1 : (byte) 0); dest.writeByte(printLineNumber ? (byte) 1 : (byte) 0); dest.writeByte(recurseDirectories ? (byte) 1 : (byte) 0); dest.writeByte(skipDirectories ? (byte) 1 : (byte) 0); dest.writeStringList(this.excludeFilePatterns); dest.writeByte(useInclude ? (byte) 1 : (byte) 0); dest.writeByte(useExclude ? (byte) 1 : (byte) 0); dest.writeInt(this.beforeContext); dest.writeInt(this.afterContext); dest.writeString(this.regex); dest.writeList(this.filesToProcess); }
Example 4
Source File: PaymentServices.java From aptoide-client with GNU General Public License v2.0 | 5 votes |
public void writeToParcel(Parcel out, int flags) { out.writeInt(id); out.writeString(short_name); out.writeString(name); out.writeList(types); out.writeDouble(price); out.writeString(currency); out.writeDouble(taxRate); out.writeString(sign); out.writeString(service_id); out.writeString(inapp_secret); }
Example 5
Source File: Shot.java From droidddle with Apache License 2.0 | 5 votes |
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeValue(this.id); dest.writeString(this.title); dest.writeString(this.description); dest.writeValue(this.width); dest.writeValue(this.height); dest.writeParcelable(this.images, flags); dest.writeValue(this.viewsCount); dest.writeValue(this.likesCount); dest.writeValue(this.commentsCount); dest.writeValue(this.attachmentsCount); dest.writeValue(this.reboundsCount); dest.writeValue(this.bucketsCount); dest.writeLong(createdAt != null ? createdAt.getTime() : -1); dest.writeLong(updatedAt != null ? updatedAt.getTime() : -1); dest.writeString(this.htmlUrl); dest.writeString(this.attachmentsUrl); dest.writeString(this.bucketsUrl); dest.writeString(this.commentsUrl); dest.writeString(this.likesUrl); dest.writeString(this.projectsUrl); dest.writeString(this.reboundsUrl); dest.writeString(this.reboundSourceUrl); dest.writeList(this.tags); dest.writeParcelable(this.user, 0); dest.writeParcelable(this.team, flags); }
Example 6
Source File: ViewStack.java From Defrag with Apache License 2.0 | 5 votes |
@Override public void writeToParcel(Parcel dest, int flags) { if (stack == null) { dest.writeByte((byte) (0x00)); } else { dest.writeByte((byte) (0x01)); dest.writeList(stack); } dest.writeParcelable(superState, PARCELABLE_WRITE_RETURN_VALUE); }
Example 7
Source File: SocialMessage.java From edx-app-android with Apache License 2.0 | 5 votes |
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeLong(this.id); dest.writeString(this.message); dest.writeParcelable(this.author, 0); dest.writeList(this.comments); }
Example 8
Source File: RegionTypesInfo.java From HeroVideo-master with Apache License 2.0 | 5 votes |
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(this.tid); dest.writeInt(this.reid); dest.writeString(this.name); dest.writeString(this.logo); dest.writeString(this.gotoX); dest.writeString(this.param); dest.writeList(this.children); }
Example 9
Source File: PitchRange.java From voice-pitch-analyzer with GNU Affero General Public License v3.0 | 5 votes |
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeDouble(this.getAvg()); dest.writeDouble(this.getMin()); dest.writeDouble(this.getMax()); dest.writeList(this.getPitches()); }
Example 10
Source File: SolidList.java From solid with MIT License | 4 votes |
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeList(list); }
Example 11
Source File: Collections.java From Jager with GNU General Public License v3.0 | 4 votes |
@Override public void writeToParcel (Parcel parcel, int i) { parcel.writeList (collections); }
Example 12
Source File: MyDataList.java From PigeonholeView with Apache License 2.0 | 4 votes |
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeList(this); }
Example 13
Source File: MapPointPack.java From WhereYouGo with GNU General Public License v3.0 | 4 votes |
@Override public void writeToParcel(Parcel p, int arg1) { p.writeInt(isPolygon ? 1 : 0); p.writeInt(resource); p.writeList(points); }
Example 14
Source File: FileTraversal.java From iBeebo with GNU General Public License v3.0 | 4 votes |
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(filename); dest.writeList(filecontent); }
Example 15
Source File: Workflows.java From incubator-taverna-mobile with Apache License 2.0 | 4 votes |
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeList(this.WorkflowList); }
Example 16
Source File: Run.java From incubator-taverna-mobile with Apache License 2.0 | 4 votes |
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeValue(this.workflowId); dest.writeString(this.name); dest.writeList(this.inputsAttributes); }
Example 17
Source File: ServiceData.java From DeviceConnect-Android with MIT License | 4 votes |
@Override public void writeToParcel(final Parcel parcel, final int flags) { parcel.writeString(mServiceId); parcel.writeString(mName); parcel.writeList(mProfileDataList); }
Example 18
Source File: Patio.java From UltimateAndroid with Apache License 2.0 | 4 votes |
@Override public void writeToParcel(Parcel out, int flags) { super.writeToParcel(out, flags); out.writeList(mThumbnailsPaths); out.writeString(mTakePictureFilePath); }
Example 19
Source File: TripList.java From AndroidForiOS with MIT License | 4 votes |
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(subwayLine.getLineName()); dest.writeLong(currentTime.getTime()); dest.writeList(trips); }
Example 20
Source File: PersonRelationship.java From arcusandroid with Apache License 2.0 | 4 votes |
@Override public void writeToParcel(Parcel parcel, int i) { parcel.writeByte(selected ? (byte) 1 : (byte) 0); parcel.writeString(name); parcel.writeList(children); }