Java Code Examples for android.os.Parcel.writeTypedArray()

The following are Jave code examples for showing how to use writeTypedArray() of the android.os.Parcel class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: MAT-BBS_Discuz_Android   File: ForumDisplay.java   Source Code and License Vote up 6 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(tid);
    dest.writeString(typeid);
    dest.writeString(readperm);
    dest.writeString(price);
    dest.writeString(author);
    dest.writeString(authorid);
    dest.writeString(subject);
    dest.writeString(dateline);
    dest.writeString(lastpost);
    dest.writeString(lastposter);
    dest.writeString(views);
    dest.writeString(replies);
    dest.writeString(displayorder);
    dest.writeString(digest);
    dest.writeString(special);
    dest.writeString(attachment);
    dest.writeString(recommend_add);
    dest.writeString(replycredit);
    dest.writeString(dbdateline);
    dest.writeString(dblastpost);
    dest.writeString(rushreply);
    dest.writeTypedArray(reply, flags);
}
 
Example 2
Project: data-mediator   File: HistoryData.java   Source Code and License Vote up 6 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(this.age);
    dest.writeLong(this.id);
    dest.writeInt(this.testShort);
    dest.writeByte(this.testByte);
    dest.writeByte(this.testBoolean ? (byte) 1 : (byte) 0);
    dest.writeFloat(this.testFloat);
    dest.writeDouble(this.testDouble);
    dest.writeInt(this.testChar);
    dest.writeValue(this.testLONG);
    dest.writeValue(this.testDOUBLE);
    dest.writeSerializable(this.testCharacter);
    dest.writeValue(this.testBOOLEAN);
    dest.writeValue(this.testSHORT);
    dest.writeString(this.name);
    dest.writeParcelable(this.data, flags);
    dest.writeTypedList(this.datas);
    dest.writeTypedArray(this.testArrayResultData, flags);
    dest.writeIntArray(this.testArrayInt);
    dest.writeArray(this.testArrayInteger);
}
 
Example 3
Project: aos-FileCoreLibrary   File: Workgroup.java   Source Code and License Vote up 5 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(mName);
    dest.writeInt(mShares.size());
    Share[] shares = new Share[mShares.size()];
    mShares.toArray(shares);
    dest.writeTypedArray(shares,flags);
}
 
Example 4
Project: FontProvider   File: BundledFontFamily.java   Source Code and License Vote up 5 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeTypedArray(this.families, flags);
    dest.writeInt(this.fd.size());
    for (Map.Entry<String, ParcelFileDescriptor> entry : this.fd.entrySet()) {
        dest.writeString(entry.getKey());
        dest.writeParcelable(entry.getValue(), flags);
    }
}
 
Example 5
Project: FontProvider   File: FontInfo.java   Source Code and License Vote up 5 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this.name);
    dest.writeString(this.variant);
    dest.writeStringArray(this.language);
    dest.writeIntArray(this.ttc_index);
    dest.writeString(this.size);
    dest.writeStringArray(this.preview_text);
    dest.writeString(this.url_prefix);
    dest.writeTypedArray(this.style, flags);
}
 
Example 6
Project: MAT-BBS_Discuz_Android   File: ForumDisplay.java   Source Code and License Vote up 5 votes
@Override
public void writeToParcel(Parcel parcel, int i) {
    parcel.writeString(tpp);
    parcel.writeString(page);
    parcel.writeString(reward_unit);
    parcel.writeParcelable(forum, i);
    parcel.writeTypedArray(forum_threadlist, i);
}
 
Example 7
Project: Customerly-Android-SDK   File: IE_Survey.java   Source Code and License Vote up 5 votes
@Override
public void writeToParcel(@NonNull Parcel dest, int flags) {
    dest.writeInt(this.survey_id);
    dest.writeInt(this.limit_from);
    dest.writeInt(this.limit_to);
    dest.writeInt(this.step);
    dest.writeInt(this.seen ? 1 : 0);
    dest.writeInt(this.type);
    dest.writeString(this.title);
    dest.writeString(this.subtitle);
    dest.writeString(this.thank_you_text);
    try {
        dest.writeTypedArray(this.choices, 0);
    } catch (Exception ignored) { }
}
 
Example 8
Project: okwallet   File: PaymentIntent.java   Source Code and License Vote up 5 votes
@Override
public void writeToParcel(final Parcel dest, final int flags) {
    dest.writeSerializable(standard);

    dest.writeString(payeeName);
    dest.writeString(payeeVerifiedBy);

    if (outputs != null) {
        dest.writeInt(outputs.length);
        dest.writeTypedArray(outputs, 0);
    } else {
        dest.writeInt(0);
    }

    dest.writeString(memo);

    dest.writeString(paymentUrl);

    if (payeeData != null) {
        dest.writeInt(payeeData.length);
        dest.writeByteArray(payeeData);
    } else {
        dest.writeInt(0);
    }

    dest.writeString(paymentRequestUrl);

    if (paymentRequestHash != null) {
        dest.writeInt(paymentRequestHash.length);
        dest.writeByteArray(paymentRequestHash);
    } else {
        dest.writeInt(0);
    }
}
 
Example 9
Project: Camera-Roll-Android-App   File: File_POJO.java   Source Code and License Vote up 5 votes
@Override
public void writeToParcel(Parcel parcel, int i) {
    parcel.writeString(path);
    parcel.writeString(name);
    parcel.writeString(String.valueOf(isMedia));
    File_POJO[] children = new File_POJO[this.children.size()];
    for (int k = 0; k < children.length; k++) {
        children[k] = this.children.get(k);
    }
    parcel.writeTypedArray(children, 0);
    parcel.writeString(String.valueOf(excluded));
}
 
Example 10
Project: ExtraMapUtils   File: ExtraPolygon.java   Source Code and License Vote up 4 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeTypedArray(this.points, flags);
    dest.writeInt(this.fillColor);
    dest.writeParcelable(this.uiOptions, flags);
}
 
Example 11
Project: ExtraMapUtils   File: ExtraPolyline.java   Source Code and License Vote up 4 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeTypedArray(this.points, flags);
    dest.writeParcelable(this.uiOptions, flags);
}
 
Example 12
Project: mapbox-events-android   File: NavigationLocationData.java   Source Code and License Vote up 4 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
  dest.writeTypedArray(locationsBefore, flags);
  dest.writeTypedArray(locationsAfter, flags);
}
 
Example 13
Project: Exoplayer2Radio   File: DrmInitData.java   Source Code and License Vote up 4 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
  dest.writeTypedArray(schemeDatas, 0);
}
 
Example 14
Project: FontProvider   File: FontRequests.java   Source Code and License Vote up 4 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeIntArray(this.weight);
    dest.writeTypedArray(filterDefault(this.requests), flags);
}
 
Example 15
Project: FontProvider   File: FontFamily.java   Source Code and License Vote up 4 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(this.variant);
    dest.writeString(this.language);
    dest.writeTypedArray(this.fonts, flags);
}
 
Example 16
Project: MAT-BBS_Discuz_Android   File: ForumNav.java   Source Code and License Vote up 4 votes
@Override
public void writeToParcel(Parcel parcel, int i) {
    parcel.writeTypedArray(forums, i);
}
 
Example 17
Project: Android-DFU-App   File: UartConfiguration.java   Source Code and License Vote up 4 votes
@Override
public void writeToParcel(final Parcel dest, int flags) {
	dest.writeLong(id);
	dest.writeString(name);
	dest.writeTypedArray(commands, 0);
}
 
Example 18
Project: VirtualHook   File: ReceiverInfo.java   Source Code and License Vote up 4 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
	dest.writeParcelable(this.component, flags);
	dest.writeTypedArray(this.filters, flags);
	dest.writeString(this.permission);
}
 
Example 19
Project: boohee_v5.6   File: FragmentManagerState.java   Source Code and License Vote up 4 votes
public void writeToParcel(Parcel dest, int flags) {
    dest.writeTypedArray(this.mActive, flags);
    dest.writeIntArray(this.mAdded);
    dest.writeTypedArray(this.mBackStack, flags);
}
 
Example 20
Project: TPlayer   File: ReceiverInfo.java   Source Code and License Vote up 4 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
	dest.writeParcelable(this.component, flags);
	dest.writeTypedArray(this.filters, flags);
	dest.writeString(this.permission);
}