Code example for Animator

Methods: cancel

0
        return mShowing;
    } 
 
    void cancelTitleBarAnimation(boolean reset) {
        if (mTitleBarAnimator != null) {
            mTitleBarAnimator.cancel();
            mTitleBarAnimator = null;
        } 
        if (reset) {
//            setTranslationY(0); 
        } 
    } 
 
    private AnimatorListener mHideTileBarAnimatorListener = new AnimatorListener() {
 
        @Override 
        public void onAnimationStart(Animator animation) { 
        } 
 
        @Override 
        public void onAnimationRepeat(Animator animation) {