Ejemplo n.º 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();
 }
Ejemplo n.º 2
0
    public Style(Parcel parcel) {

      mType = Type.values()[parcel.readInt()];

      if (mType == Type.BUTTON) {

        mButtonText = parcel.readString();
        mButtonTextSize = parcel.readFloat();
        mButtonTextColor = parcel.readInt();
        mButtonResource = parcel.readInt();
        mButtonDividerResource = parcel.readInt();
        mButtonTypeface = parcel.readInt();
        mClickListenerTag = parcel.readString();
      }

      boolean hasIcon = parcel.readByte() != 0;

      if (hasIcon) {

        mIconResource = parcel.readInt();
        mIconPosition = IconPosition.values()[parcel.readInt()];
      }

      mDismissListenerTag = parcel.readString();
      mAnimations = Animations.values()[parcel.readInt()];
      mText = parcel.readString();
      mTypeface = parcel.readInt();
      mDuration = parcel.readInt();
      mTextColor = parcel.readInt();
      mTextSize = parcel.readFloat();
      isIndeterminate = parcel.readByte() != 0;
      mBackgroundResource = parcel.readInt();
      isTouchDismissable = parcel.readByte() != 0;
      isSwipeDismissable = parcel.readByte() != 0;
    }
Ejemplo n.º 3
0
  public Hero(Parcel parcel) {
    mOwner = Player.CURRENT;
    // Log.v(TAG, "load");

    // general
    mName = parcel.readString();
    mIsFavourite = parcel.readByte() > 0;
    mHealthPoint = parcel.readFloat();
    mCharm = parcel.readFloat();
    mOffensivePoint = parcel.readFloat();
    mDefensivePoint = parcel.readFloat();
    mPicture = parcel.readInt();

    // statistics
    mTotalOffensivePoint = parcel.readFloat();
    mTotalDefensivePoint = parcel.readFloat();
    mTotalDrunkCharm = parcel.readFloat();
    mTotalKills = parcel.readInt();
    mTotalDeaths = parcel.readInt();
    mTotalAttacks = parcel.readInt();
    mTotalDefences = parcel.readInt();
    mTotalBattles = parcel.readInt();

    sHeroRepository.add(this);
    notifyChanged();
  }
Ejemplo n.º 4
0
 public CMXDimension(Parcel in) {
   mLength = in.readFloat();
   mWidth = in.readFloat();
   mHeight = in.readFloat();
   mOffsetX = in.readFloat();
   mOffsetY = in.readFloat();
   mUnit = Unit.values()[in.readInt()];
 }
Ejemplo n.º 5
0
 protected Production(Parcel in) {
   this.mName = in.readString();
   this.mPrice = in.readFloat();
   this.mScorePrice = in.readFloat();
   this.mPicture = in.readInt();
   this.mIcon_url = in.readString();
   this.mDescription = in.readString();
 }
 private PolylineOptions(Parcel in) {
   polyline = new Polyline();
   ArrayList<LatLng> pointsList = new ArrayList<>();
   in.readList(pointsList, LatLng.class.getClassLoader());
   addAll(pointsList);
   alpha(in.readFloat());
   color(in.readInt());
   width(in.readFloat());
 }
Ejemplo n.º 7
0
 private LoadAvgLog(Parcel in) {
   setId(in.readLong());
   setYyyymmdd(in.readString());
   setOne(in.readFloat());
   setFive(in.readFloat());
   setTen(in.readFloat());
   setCreatedOnLong(in.readLong());
   setCreatedOn(new Timestamp(in.readLong()));
 }
 protected List_TerminalOnline(Parcel in) {
   num = in.readInt();
   IDnum = in.readInt();
   style = in.readInt();
   longtitudeStyle = in.readString();
   longitude = in.readFloat();
   latitudeStyle = in.readString();
   latitude = in.readFloat();
   height = in.readInt();
 }
  public LogotipoB(Parcel p) {

    this.name = p.readString();
    this.folder = p.readString();
    this.stitches = p.readInt();
    this.colors = p.readInt();
    this.stops = p.readInt();
    this.width = p.readFloat();
    this.height = p.readFloat();
    this.image = (byte[]) p.readValue(ClassLoader.getSystemClassLoader());
    this.lastUpdate = p.readLong();
    this.id = p.readLong();
  }
Ejemplo n.º 10
0
 private WheelSavedState(Parcel in) {
   super(in);
   this.mProgress = in.readFloat();
   this.mTargetProgress = in.readFloat();
   this.isSpinning = in.readByte() != 0;
   this.spinSpeed = in.readFloat();
   this.barWidth = in.readInt();
   this.barColor = in.readInt();
   this.rimWidth = in.readInt();
   this.rimColor = in.readInt();
   this.circleRadius = in.readInt();
   this.linearProgress = in.readByte() != 0;
   this.fillRadius = in.readByte() != 0;
 }
Ejemplo n.º 11
0
  private void readFromParcel(Parcel in) {
    mId = in.readInt();
    mName = in.readString();
    mSources = in.readInt();
    mKeyboardType = in.readInt();

    for (; ; ) {
      int axis = in.readInt();
      if (axis < 0) {
        break;
      }
      addMotionRange(
          axis, in.readInt(), in.readFloat(), in.readFloat(), in.readFloat(), in.readFloat());
    }
  }
Ejemplo n.º 12
0
  public Quilt(Parcel in) {
    m_new = in.readInt() == 0 ? false : true;
    m_rowCount = in.readInt();
    m_columnCount = in.readInt();
    m_width = in.readFloat();
    m_height = in.readFloat();
    m_rows = new ArrayList<ArrayList<QuiltBlock>>();

    for (int row = 0; row < m_rowCount; ++row) {
      for (int column = 0; column < m_columnCount; ++column) {
        QuiltBlock quiltBlock = (QuiltBlock) in.readParcelable(QuiltBlock.class.getClassLoader());
        setQuiltBlock(row, column, quiltBlock);
      }
    }
  }
 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));
   }
 }
Ejemplo n.º 14
0
 protected ImageInfo(Parcel in) {
   mRect = in.readParcelable(RectF.class.getClassLoader());
   mLocalRect = in.readParcelable(RectF.class.getClassLoader());
   mImgRect = in.readParcelable(RectF.class.getClassLoader());
   mWidgetRect = in.readParcelable(RectF.class.getClassLoader());
   mScale = in.readFloat();
 }
Ejemplo n.º 15
0
  public WorkPlace(Parcel source) {
    signInData = source.readParcelable(SignInData.class.getClassLoader());

    name = source.readString();
    location = source.readString();
    pincode = source.readString();
    phone = source.readString();
    altPhone = source.readString();
    emailId = source.readString();
    servPointType = source.readString();
    servCategory = source.readString();
    speciality = source.readString();
    qualification = source.readString();
    workingDays = source.readString();

    experience = source.readFloat();
    consultFee = source.readFloat();

    startTime = source.readInt();
    endTime = source.readInt();
    idServicePoint = source.readInt();
    idService = source.readInt();

    city = new City(source);
    notes = source.readString();
  }
Ejemplo n.º 16
0
 public GalleryImage(Parcel source) {
   hash = source.readString();
   account_url = source.readString();
   title = source.readString();
   score = source.readInt();
   starting_score = source.readInt();
   virality = source.readFloat();
   size = source.readInt();
   views = source.readLong();
   is_hot = source.readByte() == 1;
   is_album = source.readByte() == 1;
   album_cover = source.readString();
   mimetype = source.readString();
   ext = source.readString();
   width = source.readInt();
   height = source.readInt();
   ups = source.readInt();
   downs = source.readInt();
   points = source.readInt();
   reddit = source.readString();
   bandwidth = source.readString();
   timestamp = source.readString();
   hot_datetime = source.readString();
   source.readList(images, AlbumImages.class.getClassLoader());
 }
Ejemplo n.º 17
0
 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();
 }
Ejemplo n.º 18
0
 private SavedState(Parcel in) {
   super(in);
   boolean[] b = null;
   in.readBooleanArray(b);
   if (b != null && b.length > 0) isStarting = b[0];
   step = in.readFloat();
 }
  private PrintJobInfo(@NonNull Parcel parcel) {
    mId = parcel.readParcelable(null);
    mLabel = parcel.readString();
    mPrinterId = parcel.readParcelable(null);
    mPrinterName = parcel.readString();
    mState = parcel.readInt();
    mAppId = parcel.readInt();
    mTag = parcel.readString();
    mCreationTime = parcel.readLong();
    mCopies = parcel.readInt();
    Parcelable[] parcelables = parcel.readParcelableArray(null);
    if (parcelables != null) {
      mPageRanges = new PageRange[parcelables.length];
      for (int i = 0; i < parcelables.length; i++) {
        mPageRanges[i] = (PageRange) parcelables[i];
      }
    }
    mAttributes = (PrintAttributes) parcel.readParcelable(null);
    mDocumentInfo = (PrintDocumentInfo) parcel.readParcelable(null);
    mProgress = parcel.readFloat();
    mStatus = parcel.readCharSequence();
    mStatusRes = parcel.readInt();
    mStatusResAppPackageName = parcel.readCharSequence();
    mCanceling = (parcel.readInt() == 1);
    mAdvancedOptions = parcel.readBundle();

    if (mAdvancedOptions != null) {
      Preconditions.checkArgument(!mAdvancedOptions.containsKey(null));
    }
  }
 public static void keep_readFloat(Parcel paramParcel, Field paramField, Object paramObject) {
   try {
     paramField.setFloat(paramObject, paramParcel.readFloat());
     return;
   } catch (Exception paramParcel) {
     v.e("MicroMsg.MCacheItem", "exception:%s", new Object[] {be.f(paramParcel)});
   }
 }
 private ProgressSavedState(Parcel in) {
   super(in);
   this.mCurrentProgress = in.readFloat();
   this.mTargetProgress = in.readFloat();
   this.mProgressBarEnabled = in.readInt() != 0;
   this.mSpinSpeed = in.readFloat();
   this.mProgress = in.readInt();
   this.mProgressWidth = in.readInt();
   this.mProgressColor = in.readInt();
   this.mProgressBackgroundColor = in.readInt();
   this.mProgressBarVisibilityChanged = in.readInt() != 0;
   this.mProgressIndeterminate = in.readInt() != 0;
   this.mShouldProgressIndeterminate = in.readInt() != 0;
   this.mShouldSetProgress = in.readInt() != 0;
   this.mAnimateProgress = in.readInt() != 0;
   this.mShowProgressBackground = in.readInt() != 0;
 }
Ejemplo n.º 22
0
 public static Float readFloatFromParcel(Parcel in) {
   int flag = in.readInt();
   if (flag == EXIST_SEPARATOR) {
     return in.readFloat();
   } else {
     return null;
   }
 }
Ejemplo n.º 23
0
 @SuppressWarnings("unchecked")
 private FloatParcelable(android.os.Parcel parcel) {
   if (parcel.readInt() == 1) {
     contents = parcel.readFloat();
   } else {
     contents = null;
   }
 }
Ejemplo n.º 24
0
 /** Constructor that creates a result from a parcel. */
 public Result(Parcel parcel) {
   mId = parcel.readString();
   mExerciseId = parcel.readString();
   date = parcel.readLong();
   weight = parcel.readFloat();
   reps = parcel.readInt();
   additionalReps = parcel.readInt();
   sets = parcel.readInt();
 }
 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()));
 }
Ejemplo n.º 26
0
 protected Item(Parcel in) {
   id = in.readInt();
   name = in.readString();
   description = in.readString();
   price = in.readFloat();
   category = (Category) in.readValue(Category.class.getClassLoader());
   category_id = in.readInt();
   created_at = in.readString();
   updated_at = in.readString();
 }
Ejemplo n.º 27
0
 void readParcel() {
   logReadInfo("before reading");
   p.setDataPosition(0);
   logReadInfo("byte = " + p.readByte());
   logReadInfo("int = " + p.readInt());
   logReadInfo("long = " + p.readLong());
   logReadInfo("float = " + p.readFloat());
   logReadInfo("double = " + p.readDouble());
   logReadInfo("string = " + p.readString());
 }
 public ExtendedTwo(Parcel aSource) {
   super(aSource);
   long date = aSource.readLong();
   date1 = date == -1 ? null : new Date(date);
   string1 = aSource.readString();
   boolean1 = aSource.readInt() == 1;
   int1 = aSource.readInt();
   long1 = aSource.readLong();
   float1 = aSource.readFloat();
   double1 = aSource.readDouble();
 }
Ejemplo n.º 29
0
 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();
 }
Ejemplo n.º 30
0
  protected ExamResult(Parcel in) {

    id = in.readInt();
    school_id = in.readInt();
    class_id = in.readInt();
    exam_type = in.readInt();
    exam_dt = in.readString();
    subject_id = in.readInt();
    teacher_id = in.readInt();
    student_id = in.readInt();
    student_name = in.readString();
    notice = in.readString();
    result_type_id = in.readInt();
    iresult = in.readInt();
    fresult = in.readFloat();
    sresult = in.readString();
    term_id = in.readInt();
    term = in.readString();
    subject_name = in.readString();
    exam_month = in.readInt();
    exam_year = in.readInt();
    teacher = in.readString();
    exam_id = in.readInt();
    std_photo = in.readString();
    std_nickname = in.readString();
    exam_name = in.readString();

    m1 = in.readString();
    m2 = in.readString();
    m3 = in.readString();
    m4 = in.readString();
    m5 = in.readString();

    m6 = in.readString();
    m7 = in.readString();
    m8 = in.readString();
    m9 = in.readString();
    m10 = in.readString();

    m11 = in.readString();
    m12 = in.readString();
    m13 = in.readString();
    m14 = in.readString();
    m15 = in.readString();

    m16 = in.readString();
    m17 = in.readString();
    m18 = in.readString();
    m19 = in.readString();
    m20 = in.readString();

    std_fullname = in.readString();
  }