package com.google.android.material.search;

import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import com.google.android.material.search.SearchView;

/* JADX INFO: loaded from: classes2.dex */
public final class a extends AnimatorListenerAdapter {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ e f23020a;

    public a(e eVar) {
        this.f23020a = eVar;
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public final void onAnimationEnd(Animator animator) {
        e eVar = this.f23020a;
        if (!eVar.f23024a.h()) {
            eVar.f23024a.k();
        }
        eVar.f23024a.setTransitionState(SearchView.TransitionState.f23018d);
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public final void onAnimationStart(Animator animator) {
        e eVar = this.f23020a;
        eVar.f23026c.setVisibility(0);
        SearchBar searchBar = eVar.f23038o;
        searchBar.H0.b(searchBar);
    }
}
