Beispiel #1
0
 private void readFromParcel(Parcel in) {
   address = in.readString();
   addressShort = in.readString();
   town = in.readString();
   descrip = in.readString();
   heat = in.readString();
   beds = in.readInt();
   baths = in.readFloat();
   sqft = in.readFloat();
   rent = in.readFloat();
   unitID = in.readInt();
   buildiumID = in.readInt();
   available = (Date) in.readSerializable();
   imageSrc = in.createStringArray();
   lon = in.readFloat();
   lat = in.readFloat();
   favorite = in.readByte() != 0;
   cable = in.readByte() != 0;
   hardwood = in.readByte() != 0;
   refrigerator = in.readByte() != 0;
   laundry = in.readByte() != 0;
   oven = in.readByte() != 0;
   airConditioning = in.readByte() != 0;
   balcony = in.readByte() != 0;
   carport = in.readByte() != 0;
   dishwasher = in.readByte() != 0;
   fenced = in.readByte() != 0;
   fireplace = in.readByte() != 0;
   garage = in.readByte() != 0;
   internet = in.readByte() != 0;
   microwave = in.readByte() != 0;
   walkCloset = in.readByte() != 0;
   start = (Date) in.readSerializable();
   stop = (Date) in.readSerializable();
 }
Beispiel #2
0
 private Loan(Parcel in) {
   this.amountLoan = in.readDouble();
   this.interestRatePerAnnum = in.readDouble();
   this.lifeTime = in.readInt();
   this.mode = (RepaymentMode) in.readSerializable();
   this.time = (RepaymentPeriod) in.readSerializable();
   this.processingFee = in.readDouble();
   this.activityCharge = in.readInt();
 }
 @SuppressWarnings("unchecked")
 public RepositorySessionImpl(Parcel o) {
   this.baseUrl = o.readString();
   this.userIdentifier = o.readString();
   this.password = o.readString();
   this.rootNode = o.readParcelable(FolderImpl.class.getClassLoader());
   this.repositoryInfo = (RepositoryInfo) o.readSerializable();
   this.cmisSession = (Session) o.readSerializable();
   Bundle b = o.readBundle();
   this.userParameters = (Map<String, Serializable>) b.getSerializable("userParameters");
   create();
 }
 private SchedulesRouteModel(Parcel in) {
   this.routeType = in.readInt();
   this.routeId = in.readString();
   this.routeShortName = in.readString();
   this.routeLongName = in.readString();
   this.routeStart = in.readString();
   this.routeEnd = in.readString();
   this.routeStartStopId = in.readString();
   this.routeEndStopId = in.readString();
   this.blockId = (Number) in.readSerializable();
   this.stopSequence = (Number) in.readSerializable();
   this.arriveTime = (Number) in.readSerializable();
   this.serviceId = (Number) in.readSerializable();
   this.tripId = in.readString();
 }
Beispiel #5
0
 @SuppressWarnings("unchecked")
 public PageEntry(Parcel in) {
   mType = (PageType) in.readParcelable(getClass().getClassLoader());
   mTitle = in.readString();
   mId = in.readString();
   mFlags = (EnumSet<Flags>) in.readSerializable();
 }
  private PaymentIntent(final Parcel in) {
    standard = (Standard) in.readSerializable();

    payeeName = in.readString();
    payeeVerifiedBy = in.readString();

    final int outputsLength = in.readInt();
    if (outputsLength > 0) {
      outputs = new Output[outputsLength];
      in.readTypedArray(outputs, Output.CREATOR);
    } else {
      outputs = null;
    }

    memo = in.readString();

    paymentUrl = in.readString();

    final int payeeDataLength = in.readInt();
    if (payeeDataLength > 0) {
      payeeData = new byte[payeeDataLength];
      in.readByteArray(payeeData);
    } else {
      payeeData = null;
    }

    paymentRequestUrl = in.readString();
  }
Beispiel #7
0
 @SuppressWarnings("unchecked")
 protected NetworkResponse(Parcel in) {
   statusCode = in.readInt();
   headers = (HashMap<String, String>) in.readSerializable();
   response = in.readString();
   in.readByteArray(rawResponse);
 }
 public ApiObject createFromParcel(Parcel parcel) {
   final int code = parcel.readInt();
   switch (code) {
     default:
       return new Error("Unknown object code: " + code);
     case Type.ERROR:
       return new Error(parcel.readString());
     case Type.VOID:
       return Void.Instance;
     case Type.INT:
       return new Integer(parcel.readInt());
     case Type.LONG:
       return new Long(parcel.readLong());
     case Type.FLOAT:
       return new Float(parcel.readFloat());
     case Type.BOOLEAN:
       return new Boolean(parcel.readByte() == 1);
     case Type.DATE:
       return new Date(new java.util.Date(parcel.readLong()));
     case Type.STRING:
       return new String(parcel.readString());
     case Type.TEXT_POSITION:
       return new TextPosition(parcel.readInt(), parcel.readInt(), parcel.readInt());
     case Type.SERIALIZABLE:
       return new Serializable(parcel.readSerializable());
     case Type.PARCELABALE:
       return new Parcelable(parcel.readParcelable(null));
   }
 }
 protected TGHttpResult(Parcel source) {
   setResponseCode(source.readInt());
   setResult(source.readString());
   super.put("headers", source.readArray(TGHttpResult.class.getClassLoader()));
   this.changeHeaders2Map();
   setObjectResult(source.readSerializable());
 }
  protected WeekdaysDataSource(Parcel in) {

    this.mDataSource = new ArrayList<>();
    in.readList(this.mDataSource, List.class.getClassLoader());

    this.locale = (Locale) in.readSerializable();

    this.mAttachId = in.readInt();
    this.mWeekdayLayoutId = in.readInt();
    this.mWeekdayViewId = in.readInt();
    this.mBackgroundColor = in.readInt();
    this.mTextColorSelected = in.readInt();
    this.mTextColorUnselected = in.readInt();
    this.mSelectedColor = in.readInt();
    this.mUnselectedColor = in.readInt();

    this.mIsVisible = in.readByte() != 0;
    this.mFillWidth = in.readByte() != 0;
    this.mIsAllDaysSelected = in.readByte() != 0;
    this.mFirstDayOfWeek = in.readInt();
    this.mTextDrawableType = in.readInt();
    this.mNumberOfLetters = in.readInt();

    this.mViewWidth = in.readInt();
    this.mViewHeight = in.readInt();
    this.mViewMargin = in.readInt();
    this.mViewGravity = in.readInt();
    this.mLayoutPadding = in.readInt();

    this.mNestedScrollEnable = in.readByte() != 0;
  }
Beispiel #11
0
 @Override
 protected void readFromParcel(Parcel in) {
   super.readFromParcel(in);
   mCommand = (CommandType) in.readSerializable();
   mAction = in.readString();
   mDiagnosticRequest = in.readParcelable(DiagnosticRequest.class.getClassLoader());
 }
  private AddressAndLabel(final Parcel in) {
    final NetworkParameters addressParameters = (NetworkParameters) in.readSerializable();
    final byte[] addressHash = new byte[Address.LENGTH];
    in.readByteArray(addressHash);
    address = new Address(addressParameters, addressHash);

    label = in.readString();
  }
    private Output(final Parcel in) {
      amount = (BigInteger) in.readSerializable();

      final int programLength = in.readInt();
      final byte[] program = new byte[programLength];
      in.readByteArray(program);
      script = new Script(program);
    }
 // example constructor that takes a Parcel and gives you an object populated
 // with it's values
 private BookingDateInfoBean(Parcel in) {
   year = in.readString();
   month = in.readString();
   monthName = in.readString();
   selectedDate = in.readString();
   bookingDate = (Date) in.readSerializable();
   bookingTime = (Time) in.readSerializable();
 }
 @SuppressWarnings("unchecked")
 SavedState(Parcel in) {
   super(in);
   prefix = in.readString();
   allowDuplicates = in.readInt() != 0;
   tokenClickStyle = TokenClickStyle.values()[in.readInt()];
   tokenDeleteStyle = TokenDeleteStyle.values()[in.readInt()];
   baseObjects = (ArrayList<Serializable>) in.readSerializable();
 }
Beispiel #16
0
 public Contribution(Parcel in) {
   super(in);
   contentUri = (Uri) in.readParcelable(Uri.class.getClassLoader());
   source = in.readString();
   timestamp = (Date) in.readSerializable();
   state = in.readInt();
   transferred = in.readLong();
   isMultiple = in.readInt() == 1;
 }
 @Override
 public OperatorInfo createFromParcel(Parcel in) {
   OperatorInfo opInfo =
       new OperatorInfo(
           in.readString(), /*operatorAlphaLong*/
           in.readString(), /*operatorAlphaShort*/
           in.readString(), /*operatorNumeric*/
           (State) in.readSerializable()); /*state*/
   return opInfo;
 }
 private void readFromParcel(Parcel in) {
   id = in.readInt();
   username = in.readString();
   organization = in.readString();
   fullName = in.readString();
   email = in.readString();
   role = in.readString();
   profilePhoto = in.readString();
   lastUpdated = (Date) in.readSerializable();
 }
Beispiel #19
0
  /** @param source */
  private Reply(Parcel source) {

    Log.d("Parcealbe", "ParcelData(Parcel source): time to put back parcel data");
    textComment = source.readString();
    aUser = (User) source.readValue(getClass().getClassLoader());
    aPicture = (Bitmap) source.readValue(getClass().getClassLoader());
    timeStamp = (Calendar) source.readSerializable();
    parentID = source.readString();
    ID = source.readString();
    likes = source.readInt();
  }
Beispiel #20
0
 public Ride(Parcel in) {
   Log.d(Teleporter.TAG, "deserialize ride");
   dep = (Date) in.readSerializable();
   arr = (Date) in.readSerializable();
   //		dep = new Date(in.readLong());
   //		arr = new Date(in.readLong());
   duration = in.readLong();
   distance = in.readInt();
   uri = in.readString();
   price = in.readInt();
   mode = in.readInt();
 }
 private PaymentParams(Parcel in) {
   this.netbankingOptionList = (ArrayList<NetbankingOption>) in.readSerializable();
   this.topNetbankingOptions = (ArrayList<NetbankingOption>) in.readSerializable();
   this.userSavedOptionList = (ArrayList<PaymentOption>) in.readSerializable();
   this.user = in.readParcelable(CitrusUser.class.getClassLoader());
   this.colorPrimaryDark = in.readString();
   this.colorPrimary = in.readString();
   this.textColorPrimary = in.readString();
   this.accentColor = in.readString();
   this.transactionAmount = in.readParcelable(Amount.class.getClassLoader());
   this.merchantOrTitleName = in.readString();
   this.jsonKeyStore = in.readString();
   this.vanity = in.readString();
   this.accessKey = in.readString();
   this.signinId = in.readString();
   this.signinSecret = in.readString();
   this.signupId = in.readString();
   this.signupSecret = in.readString();
   this.paymentType = in.readParcelable(PaymentType.class.getClassLoader());
   int tmpEnvironment = in.readInt();
   this.environment = tmpEnvironment == -1 ? null : Environment.values()[tmpEnvironment];
   this.paymentOption = in.readParcelable(PaymentOption.class.getClassLoader());
 }
Beispiel #22
0
  private static LinearLayout deserializeMethodView(Parcel parcel, LayoutInflater inflater) {
    // Restore own view state.
    String text = parcel.readString();
    @SuppressWarnings("unused")
    boolean isActivated = (parcel.readByte() == 1);
    int numChildren = parcel.readInt();
    GlobReply entry = (GlobReply) parcel.readSerializable();
    LinearLayout methodView = createMethodView(text, entry, inflater);

    // Restore child view state.
    for (int i = 1; i < numChildren; i++) {
      methodView.addView(deserializeView(parcel, inflater));
    }
    return methodView;
  }
Beispiel #23
0
  private static LinearLayout deserializeObjectView(Parcel parcel, LayoutInflater inflater) {
    // Restore own view state.
    String text = parcel.readString();
    boolean isActivated = (parcel.readByte() == 1);
    int numChildren = parcel.readInt();
    GlobReply entry = (GlobReply) parcel.readSerializable();
    LinearLayout objView = createObjectView(text, entry, inflater);
    updateObjectView(objView, isActivated);

    // Restore child view state.
    for (int i = 1; i < numChildren; i++) {
      objView.addView(deserializeView(parcel, inflater));
    }
    return objView;
  }
 protected Movie(Parcel in) {
   moviePoster = in.readString();
   adult = in.readString();
   movieOverview = in.readString();
   releaseDate = in.readString();
   movieID = in.readInt();
   originalMovieTitle = in.readString();
   originalMovieLang = in.readString();
   movieTitle = in.readString();
   movieBackdrop = in.readString();
   popularity = in.readFloat();
   voteCount = in.readString();
   hasVideo = in.readByte() != 0;
   averageVote = in.readFloat();
   genreIds = (ArrayList<Integer>) in.readSerializable();
 }
Beispiel #25
0
 public SearchResult(final Parcel in) {
   final ArrayList<String> list = new ArrayList<String>();
   in.readStringList(list);
   geocodes = new HashSet<String>(list);
   final ArrayList<String> filteredList = new ArrayList<String>();
   in.readStringList(filteredList);
   filteredGeocodes = new HashSet<String>(filteredList);
   error = (StatusCode) in.readSerializable();
   url = in.readString();
   final int length = in.readInt();
   if (length >= 0) {
     viewstates = new String[length];
     in.readStringArray(viewstates);
   }
   setTotalCountGC(in.readInt());
 }
Beispiel #26
0
 public Collect(Parcel paramParcel) {
   Collect localCollect = (Collect) paramParcel.readSerializable();
   int i = localCollect.getList_id();
   this.list_id = i;
   String str1 = localCollect.getTitle();
   this.title = str1;
   String str2 = localCollect.getAuthor();
   this.author = str2;
   String str3 = localCollect.getCover();
   this.cover = str3;
   String str4 = localCollect.getDescription();
   this.description = str4;
   int j = localCollect.getSongs_count();
   this.songs_count = j;
   int k = localCollect.getDownloads();
   this.downloads = k;
   List localList = localCollect.getSongs();
   this.songs = localList;
 }
 private PointerEvent(Parcel in) {
   super(in);
   this.pointerEventType = (PointerEventType) in.readSerializable();
   this.x = in.readInt();
   this.y = in.readInt();
 }
 public SavedState(Parcel source) {
   super(source);
   // Get the current preference's value
   car = (Car) source.readSerializable(); // Change this to read the appropriate data type
 }
 @Override
 public CommandResult createFromParcel(Parcel source) {
   return new CommandResult(source.readString(), source.readSerializable());
 }
Beispiel #30
0
 private TypeBean(Parcel in) {
   this.objectId = in.readString();
   this.name = in.readString();
   this.toolBeans = (ArrayList<ToolBean>) in.readSerializable();
 }