public void animateExpand(int duration,long popTime){
  long timeDifference=System.currentTimeMillis() - popTime;
  ObjectAnimator animatorExpandY=ObjectAnimator.ofFloat(peekView,"scaleY",1.025f);
  ObjectAnimator animatorExpandX=ObjectAnimator.ofFloat(peekView,"scaleX",1.025f);
  animatorExpandX.setInterpolator(new DecelerateInterpolator());
  animatorExpandY.setInterpolator(new DecelerateInterpolator());
  animatorExpandX.setDuration(Math.max(0,duration - timeDifference));
  animatorExpandY.setDuration(Math.max(0,duration - timeDifference));
  animatorExpandX.start();
  animatorExpandY.start();
}

public void animateExpand ( int duration , long popTime ) { long timeDifference = System . currentTimeMillis ( ) - popTime ; ObjectAnimator animatorExpandY = ObjectAnimator . ofFloat ( peekView , "scaleY" , 1.025f ) ; ObjectAnimator animatorExpandX = ObjectAnimator . ofFloat ( peekView , "scaleX" , 1.025f ) ; animatorExpandX . setInterpolator ( new DecelerateInterpolator ( ) ) ; animatorExpandY . setInterpolator ( new DecelerateInterpolator ( ) ) ; animatorExpandX . setDuration ( Math . max ( 0 , duration - timeDifference ) ) ; animatorExpandY . setDuration ( Math . max ( 0 , duration - timeDifference ) ) ; animatorExpandX . start ( ) ; animatorExpandY . start ( ) ; }
occurs when the peek view is flung . < p / > animate the peek view to expand slightly .
