package androidx.media3.ui;

import android.view.View;

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

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

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

    public /* synthetic */ h(Object obj, int i6) {
        this.f12623a = i6;
        this.f12624b = obj;
    }

    @Override // android.view.View.OnLayoutChangeListener
    public final void onLayoutChange(View view, int i6, int i7, int i8, int i9, int i10, int i11, int i12, int i13) {
        switch (this.f12623a) {
            case 0:
                ((PlayerControlViewLayoutManager) this.f12624b).onLayoutChange(view, i6, i7, i8, i9, i10, i11, i12, i13);
                break;
            default:
                ((PlayerControlView) this.f12624b).onLayoutChange(view, i6, i7, i8, i9, i10, i11, i12, i13);
                break;
        }
    }
}
