Source/sources/android/support/p003v7/graphics/drawable/DrawableContainer.java
public boolean selectDrawable(int index) {
        if (index == this.mCurIndex) {
            return false;
        }
        long now = SystemClock.uptimeMillis();
        if (this.mDrawableContainerState.mExitFadeDuration > 0) {
            if (this.mLastDrawable != null) {
                this.mLastDrawable.setVisible(false, false);
            }
            if (this.mCurrDrawable != null) {
                this.mLastDrawable = this.mCurrDrawable;
                this.mLastIndex = this.mCurIndex;
                this.mExitAnimationEnd = ((long) this.mDrawableContainerState.mExitFadeDuration) + now;
            } else {
                this.mLastDrawable = null;
                this.mLastIndex = -1;
                this.mExitAnimationEnd = 0;
            }
        } else if (this.mCurrDrawable != null) {
            this.mCurrDrawable.setVisible(false, false);
        }
        if (index < 0 || index >= this.mDrawableContainerState.mNumChildren) {
            this.mCurrDrawable = null;
            this.mCurIndex = -1;
        } else {
            Drawable d = this.mDrawableContainerState.getChild(index);
            this.mCurrDrawable = d;
            this.mCurIndex = index;
            if (d != null) {
                if (this.mDrawableContainerState.mEnterFadeDuration > 0) {
                    this.mEnterAnimationEnd = ((long) this.mDrawableContainerState.mEnterFadeDuration) + now;
                }
                initializeDrawableForDisplay(d);
            }
        }
        if (!(this.mEnterAnimationEnd == 0 && this.mExitAnimationEnd == 0)) {
            if (this.mAnimationRunnable == null) {
                this.mAnimationRunnable = new Runnable() {
                    public void run() {
                        DrawableContainer.this.animate(true);
                        DrawableContainer.this.invalidateSelf();
                    }
                };
            } else {
                unscheduleSelf(this.mAnimationRunnable);
            }
            animate(true);
        }
        invalidateSelf();
        return true;
    }
/* access modifiers changed from: 0000 */
access modifiers changed from: 0000
access modifiers changed from : 0000
public boolean selectDrawable(int index) {
        if (index == this.mCurIndex) {
            return false;
        }
        long now = SystemClock.uptimeMillis();
        if (this.mDrawableContainerState.mExitFadeDuration > 0) {
            if (this.mLastDrawable != null) {
                this.mLastDrawable.setVisible(false, false);
            }
            if (this.mCurrDrawable != null) {
                this.mLastDrawable = this.mCurrDrawable;
                this.mLastIndex = this.mCurIndex;
                this.mExitAnimationEnd = ((long) this.mDrawableContainerState.mExitFadeDuration) + now;
            } else {
                this.mLastDrawable = null;
                this.mLastIndex = -1;
                this.mExitAnimationEnd = 0;
            }
        } else if (this.mCurrDrawable != null) {
            this.mCurrDrawable.setVisible(false, false);
        }
        if (index < 0 || index >= this.mDrawableContainerState.mNumChildren) {
            this.mCurrDrawable = null;
            this.mCurIndex = -1;
        } else {
            Drawable d = this.mDrawableContainerState.getChild(index);
            this.mCurrDrawable = d;
            this.mCurIndex = index;
            if (d != null) {
                if (this.mDrawableContainerState.mEnterFadeDuration > 0) {
                    this.mEnterAnimationEnd = ((long) this.mDrawableContainerState.mEnterFadeDuration) + now;
                }
                initializeDrawableForDisplay(d);
            }
        }
        if (!(this.mEnterAnimationEnd == 0 && this.mExitAnimationEnd == 0)) {
            if (this.mAnimationRunnable == null) {
                this.mAnimationRunnable = new Runnable() {
                    public void run() {
                        DrawableContainer.this.animate(true);
                        DrawableContainer.this.invalidateSelf();
                    }
                };
            } else {
                unscheduleSelf(this.mAnimationRunnable);
            }
            animate(true);
        }
        invalidateSelf();
        return true;
    }
public boolean selectDrawable ( int index ) { if ( index == this . mCurIndex ) { return false ; } long now = SystemClock . uptimeMillis ( ) ; if ( this . mDrawableContainerState . mExitFadeDuration > 0 ) { if ( this . mLastDrawable != null ) { this . mLastDrawable . setVisible ( false , false ) ; } if ( this . mCurrDrawable != null ) { this . mLastDrawable = this . mCurrDrawable ; this . mLastIndex = this . mCurIndex ; this . mExitAnimationEnd = ( ( long ) this . mDrawableContainerState . mExitFadeDuration ) + now ; } else { this . mLastDrawable = null ; this . mLastIndex = - 1 ; this . mExitAnimationEnd = 0 ; } } else if ( this . mCurrDrawable != null ) { this . mCurrDrawable . setVisible ( false , false ) ; } if ( index < 0 || index >= this . mDrawableContainerState . mNumChildren ) { this . mCurrDrawable = null ; this . mCurIndex = - 1 ; } else { Drawable d = this . mDrawableContainerState . getChild ( index ) ; this . mCurrDrawable = d ; this . mCurIndex = index ; if ( d != null ) { if ( this . mDrawableContainerState . mEnterFadeDuration > 0 ) { this . mEnterAnimationEnd = ( ( long ) this . mDrawableContainerState . mEnterFadeDuration ) + now ; } initializeDrawableForDisplay ( d ) ; } } if ( ! ( this . mEnterAnimationEnd == 0 && this . mExitAnimationEnd == 0 ) ) { if ( this . mAnimationRunnable == null ) { this . mAnimationRunnable = new Runnable ( ) { public void run ( ) { DrawableContainer . this . animate ( true ) ; DrawableContainer . this . invalidateSelf ( ) ; } } ; } else { unscheduleSelf ( this . mAnimationRunnable ) ; } animate ( true ) ; } invalidateSelf ( ) ; return true ; }
access modifiers changed from: 0000
access modifiers changed from : 0000