Exemple #1
0
 @Override
 public void setFloatValues(float... values) {
   if (mValues == null || mValues.length == 0) {
     // No values yet - this animator is being constructed piecemeal. Init the values with
     // whatever the current propertyName is
     if (mProperty != null) {
       setValues(PropertyValuesHolder.ofFloat(mProperty, values));
     } else {
       setValues(PropertyValuesHolder.ofFloat(mPropertyName, values));
     }
   } else {
     super.setFloatValues(values);
   }
 }