package o;

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

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.oe, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2065oe implements ValueAnimator.AnimatorUpdateListener {
    public final /* synthetic */ int a;
    public final /* synthetic */ Object b;

    public /* synthetic */ C2065oe(int i, Object obj) {
        this.a = i;
        this.b = obj;
    }

    @Override // android.animation.ValueAnimator.AnimatorUpdateListener
    public final void onAnimationUpdate(ValueAnimator valueAnimator) {
        switch (this.a) {
            case 0:
                float fFloatValue = ((Float) valueAnimator.getAnimatedValue()).floatValue();
                C1092eO c1092eO = ((BottomSheetBehavior) this.b).i;
                if (c1092eO != null) {
                    C0997dO c0997dO = c1092eO.l;
                    if (c0997dO.i != fFloatValue) {
                        c0997dO.i = fFloatValue;
                        c1092eO.p = true;
                        c1092eO.invalidateSelf();
                        break;
                    }
                }
                break;
            case 1:
                int iFloatValue = (int) (((Float) valueAnimator.getAnimatedValue()).floatValue() * 255.0f);
                C0205Hx c0205Hx = (C0205Hx) this.b;
                c0205Hx.c.setAlpha(iFloatValue);
                c0205Hx.d.setAlpha(iFloatValue);
                c0205Hx.s.invalidate();
                break;
            default:
                ((TextInputLayout) this.b).G0.k(((Float) valueAnimator.getAnimatedValue()).floatValue());
                break;
        }
    }
}
