當前位置: 首頁>>代碼示例>>Java>>正文


Java Parcel.writeFloatArray方法代碼示例

本文整理匯總了Java中android.os.Parcel.writeFloatArray方法的典型用法代碼示例。如果您正苦於以下問題:Java Parcel.writeFloatArray方法的具體用法?Java Parcel.writeFloatArray怎麽用?Java Parcel.writeFloatArray使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在android.os.Parcel的用法示例。


在下文中一共展示了Parcel.writeFloatArray方法的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@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);
}
 
開發者ID:idisfkj,項目名稱:AndroidShareElement,代碼行數:22,代碼來源:ShareElementInfo.java

示例2: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@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);
}
 
開發者ID:nyris,項目名稱:Nyris.IMX.Android,代碼行數:22,代碼來源:Offer.java

示例3: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@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());
}
 
開發者ID:chuch0805,項目名稱:Android-Demo_ImageCroper,代碼行數:10,代碼來源:CropImage.java

示例4: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
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);
}
 
開發者ID:JackChan1999,項目名稱:boohee_v5.6,代碼行數:37,代碼來源:StatusUser.java

示例5: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@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());
}
 
開發者ID:prashantsaini1,項目名稱:android-titanium-imagecropper,代碼行數:12,代碼來源:CropImage.java

示例6: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel parcel, int i) {
    parcel.writeFloatArray(values);
    parcel.writeStringArray(keys);
}
 
開發者ID:wax911,項目名稱:anitrend-app,代碼行數:6,代碼來源:KeyValueTemp.java

示例7: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel out, int flags) {
    super.writeToParcel(out, flags);
    out.writeFloatArray(saveColor);
    out.writeInt(saveAlpha);
}
 
開發者ID:eltos,項目名稱:SimpleDialogFragments,代碼行數:7,代碼來源:ColorWheelView.java


注:本文中的android.os.Parcel.writeFloatArray方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。