createFloatArray ( )源码实例Demo

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

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

源代码1 项目: Lassi-Android   文件: CropImage.java
protected ActivityResult(Parcel in) {
    super(
            null,
            in.readParcelable(Uri.class.getClassLoader()),
            null,
            in.readParcelable(Uri.class.getClassLoader()),
            (Exception) in.readSerializable(),
            in.createFloatArray(),
            in.readParcelable(Rect.class.getClassLoader()),
            in.readParcelable(Rect.class.getClassLoader()),
            in.readInt(),
            in.readInt());
}
 
源代码2 项目: giffun   文件: CropImage.java
protected ActivityResult(Parcel in) {
  super(
      null,
      (Uri) in.readParcelable(Uri.class.getClassLoader()),
      null,
      (Uri) in.readParcelable(Uri.class.getClassLoader()),
      (Exception) in.readSerializable(),
      in.createFloatArray(),
      (Rect) in.readParcelable(Rect.class.getClassLoader()),
      (Rect) in.readParcelable(Rect.class.getClassLoader()),
      in.readInt(),
      in.readInt());
}
 
源代码3 项目: android_9.0.0_r45   文件: CursorAnchorInfo.java
public CursorAnchorInfo(final Parcel source) {
    mHashCode = source.readInt();
    mSelectionStart = source.readInt();
    mSelectionEnd = source.readInt();
    mComposingTextStart = source.readInt();
    mComposingText = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
    mInsertionMarkerFlags = source.readInt();
    mInsertionMarkerHorizontal = source.readFloat();
    mInsertionMarkerTop = source.readFloat();
    mInsertionMarkerBaseline = source.readFloat();
    mInsertionMarkerBottom = source.readFloat();
    mCharacterBoundsArray = source.readParcelable(SparseRectFArray.class.getClassLoader());
    mMatrixValues = source.createFloatArray();
}
 
public BrightnessConfiguration createFromParcel(Parcel in) {
    float[] lux = in.createFloatArray();
    float[] nits = in.createFloatArray();
    Builder builder = new Builder(lux, nits);
    builder.setDescription(in.readString());
    return builder.build();
}
 
源代码5 项目: android_9.0.0_r45   文件: BrightnessChangeEvent.java
private BrightnessChangeEvent(Parcel source) {
    brightness = source.readFloat();
    timeStamp = source.readLong();
    packageName = source.readString();
    userId = source.readInt();
    luxValues = source.createFloatArray();
    luxTimestamps = source.createLongArray();
    batteryLevel = source.readFloat();
    powerBrightnessFactor = source.readFloat();
    nightMode = source.readBoolean();
    colorTemperature = source.readInt();
    lastBrightness = source.readFloat();
    isDefaultBrightnessConfig = source.readBoolean();
    isUserSetBrightness = source.readBoolean();
}
 
源代码6 项目: pandroid   文件: ViewInfosContainer.java
protected ViewInfosContainer(Parcel in) {
    viewClass = (Class<? extends View>) in.readSerializable();
    viewId = in.readInt();
    viewTagS = in.readSerializable();
    viewTagP = in.readParcelable(getClass().getClassLoader());
    backgroundColor = (Integer) in.readSerializable();
    padding = in.createIntArray();
    position = in.createFloatArray();
    size = in.createIntArray();
    textColor = in.readInt();
    textSize = in.readFloat();
    textGravity = in.readInt();
    elevation = in.readFloat();
}
 
源代码7 项目: Android-Image-Cropper   文件: CropImage.java
protected ActivityResult(Parcel in) {
  super(
      null,
      (Uri) in.readParcelable(Uri.class.getClassLoader()),
      null,
      (Uri) in.readParcelable(Uri.class.getClassLoader()),
      (Exception) in.readSerializable(),
      in.createFloatArray(),
      (Rect) in.readParcelable(Rect.class.getClassLoader()),
      (Rect) in.readParcelable(Rect.class.getClassLoader()),
      in.readInt(),
      in.readInt());
}
 
protected PrimitiveArrayParcelable(Parcel in) {
    this.a = in.createIntArray();
    this.b = in.createDoubleArray();
    this.c = in.createStringArray();
    this.e = in.createFloatArray();
    this.f = in.createBooleanArray();
    this.g = in.createByteArray();
}
 
@Override
public AutomaticControlPointBezierLine createFromParcel(Parcel in) {
  float[] x = in.createFloatArray();
  float[] y = in.createFloatArray();
  return new AutomaticControlPointBezierLine(x, y, x != null ? x.length : 0);
}
 
源代码10 项目: android_9.0.0_r45   文件: SparseRectFArray.java
public SparseRectFArray(final Parcel source) {
    mKeys = source.createIntArray();
    mCoordinates = source.createFloatArray();
    mFlagsArray = source.createIntArray();
}
 
private AmbientBrightnessDayStats(Parcel source) {
    mLocalDate = LocalDate.parse(source.readString());
    mBucketBoundaries = source.createFloatArray();
    mStats = source.createFloatArray();
}
 
源代码12 项目: android_9.0.0_r45   文件: Curve.java
public Curve createFromParcel(Parcel in) {
    float[] x = in.createFloatArray();
    float[] y = in.createFloatArray();
    return new Curve(x, y);
}
 
源代码13 项目: timecat   文件: CropImage.java
protected ActivityResult(Parcel in) {
    super(null, in.readParcelable(Uri.class.getClassLoader()), (Exception) in.readSerializable(), in.createFloatArray(), in.readParcelable(Rect.class.getClassLoader()), in.readInt(), in.readInt());
}
 
源代码14 项目: SimpleDialogFragments   文件: ColorWheelView.java
private SavedState(Parcel in) {
    super(in);
    saveColor = in.createFloatArray();
    saveAlpha = in.readInt();
}
 
源代码15 项目: SimpleDialogFragments   文件: ColorWheelView.java
private SavedState(Parcel in) {
    super(in);
    saveColor = in.createFloatArray();
    saveAlpha = in.readInt();
}
 
@Override
public AutomaticControlPointBezierLine createFromParcel(Parcel in) {
  float[] x = in.createFloatArray();
  float[] y = in.createFloatArray();
  return new AutomaticControlPointBezierLine(x, y, x != null ? x.length : 0);
}
 
源代码17 项目: paperparcel   文件: StaticAdapters.java
@Nullable @Override public float[] readFromParcel(@NonNull Parcel source) {
  return source.createFloatArray();
}
 
源代码18 项目: android-ui   文件: Action.java
private Action(Parcel in) {
	this.lineData = in.createFloatArray();
	in.readTypedList(lineSegments, LineSegment.CREATOR);
}
 
源代码评论
动弹
沙发等你来抢
 方法所在类
 同类方法