package rf;

import android.view.MotionEvent;
import xyz.netfly.ui.vod_player.PlayerActivity;
import xyz.stream.view.VideoGestureFrameLayout;

/* JADX INFO: loaded from: classes3.dex */
public final class m implements VideoGestureFrameLayout.VideoGestureListener {

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

    public m(PlayerActivity playerActivity) {
        this.f32574a = playerActivity;
    }

    @Override // xyz.stream.view.VideoGestureFrameLayout.VideoGestureListener
    public final void onDoubleTapGesture(MotionEvent motionEvent) {
        w wVar = this.f32574a.f35718k;
        if (wVar != null) {
            wVar.I();
        }
    }

    @Override // xyz.stream.view.VideoGestureFrameLayout.VideoGestureListener
    public final void onSeekGestureCommit(long j10) {
        PlayerActivity playerActivity = this.f32574a;
        if (playerActivity.Q == null || playerActivity.Q.getDuration() <= 0 || playerActivity.Q.getPlaybackState() <= 2) {
            return;
        }
        playerActivity.Q.seekTo(j10);
    }

    @Override // xyz.stream.view.VideoGestureFrameLayout.VideoGestureListener
    public final void onSingleTapGesture(MotionEvent motionEvent) {
        w wVar = this.f32574a.f35718k;
        if (wVar != null) {
            wVar.H();
        }
    }
}
