package androidx.media3.ui;

import android.view.View;

/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class j implements View.OnLayoutChangeListener {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ Object f3522b;

    public /* synthetic */ j(Object obj, int i10) {
        this.f3521a = i10;
        this.f3522b = obj;
    }

    @Override // android.view.View.OnLayoutChangeListener
    public final void onLayoutChange(View view, int i10, int i11, int i12, int i13, int i14, int i15, int i16, int i17) {
        int i18 = this.f3521a;
        Object obj = this.f3522b;
        switch (i18) {
            case 0:
                ((PlayerControlViewLayoutManager) obj).onLayoutChange(view, i10, i11, i12, i13, i14, i15, i16, i17);
                break;
            default:
                ((PlayerControlView) obj).onLayoutChange(view, i10, i11, i12, i13, i14, i15, i16, i17);
                break;
        }
    }
}
