content: package android.support.transition;
  
  import android.graphics.Path;
  import android.graphics.PathMeasure;
  import android.graphics.PointF;
  import android.util.Property;
  
  class PathProperty<T> extends Property<T, Float> {
    private float mCurrentFraction;
    
    private final float mPathLength;
    
    private final PathMeasure mPathMeasure;
    
    private final PointF mPointF = new PointF();
    
    private final float[] mPosition = new float[2];
    
    private final Property<T, PointF> mProperty;
    
    PathProperty(Property<T, PointF> paramProperty, Path paramPath) {
      super(Float.class, paramProperty.getName());
      this.mProperty = paramProperty;
      PathMeasure pathMeasure = new PathMeasure(paramPath, false);
      this.mPathMeasure = pathMeasure;
      this.mPathLength = pathMeasure.getLength();
    }
    
    public Float get(T paramT) {
      return Float.valueOf(this.mCurrentFraction);
    }
    
    public void set(T paramT, Float paramFloat) {
      this.mCurrentFraction = paramFloat.floatValue();
      this.mPathMeasure.getPosTan(this.mPathLength * paramFloat.floatValue(), this.mPosition, null);
      this.mPointF.x = this.mPosition[0];
      this.mPointF.y = this.mPosition[1];
      this.mProperty.set(paramT, this.mPointF);
    }
  }
  
  
  /* Location:              F:\何章易\项目文件夹\项目24\va\classes_merge.jar!\android\support\transition\PathProperty.class
   * Java compiler version: 6 (50.0)
   * JD-Core Version:       1.1.3
   */