android.os.Parcel#writeFloatArray ( )源码实例Demo

下面列出了android.os.Parcel#writeFloatArray ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: android_9.0.0_r45   文件: CursorAnchorInfo.java
/**
 * Used to package this object into a {@link Parcel}.
 *
 * @param dest The {@link Parcel} to be written.
 * @param flags The flags used for parceling.
 */
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(mHashCode);
    dest.writeInt(mSelectionStart);
    dest.writeInt(mSelectionEnd);
    dest.writeInt(mComposingTextStart);
    TextUtils.writeToParcel(mComposingText, dest, flags);
    dest.writeInt(mInsertionMarkerFlags);
    dest.writeFloat(mInsertionMarkerHorizontal);
    dest.writeFloat(mInsertionMarkerTop);
    dest.writeFloat(mInsertionMarkerBaseline);
    dest.writeFloat(mInsertionMarkerBottom);
    dest.writeParcelable(mCharacterBoundsArray, flags);
    dest.writeFloatArray(mMatrixValues);
}
 
源代码2 项目: android_9.0.0_r45   文件: BrightnessChangeEvent.java
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeFloat(brightness);
    dest.writeLong(timeStamp);
    dest.writeString(packageName);
    dest.writeInt(userId);
    dest.writeFloatArray(luxValues);
    dest.writeLongArray(luxTimestamps);
    dest.writeFloat(batteryLevel);
    dest.writeFloat(powerBrightnessFactor);
    dest.writeBoolean(nightMode);
    dest.writeInt(colorTemperature);
    dest.writeFloat(lastBrightness);
    dest.writeBoolean(isDefaultBrightnessConfig);
    dest.writeBoolean(isUserSetBrightness);
}
 
源代码3 项目: Lassi-Android   文件: CropImage.java
@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());
}
 
源代码4 项目: giffun   文件: CropImage.java
@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());
}
 
源代码5 项目: android_9.0.0_r45   文件: SparseRectFArray.java
/**
 * Used to package this object into a {@link Parcel}.
 *
 * @param dest The {@link Parcel} to be written.
 * @param flags The flags used for parceling.
 */
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeIntArray(mKeys);
    dest.writeFloatArray(mCoordinates);
    dest.writeIntArray(mFlagsArray);
}
 
源代码6 项目: timecat   文件: CropImage.java
@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());
}
 
源代码7 项目: Musicoco   文件: BarWavesView.java
@Override
public void writeToParcel(Parcel out, int flags) {
    super.writeToParcel(out, flags);
    out.writeInt(barColor);
    out.writeInt(fallAnimEnable);
    out.writeInt(fallDuration);
    out.writeValue(waveColors);
    out.writeFloatArray(waveHeight);
}
 
源代码8 项目: libcommon   文件: ViewTransformDelegater.java
@Override
     public void writeToParcel(final Parcel out, final int flags) {
         super.writeToParcel(out, flags);
         // should write as same order when reading
         out.writeInt(mState);
         out.writeInt(mHandleTouchEvent);
         out.writeFloat(mMinScale);
out.writeFloat(mMaxScale);
         out.writeFloat(mCurrentDegrees);
         out.writeFloatArray(mMatrixCache);
     }
 
源代码9 项目: pandroid   文件: ViewInfosContainer.java
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeSerializable(viewClass);
    dest.writeInt(viewId);
    dest.writeSerializable(viewTagS);
    dest.writeParcelable(viewTagP, flags);
    dest.writeSerializable(backgroundColor);
    dest.writeIntArray(padding);
    dest.writeFloatArray(position);
    dest.writeIntArray(size);
    dest.writeInt(textColor);
    dest.writeFloat(textSize);
    dest.writeInt(textGravity);
    dest.writeFloat(elevation);
}
 
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeIntArray(this.a);
    dest.writeDoubleArray(this.b);
    dest.writeStringArray(this.c);
    dest.writeFloatArray(this.e);
    dest.writeBooleanArray(this.f);
    dest.writeByteArray(this.g);
}
 
源代码11 项目: Android-Image-Cropper   文件: CropImage.java
@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());
}
 
源代码12 项目: mollyim-android   文件: ParcelUtils.java
public static void writeMatrix(@NonNull Parcel dest, @NonNull Matrix matrix) {
  float[] values = new float[9];
  matrix.getValues(values);
  dest.writeFloatArray(values);
}
 
源代码13 项目: chromadoze   文件: SpectrumData.java
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeFloatArray(mData);
}
 
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(mLocalDate.toString());
    dest.writeFloatArray(mBucketBoundaries);
    dest.writeFloatArray(mStats);
}
 
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeFloatArray(mLux);
    dest.writeFloatArray(mNits);
    dest.writeString(mDescription);
}
 
源代码16 项目: android-ui   文件: Action.java
@Override
public void writeToParcel(Parcel dest, int flags) {
	dest.writeFloatArray(this.lineData);
	dest.writeTypedList(lineSegments);
}
 
源代码17 项目: SimpleDialogFragments   文件: ColorWheelView.java
@Override
public void writeToParcel(Parcel out, int flags) {
    super.writeToParcel(out, flags);
    out.writeFloatArray(saveColor);
    out.writeInt(saveAlpha);
}
 
源代码18 项目: deltachat-android   文件: ParcelUtils.java
public static void writeMatrix(@NonNull Parcel dest, @NonNull Matrix matrix) {
  float[] values = new float[9];
  matrix.getValues(values);
  dest.writeFloatArray(values);
}
 
@Override
public void writeToParcel(Parcel dest, int flags) {
  dest.writeFloatArray(Arrays.copyOfRange(x, 0, count));
  dest.writeFloatArray(Arrays.copyOfRange(y, 0, count));
}
 
源代码20 项目: paperparcel   文件: StaticAdapters.java
@Override public void writeToParcel(@Nullable float[] value, @NonNull Parcel dest, int flags) {
  dest.writeFloatArray(value);
}
 
 方法所在类
 同类方法