package tf;

import android.view.View;
import android.widget.ImageView;
import org.drive_hunter.R;
import rf.w;
import xyz.netfly.ui.vod_player.view.CustomSeekView;

/* JADX INFO: loaded from: classes3.dex */
public final /* synthetic */ class a implements View.OnFocusChangeListener {

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

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

    public /* synthetic */ a(CustomSeekView customSeekView, int i10) {
        this.f33088a = i10;
        this.f33089b = customSeekView;
    }

    @Override // android.view.View.OnFocusChangeListener
    public final void onFocusChange(View view, boolean z10) {
        int i10;
        int i11 = this.f33088a;
        CustomSeekView customSeekView = this.f33089b;
        switch (i11) {
            case 0:
                b bVar = customSeekView.f35736i;
                if (bVar != null) {
                    w wVar = (w) bVar;
                    if (z10) {
                        wVar.x();
                    }
                }
                break;
            default:
                int i12 = CustomSeekView.f35727j;
                customSeekView.getClass();
                switch (view.getId()) {
                    case R.id.play_audio /* 2131362705 */:
                        i10 = !z10 ? R.mipmap.btn_audio_white : R.mipmap.audio_black;
                        break;
                    case R.id.play_center_btn /* 2131362706 */:
                    case R.id.play_quality /* 2131362710 */:
                    case R.id.play_second_title /* 2131362711 */:
                    case R.id.play_setting /* 2131362713 */:
                    case R.id.play_source /* 2131362715 */:
                    case R.id.play_title /* 2131362718 */:
                    default:
                        i10 = 0;
                        break;
                    case R.id.play_control /* 2131362707 */:
                        if (!z10) {
                            i10 = !customSeekView.f35734g ? R.mipmap.live_play_white : R.mipmap.live_pause_white;
                        } else if (!customSeekView.f35734g) {
                            i10 = R.mipmap.live_play_black;
                        } else {
                            i10 = R.mipmap.live_pause_black;
                        }
                        break;
                    case R.id.play_feedback /* 2131362708 */:
                        i10 = !z10 ? R.mipmap.play_feedback_white : R.mipmap.play_feedback_black;
                        break;
                    case R.id.play_next /* 2131362709 */:
                        i10 = !z10 ? R.mipmap.btn_next_white : R.mipmap.btn_next_black;
                        break;
                    case R.id.play_series /* 2131362712 */:
                        i10 = !z10 ? R.mipmap.btn_series_white : R.mipmap.btn_series_black;
                        break;
                    case R.id.play_setting_tv /* 2131362714 */:
                        i10 = !z10 ? R.mipmap.mobile_settings : R.mipmap.player_settings_black;
                        break;
                    case R.id.play_speed /* 2131362716 */:
                        i10 = !z10 ? R.mipmap.btn_speed_white : R.mipmap.btn_speed_black;
                        break;
                    case R.id.play_subtitle /* 2131362717 */:
                        i10 = !z10 ? R.mipmap.btn_subtitle_white : R.mipmap.btn_subtitle_black;
                        break;
                    case R.id.play_video_ratio /* 2131362719 */:
                        i10 = !z10 ? R.mipmap.ratio_white : R.mipmap.ratio_black;
                        break;
                }
                b bVar2 = customSeekView.f35736i;
                if (bVar2 != null) {
                    w wVar2 = (w) bVar2;
                    if (z10) {
                        wVar2.x();
                    }
                }
                if (i10 != 0) {
                    ((ImageView) view).setImageDrawable(f.a.getDrawable(customSeekView.getContext(), i10));
                }
                break;
        }
    }
}
