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

The following are Jave code examples for showing how to use readTypedList() 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.
+ Save this method
Example 1
Project: GitHub   File: MaterialCalendarView.java   View Source Code Vote up 6 votes
private SavedState(Parcel in) {
    super(in);
    color = in.readInt();
    dateTextAppearance = in.readInt();
    weekDayTextAppearance = in.readInt();
    showOtherDates = in.readInt();
    allowClickDaysOutsideCurrentMonth = in.readByte() != 0;
    ClassLoader loader = CalendarDay.class.getClassLoader();
    minDate = in.readParcelable(loader);
    maxDate = in.readParcelable(loader);
    in.readTypedList(selectedDates, CalendarDay.CREATOR);
    firstDayOfWeek = in.readInt();
    orientation = in.readInt();
    tileWidthPx = in.readInt();
    tileHeightPx = in.readInt();
    topbarVisible = in.readInt() == 1;
    selectionMode = in.readInt();
    dynamicHeightEnabled = in.readInt() == 1;
    calendarMode = in.readInt() == 1 ? CalendarMode.WEEKS : CalendarMode.MONTHS;
    currentMonth = in.readParcelable(loader);
}
 
Example 2
Project: calendarview2   File: CalendarView2.java   View Source Code Vote up 6 votes
private SavedState(Parcel in) {
    super(in);
    color = in.readInt();
    dateTextAppearance = in.readInt();
    weekDayTextAppearance = in.readInt();
    showOtherDates = in.readInt();
    allowClickDaysOutsideCurrentMonth = in.readByte() != 0;
    ClassLoader loader = CalendarDay.class.getClassLoader();
    minDate = in.readParcelable(loader);
    maxDate = in.readParcelable(loader);
    in.readTypedList(selectedDates, CalendarDay.CREATOR);
    firstDayOfWeek = in.readInt();
    orientation = in.readInt();
    tileWidthPx = in.readInt();
    tileHeightPx = in.readInt();
    topbarVisible = in.readInt() == 1;
    selectionMode = in.readInt();
    dynamicHeightEnabled = in.readInt() == 1;
    calendarMode = in.readInt() == 1 ? CalendarMode.WEEKS : CalendarMode.MONTHS;
    currentMonth = in.readParcelable(loader);
    cacheCurrentPosition = in.readByte() != 0;
}
 
Example 3
Project: Hands-On-Android-UI-Development   File: ClaimItem.java   View Source Code Vote up 5 votes
@Ignore
protected ClaimItem(final Parcel in) {
    id = in.readLong();
    description = in.readString();
    amount = in.readDouble();
    final long time = in.readLong();
    timestamp = time != -1 ? new Date(time) : null;
    final int categoryOrd = in.readInt();
    category = categoryOrd != -1 ? Category.values()[categoryOrd] : null;
    in.readTypedList(attachments, Attachment.CREATOR);
}
 
Example 4
Project: Hands-On-Android-UI-Development   File: ClaimItem.java   View Source Code Vote up 5 votes
@Ignore
protected ClaimItem(final Parcel in) {
    id = in.readLong();
    description = in.readString();
    amount = in.readDouble();
    final long time = in.readLong();
    timestamp = time != -1 ? new Date(time) : null;
    final int categoryOrd = in.readInt();
    category = categoryOrd != -1 ? Category.values()[categoryOrd] : null;
    in.readTypedList(attachments, Attachment.CREATOR);
}
 
Example 5
Project: Hands-On-Android-UI-Development   File: ClaimItem.java   View Source Code Vote up 5 votes
@Ignore
protected ClaimItem(final Parcel in) {
    id = in.readLong();
    description = in.readString();
    amount = in.readDouble();
    final long time = in.readLong();
    timestamp = time != -1 ? new Date(time) : null;
    final int categoryOrd = in.readInt();
    category = categoryOrd != -1 ? Category.values()[categoryOrd] : null;
    in.readTypedList(attachments, Attachment.CREATOR);
}
 
Example 6
Project: Hands-On-Android-UI-Development   File: ClaimItem.java   View Source Code Vote up 5 votes
@Ignore
protected ClaimItem(final Parcel in) {
    id = in.readLong();
    description = in.readString();
    amount = in.readDouble();
    final long time = in.readLong();
    timestamp = time != -1 ? new Date(time) : null;
    final int categoryOrd = in.readInt();
    category = categoryOrd != -1 ? Category.values()[categoryOrd] : null;
    in.readTypedList(attachments, Attachment.CREATOR);
}
 
Example 7
Project: Hands-On-Android-UI-Development   File: ClaimItem.java   View Source Code Vote up 5 votes
@Ignore
protected ClaimItem(final Parcel in) {
    id = in.readLong();
    description = in.readString();
    amount = in.readDouble();
    final long time = in.readLong();
    timestamp = time != -1 ? new Date(time) : null;
    final int categoryOrd = in.readInt();
    category = categoryOrd != -1 ? Category.values()[categoryOrd] : null;
    in.readTypedList(attachments, Attachment.CREATOR);
}
 
Example 8
Project: Hands-On-Android-UI-Development   File: ClaimItem.java   View Source Code Vote up 5 votes
protected ClaimItem(final Parcel in) {
    description = in.readString();
    amount = in.readDouble();
    final long time = in.readLong();
    timestamp = time != -1 ? new Date(time) : null;
    final int categoryOrd = in.readInt();
    category = categoryOrd != -1 ? Category.values()[categoryOrd] : null;
    in.readTypedList(attachments, Attachment.CREATOR);
}
 
Example 9
Project: MenuSet   File: MenuParams.java   View Source Code Vote up 5 votes
private MenuParams(Parcel in) {
    this.mActionBarSize = in.readInt();
    in.readTypedList(mMenuObjects, MenuObject.CREATOR);
    this.mAnimationDelay = in.readInt();
    this.mAnimationDuration = in.readInt();
    this.isFitsSystemWindow = in.readByte() != 0;
    this.isClipToPadding = in.readByte() != 0;
    this.isClosableOutside = in.readByte() != 0;
}
 
Example 10
Project: boohee_v5.6   File: Folder.java   View Source Code Vote up 4 votes
private Folder(Parcel in) {
    this.name = in.readString();
    this.path = in.readString();
    this.cover = (Image) in.readParcelable(Image.class.getClassLoader());
    in.readTypedList(this.images, Image.CREATOR);
}
 
Example 11
Project: microMathematics   File: DeleteState.java   View Source Code Vote up 4 votes
public DeleteState(Parcel in)
{
    super();
    in.readTypedList(entries, EntryState.CREATOR);
}
 
Example 12
Project: microMathematics   File: ReplaceState.java   View Source Code Vote up 4 votes
public ReplaceState(Parcel in)
{
    super();
    in.readTypedList(entries, EntryState.CREATOR);
}
 
Example 13
Project: find-client-android   File: WifiData.java   View Source Code Vote up 4 votes
public WifiData(Parcel in) {
    in.readTypedList(mNetworks, WifiDataNetwork.CREATOR);
}
 
Example 14
Project: Hands-On-Android-UI-Development   File: Allowance.java   View Source Code Vote up 4 votes
protected Allowance(final Parcel in) {
    amountPerDay = in.readInt();
    in.readTypedList(items, ClaimItem.CREATOR);
}
 
Example 15
Project: android-chessclock   File: StageManager.java   View Source Code Vote up 4 votes
private void readFromParcel(Parcel parcel) {
    mCurrentStage = parcel.readInt();
    mMoveCount = parcel.readInt();
    mStages = new ArrayList<Stage>();
    parcel.readTypedList(mStages, Stage.CREATOR);
}
 
Example 16
Project: Hands-On-Android-UI-Development   File: Allowance.java   View Source Code Vote up 4 votes
protected Allowance(final Parcel in) {
    amountPerDay = in.readInt();
    in.readTypedList(items, ClaimItem.CREATOR);
}
 
Example 17
Project: Hands-On-Android-UI-Development   File: Allowance.java   View Source Code Vote up 4 votes
protected Allowance(final Parcel in) {
    amountPerDay = in.readInt();
    in.readTypedList(items, ClaimItem.CREATOR);
}
 
Example 18
Project: Hands-On-Android-UI-Development   File: Allowance.java   View Source Code Vote up 4 votes
protected Allowance(final Parcel in) {
    amountPerDay = in.readInt();
    in.readTypedList(items, ClaimItem.CREATOR);
}
 
Example 19
Project: Hands-On-Android-UI-Development   File: Allowance.java   View Source Code Vote up 4 votes
protected Allowance(final Parcel in) {
    amountPerDay = in.readInt();
    in.readTypedList(items, ClaimItem.CREATOR);
}
 
Example 20
Project: Hands-On-Android-UI-Development   File: Allowance.java   View Source Code Vote up 4 votes
protected Allowance(final Parcel in) {
    amountPerDay = in.readInt();
    in.readTypedList(items, ClaimItem.CREATOR);
}