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

The following are Jave code examples for showing how to use writeFloatArray() 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: AndroidShareElement   File: ShareElementInfo.java   View Source Code Vote up 6 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeIntArray(mOriginalLocation);
    dest.writeIntArray(mTargetLocation);
    dest.writeFloatArray(mOriginalValues);
    dest.writeFloatArray(mTargetValues);
    dest.writeInt(mOriginalWidth);
    dest.writeInt(mOriginalHeight);
    dest.writeInt(mTargetWidth);
    dest.writeInt(mTargetHeight);
    dest.writeInt(mOriginalViewWidth);
    dest.writeInt(mOriginalViewHeight);
    dest.writeInt(mTargetViewWidth);
    dest.writeInt(mTargetViewHeight);
    dest.writeInt(mCenterOffsetX);
    dest.writeInt(mCenterOffsetY);
    dest.writeFloat(mScaleX);
    dest.writeFloat(mScaleY);
    dest.writeFloat(mPivotX);
    dest.writeFloat(mPivotY);
}
 
Example 2
Project: Nyris.IMX.Android   File: Offer.java   View Source Code Vote up 6 votes
@Override
public void writeToParcel(Parcel parcel, int i) {
    parcel.writeString(title);
    parcel.writeString(description);
    parcel.writeString(descriptionLong);
    parcel.writeString(language);
    parcel.writeString(brand);
    parcel.writeFloatArray(catalogNumbers);
    parcel.writeParcelable(customIds, i);
    parcel.writeStringArray(keywords);
    parcel.writeStringArray(categories);
    parcel.writeString(availability);
    parcel.writeString(groupId);
    parcel.writeString(price);
    parcel.writeString(salePrice);
    parcel.writeParcelable(links, i);
    parcel.writeStringArray(images);
    parcel.writeString(metadata);
    parcel.writeString(sku);
    parcel.writeFloat(score);
}
 
Example 3
Project: Android-Demo_ImageCroper   File: CropImage.java   View Source Code Vote up 5 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeParcelable(getUri(), flags);
    dest.writeSerializable(getError());
    dest.writeFloatArray(getCropPoints());
    dest.writeParcelable(getCropRect(), flags);
    dest.writeInt(getRotation());
    dest.writeInt(getSampleSize());
}
 
Example 4
Project: Bigbang   File: CropImage.java   View Source Code Vote up 5 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeParcelable(getUri(), flags);
    dest.writeSerializable(getError());
    dest.writeFloatArray(getCropPoints());
    dest.writeParcelable(getCropRect(), flags);
    dest.writeInt(getRotation());
    dest.writeInt(getSampleSize());
}
 
Example 5
Project: boohee_v5.6   File: StatusUser.java   View Source Code Vote up 5 votes
public void writeToParcel(Parcel dest, int flags) {
    byte b;
    byte b2 = (byte) 1;
    dest.writeInt(this.id);
    dest.writeString(this.nickname);
    dest.writeString(this.realname);
    dest.writeFloatArray(this.location);
    dest.writeString(this.address);
    dest.writeFloat(this.bmi);
    dest.writeString(this.description);
    dest.writeString(this.avatar_url);
    dest.writeString(this.gender);
    dest.writeInt(this.follower_count);
    dest.writeInt(this.following_count);
    dest.writeInt(this.post_count);
    dest.writeInt(this.envious_count);
    dest.writeInt(this.jealous_count);
    dest.writeInt(this.hateful_count);
    if (this.following) {
        b = (byte) 1;
    } else {
        b = (byte) 0;
    }
    dest.writeByte(b);
    if (this.invited) {
        b = (byte) 1;
    } else {
        b = (byte) 0;
    }
    dest.writeByte(b);
    dest.writeString(this.title);
    if (!this.light) {
        b2 = (byte) 0;
    }
    dest.writeByte(b2);
}
 
Example 6
Project: android-titanium-imagecropper   File: CropImage.java   View Source Code Vote up 5 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
  dest.writeParcelable(getOriginalUri(), flags);
  dest.writeParcelable(getUri(), flags);
  dest.writeSerializable(getError());
  dest.writeFloatArray(getCropPoints());
  dest.writeParcelable(getCropRect(), flags);
  dest.writeParcelable(getWholeImageRect(), flags);
  dest.writeInt(getRotation());
  dest.writeInt(getSampleSize());
}
 
Example 7
Project: anitrend-app   File: KeyValueTemp.java   View Source Code Vote up 4 votes
@Override
public void writeToParcel(Parcel parcel, int i) {
    parcel.writeFloatArray(values);
    parcel.writeStringArray(keys);
}
 
Example 8
Project: SimpleDialogFragments   File: ColorWheelView.java   View Source Code Vote up 4 votes
@Override
public void writeToParcel(Parcel out, int flags) {
    super.writeToParcel(out, flags);
    out.writeFloatArray(saveColor);
    out.writeInt(saveAlpha);
}