package o; import android.content.Context; import android.view.MenuItem; import android.view.View; import android.widget.PopupWindow; import o.NoP; import o.SYO; /* loaded from: classes.dex */ public final class irv { private final View a; public RVV b; public final NoP c; Sts d; public final C16108lLe e; private final Context j; /* loaded from: classes.dex */ public interface RVV { boolean avK_(MenuItem menuItem); } /* loaded from: classes.dex */ public interface Sts { } public irv(Context context, View view) { this(context, view, (byte) 0); } private irv(Context context, View view, byte b) { this(context, view, SYO.IeS.popupMenuStyle); } private irv(Context context, View view, int i) { this.j = context; this.a = view; NoP noP = new NoP(context); this.c = noP; noP.d(new NoP.Sts(this) { // from class: o.irv.1 final irv b; @Override // o.NoP.Sts public final void b(NoP noP2) { } { this.b = this; } @Override // o.NoP.Sts public final boolean Ko_(NoP noP2, MenuItem menuItem) { if (this.b.b != null) { return this.b.b.avK_(menuItem); } return false; } }); C16108lLe c16108lLe = new C16108lLe(context, noP, view, false, i, 0); this.e = c16108lLe; c16108lLe.a = 0; c16108lLe.c = new PopupWindow.OnDismissListener(this) { // from class: o.irv.3 final irv a; { this.a = this; } @Override // android.widget.PopupWindow.OnDismissListener public final void onDismiss() { Sts sts = this.a.d; } }; } }