car/src/main/java/androidx/car/moderator/SpeedBumpController.java
private void hideLockOutMessage() {
        if (mLockoutMessageView.getVisibility() != View.VISIBLE) {
            return;
        }

        Animation lockOutMessageOut =
                AnimationUtils.loadAnimation(mContext, R.anim.lock_out_message_out);
        lockOutMessageOut.setAnimationListener(new Animation.AnimationListener() {
            @Override
            public void onAnimationStart(Animation animation) {}

            @Override
            public void onAnimationEnd(Animation animation) {
                mLockoutMessageView.setVisibility(View.GONE);
                mInteractionPermitted = true;
            }

            @Override
            public void onAnimationRepeat(Animation animation) {}
        });
        mLockoutMessageView.startAnimation(lockOutMessageOut);
    }
/**
     * Hides any lock-out messages. Once the message is hidden, interaction with the view is
     * permitted.
     */
Hides any lock-out messages. Once the message is hidden, interaction with the view is
permitted.
Hides any lock - out messages . Once the message is hidden interaction with the view is permitted .
private void hideLockOutMessage() {
        if (mLockoutMessageView.getVisibility() != View.VISIBLE) {
            return;
        }
        Animation lockOutMessageOut =
                AnimationUtils.loadAnimation(mContext, R.anim.lock_out_message_out);
        lockOutMessageOut.setAnimationListener(new Animation.AnimationListener() {
            @Override
            public void onAnimationStart(Animation animation) {}
            @Override
            public void onAnimationEnd(Animation animation) {
                mLockoutMessageView.setVisibility(View.GONE);
                mInteractionPermitted = true;
            }
            @Override
            public void onAnimationRepeat(Animation animation) {}
        });
        mLockoutMessageView.startAnimation(lockOutMessageOut);
    }
private void hideLockOutMessage ( ) { if ( mLockoutMessageView . getVisibility ( ) != View . VISIBLE ) { return ; } Animation lockOutMessageOut = AnimationUtils . loadAnimation ( mContext , R . anim . lock_out_message_out ) ; lockOutMessageOut . setAnimationListener ( new Animation . AnimationListener ( ) { @ Override public void onAnimationStart ( Animation animation ) { } @ Override public void onAnimationEnd ( Animation animation ) { mLockoutMessageView . setVisibility ( View . GONE ) ; mInteractionPermitted = true ; } @ Override public void onAnimationRepeat ( Animation animation ) { } } ) ; mLockoutMessageView . startAnimation ( lockOutMessageOut ) ; }
Hides any lock-out messages.
Hides any lock - out messages .