private void setTriggerPercentage(float percent) {
   if (percent == 0f) {
     // No-op. A null trigger means it's uninitialized, and setting it to zero-percent
     // means we're trying to reset state, so there's nothing to reset in this case.
     mCurrPercentage = 0;
     return;
   }
   mCurrPercentage = percent;
   mProgressBar.setTriggerPercentage(percent);
 }
 @Override
 public void applyTransformation(float interpolatedTime, Transformation t) {
   float percent = mFromPercentage + ((0 - mFromPercentage) * interpolatedTime);
   mProgressBar.setTriggerPercentage(percent);
 }