package defpackage;

import android.animation.ValueAnimator;
import com.google.android.material.bottomsheet.BottomSheetBehavior;

/* renamed from: ˉˁᵲ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C1156 implements ValueAnimator.AnimatorUpdateListener {

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final /* synthetic */ int f4937;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final /* synthetic */ Object f4938;

    public /* synthetic */ C1156(int i, Object obj) {
        this.f4937 = i;
        this.f4938 = obj;
    }

    @Override // android.animation.ValueAnimator.AnimatorUpdateListener
    public final void onAnimationUpdate(ValueAnimator valueAnimator) {
        int i = this.f4937;
        Object obj = this.f4938;
        switch (i) {
            case 0:
                float fFloatValue = ((Float) valueAnimator.getAnimatedValue()).floatValue();
                C2445 c2445 = ((BottomSheetBehavior) obj).f1040;
                if (c2445 != null) {
                    C5355 c5355 = c2445.f9549;
                    if (c5355.f20061 != fFloatValue) {
                        c5355.f20061 = fFloatValue;
                        c2445.f9548 = true;
                        c2445.f9531 = true;
                        c2445.invalidateSelf();
                        break;
                    }
                }
                break;
            default:
                int iFloatValue = (int) (((Float) valueAnimator.getAnimatedValue()).floatValue() * 255.0f);
                C0485 c0485 = (C0485) obj;
                c0485.f2564.setAlpha(iFloatValue);
                c0485.f2583.setAlpha(iFloatValue);
                c0485.f2567.invalidate();
                break;
        }
    }
}
