public void a(Parcel paramParcel) {
   a = paramParcel.readArrayList(Event.class.getClassLoader());
   b = paramParcel.readArrayList(User.class.getClassLoader());
   c = paramParcel.readArrayList(YelpBusiness.class.getClassLoader());
   d = ((String) paramParcel.readValue(String.class.getClassLoader()));
   e = ((String) paramParcel.readValue(String.class.getClassLoader()));
   f = paramParcel.readInt();
   g = paramParcel.createIntArray();
 }
 protected FoursquareVenue(Parcel in) {
   id = in.readString();
   name = in.readString();
   url = in.readString();
   contact = in.readParcelable(Contact.class.getClassLoader());
   location = in.readParcelable(Location.class.getClassLoader());
   hereNow = in.readParcelable(HereNow.class.getClassLoader());
   statuses = in.readArrayList(UserReport.class.getClassLoader());
   categories = in.readArrayList(Category.class.getClassLoader());
   verified = in.readByte() != 0x00;
   iconUrl = in.readString();
 }
Example #3
0
 public BatchResponse createFromParcel(Parcel source) {
   BatchResponse field = new BatchResponse();
   field.result = source.readString();
   field.message = source.readString();
   field.itemBeansList = source.readArrayList(BatchBean.class.getClassLoader());
   return field;
 }
 public void readFromParcel(Parcel source) {
   geometryType = source.readInt();
   horizontalAlign = source.readInt();
   index = source.readInt();
   itemData = source.readHashMap(HashMap.class.getClassLoader());
   lineColor = source.readInt();
   lineWidth = source.readInt();
   mapItemClass = source.readString();
   offsetX = source.readInt();
   offsetY = source.readInt();
   symbol = source.readInt();
   verticalAlign = source.readInt();
   query = source.readString();
   mapPoints = source.readArrayList(MapPoint.class.getClassLoader());
   contents = source.readArrayList(MapItemContent.class.getClassLoader());
 }
 public Question(Parcel parcel) {
   this.id = parcel.readString();
   this.modified = parcel.readString();
   this.created = parcel.readString();
   this.body = parcel.readString();
   this.image = parcel.readString();
   this.choices = parcel.readArrayList(Choice.class.getClassLoader());
 }
Example #6
0
 @Override
 public CloudMemori createFromParcel(Parcel source) {
   return new CloudMemori(
       source.readString(),
       source.readString(),
       source.readLong(),
       source.readArrayList(String.class.getClassLoader()),
       source.readArrayList(String.class.getClassLoader()));
 }
Example #7
0
 @SuppressWarnings("unchecked")
 public static <T extends Object> ArrayList<T> readListFromParcel(Parcel in, Class<T> cls) {
   int flag = in.readInt();
   if (flag == EXIST_SEPARATOR) {
     return in.readArrayList(cls.getClassLoader());
   } else {
     return null;
   }
 }
 private TypeaheadPlace(Parcel paramParcel)
 {
   this.a = paramParcel.readString();
   this.b = paramParcel.readString();
   this.f = paramParcel.readArrayList(String.class.getClassLoader());
   this.g = ((GraphQLAddress)paramParcel.readParcelable(GraphQLAddress.class.getClassLoader()));
   this.c = paramParcel.readFloat();
   this.d = paramParcel.readString();
   this.e = ((GraphQLLocation)paramParcel.readParcelable(GraphQLLocation.class.getClassLoader()));
 }
        @Override
        public NormalTableFinalModel createFromParcel(Parcel in) {

          NormalTableFinalModel model = new NormalTableFinalModel();
          model.id = in.readString();
          model.isEmpty = in.readString();
          model.model_name = in.readString();
          model.list_model = in.readArrayList(NormalTableModel.class.getClassLoader());

          return model;
        }
 public PointOfInterest(Parcel in) {
   this.name = in.readString();
   this.id = in.readString();
   this.latLng = new LatLng(in.readDouble(), in.readDouble());
   this.distance = in.readFloat();
   this.address = in.readString();
   this.phonenumber = in.readString();
   this.websiteUri = Uri.parse(in.readString());
   this.wikiLink = "";
   this.placeTypes = in.readArrayList(Integer.class.getClassLoader());
   this.img = in.readInt();
 }
    public SavedState(Parcel source) {
      super(source);
      isSearchBarVisible = source.readInt();
      suggestionsVisible = source.readInt();
      speechMode = source.readInt();

      iconLefttResId = source.readInt();
      iconRightResId = source.readInt();
      hint = source.readString();
      suggestions = source.readArrayList(null);
      maxSuggestions = source.readInt();
    }
Example #12
0
 @SuppressWarnings("unchecked")
 protected Course(Parcel source) {
   super(source);
   NO = source.readString();
   Hours = source.readInt();
   Point = source.readFloat();
   Teacher = source.readString();
   Required = source.readString();
   Like = source.readInt();
   FriendsCount = source.readInt();
   CanLike = source.readByte() == 1;
   CanSchedule = source.readByte() == 1;
   IsAudit = source.readByte() == 1;
   UNO = source.readString();
   WeekDay = source.readString();
   Sections = source.readArrayList(ArrayList.class.getClassLoader());
 }
 private Movie(Parcel in) {
   posterPath = in.readString();
   // http://stackoverflow.com/questions/6201311/how-to-read-write-a-boolean-when-implementing-the-parcelable-interface
   adult = (Boolean) in.readValue(null);
   overview = in.readString();
   releaseDate = in.readString();
   /* THIS COULD BE A PROBLEM BECAUSE GENEREIDS IS A LIST */
   genreIds = in.readArrayList(Integer.class.getClassLoader());
   id = in.readInt();
   originalTitle = in.readString();
   originalLanguage = in.readString();
   title = in.readString();
   backdropPath = in.readString();
   popularity = in.readDouble();
   voteCount = in.readInt();
   video = (Boolean) in.readValue(null);
   voteAverage = in.readDouble();
 }
Example #14
0
 /**
  * Public Constructor
  *
  * @param source the parcel from which to inflate the rollResult
  */
 @SuppressWarnings("unchecked")
 public RollResult(Parcel source) {
   this.rolled = source.readParcelable(getClass().getClassLoader());
   this.results = source.readArrayList(null);
   this.result = source.readInt();
 }
Example #15
0
 public boolean onTransact(
     int paramInt1, Parcel paramParcel1, Parcel paramParcel2, int paramInt2) {
   switch (paramInt1) {
     default:
       return super.onTransact(paramInt1, paramParcel1, paramParcel2, paramInt2);
     case 1598968902:
       paramParcel2.writeString("com.google.android.gms.maps.model.internal.IPolygonDelegate");
       return true;
     case 1:
       paramParcel1.enforceInterface(
           "com.google.android.gms.maps.model.internal.IPolygonDelegate");
       a();
       paramParcel2.writeNoException();
       return true;
     case 2:
       paramParcel1.enforceInterface(
           "com.google.android.gms.maps.model.internal.IPolygonDelegate");
       String str = b();
       paramParcel2.writeNoException();
       paramParcel2.writeString(str);
       return true;
     case 3:
       paramParcel1.enforceInterface(
           "com.google.android.gms.maps.model.internal.IPolygonDelegate");
       a(paramParcel1.createTypedArrayList(LatLng.CREATOR));
       paramParcel2.writeNoException();
       return true;
     case 4:
       paramParcel1.enforceInterface(
           "com.google.android.gms.maps.model.internal.IPolygonDelegate");
       List localList2 = c();
       paramParcel2.writeNoException();
       paramParcel2.writeTypedList(localList2);
       return true;
     case 5:
       paramParcel1.enforceInterface(
           "com.google.android.gms.maps.model.internal.IPolygonDelegate");
       b(paramParcel1.readArrayList(getClass().getClassLoader()));
       paramParcel2.writeNoException();
       return true;
     case 6:
       paramParcel1.enforceInterface(
           "com.google.android.gms.maps.model.internal.IPolygonDelegate");
       List localList1 = d();
       paramParcel2.writeNoException();
       paramParcel2.writeList(localList1);
       return true;
     case 7:
       paramParcel1.enforceInterface(
           "com.google.android.gms.maps.model.internal.IPolygonDelegate");
       a(paramParcel1.readFloat());
       paramParcel2.writeNoException();
       return true;
     case 8:
       paramParcel1.enforceInterface(
           "com.google.android.gms.maps.model.internal.IPolygonDelegate");
       float f2 = e();
       paramParcel2.writeNoException();
       paramParcel2.writeFloat(f2);
       return true;
     case 9:
       paramParcel1.enforceInterface(
           "com.google.android.gms.maps.model.internal.IPolygonDelegate");
       a(paramParcel1.readInt());
       paramParcel2.writeNoException();
       return true;
     case 10:
       paramParcel1.enforceInterface(
           "com.google.android.gms.maps.model.internal.IPolygonDelegate");
       int i3 = f();
       paramParcel2.writeNoException();
       paramParcel2.writeInt(i3);
       return true;
     case 11:
       paramParcel1.enforceInterface(
           "com.google.android.gms.maps.model.internal.IPolygonDelegate");
       b(paramParcel1.readInt());
       paramParcel2.writeNoException();
       return true;
     case 12:
       paramParcel1.enforceInterface(
           "com.google.android.gms.maps.model.internal.IPolygonDelegate");
       int i2 = g();
       paramParcel2.writeNoException();
       paramParcel2.writeInt(i2);
       return true;
     case 13:
       paramParcel1.enforceInterface(
           "com.google.android.gms.maps.model.internal.IPolygonDelegate");
       b(paramParcel1.readFloat());
       paramParcel2.writeNoException();
       return true;
     case 14:
       paramParcel1.enforceInterface(
           "com.google.android.gms.maps.model.internal.IPolygonDelegate");
       float f1 = h();
       paramParcel2.writeNoException();
       paramParcel2.writeFloat(f1);
       return true;
     case 15:
       paramParcel1.enforceInterface(
           "com.google.android.gms.maps.model.internal.IPolygonDelegate");
       int i1 = paramParcel1.readInt();
       boolean bool5 = false;
       if (i1 != 0) {
         bool5 = true;
       }
       a(bool5);
       paramParcel2.writeNoException();
       return true;
     case 16:
       paramParcel1.enforceInterface(
           "com.google.android.gms.maps.model.internal.IPolygonDelegate");
       boolean bool4 = i();
       paramParcel2.writeNoException();
       int n = 0;
       if (bool4) {
         n = 1;
       }
       paramParcel2.writeInt(n);
       return true;
     case 17:
       paramParcel1.enforceInterface(
           "com.google.android.gms.maps.model.internal.IPolygonDelegate");
       int m = paramParcel1.readInt();
       boolean bool3 = false;
       if (m != 0) {
         bool3 = true;
       }
       b(bool3);
       paramParcel2.writeNoException();
       return true;
     case 18:
       paramParcel1.enforceInterface(
           "com.google.android.gms.maps.model.internal.IPolygonDelegate");
       boolean bool2 = j();
       paramParcel2.writeNoException();
       int k = 0;
       if (bool2) {
         k = 1;
       }
       paramParcel2.writeInt(k);
       return true;
     case 19:
       paramParcel1.enforceInterface(
           "com.google.android.gms.maps.model.internal.IPolygonDelegate");
       boolean bool1 = a(a(paramParcel1.readStrongBinder()));
       paramParcel2.writeNoException();
       int j = 0;
       if (bool1) {
         j = 1;
       }
       paramParcel2.writeInt(j);
       return true;
   }
   paramParcel1.enforceInterface("com.google.android.gms.maps.model.internal.IPolygonDelegate");
   int i = k();
   paramParcel2.writeNoException();
   paramParcel2.writeInt(i);
   return true;
 }
 public ReviewerList(Parcel in) {
   in.readArrayList(this.getClass().getClassLoader());
 }
Example #17
0
 public KmlGeometry(Parcel in) {
   mId = in.readString();
   mCoordinates = in.readArrayList(GeoPoint.class.getClassLoader());
 }