package defpackage;

import android.os.Handler;
import android.view.MotionEvent;
import android.view.View;

/* renamed from: ᵼᵤ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class ViewOnTouchListenerC5286 implements View.OnTouchListener {

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public final /* synthetic */ C3911 f19790;

    public ViewOnTouchListenerC5286(C3911 c3911) {
        this.f19790 = c3911;
    }

    @Override // android.view.View.OnTouchListener
    public final boolean onTouch(View view, MotionEvent motionEvent) {
        C3911 c3911 = this.f19790;
        RunnableC0514 runnableC0514 = c3911.f14670;
        Handler handler = c3911.f14661;
        C1496 c1496 = c3911.f14680;
        int action = motionEvent.getAction();
        int x = (int) motionEvent.getX();
        int y = (int) motionEvent.getY();
        if (action == 0 && c1496 != null && c1496.isShowing() && x >= 0 && x < c1496.getWidth() && y >= 0 && y < c1496.getHeight()) {
            handler.postDelayed(runnableC0514, 250L);
            return false;
        }
        if (action != 1) {
            return false;
        }
        handler.removeCallbacks(runnableC0514);
        return false;
    }
}
