package p037.p041.p051;

import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.View;
import android.widget.PopupWindow;
import p037.p041.C1477;
import p037.p041.p042.LayoutInflaterFactory2C1494;
import p037.p041.p043.p044.C1527;

/* JADX INFO: renamed from: މ.ؠ.ގ.ތ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public class C1621 extends PopupWindow {
    public C1621(Context context, AttributeSet attributeSet, int i, int i2) {
        int resourceId;
        super(context, attributeSet, i, i2);
        TypedArray typedArrayObtainStyledAttributes = context.obtainStyledAttributes(attributeSet, C1477.PopupWindow, i, i2);
        if (typedArrayObtainStyledAttributes.hasValue(C1477.PopupWindow_overlapAnchor)) {
            LayoutInflaterFactory2C1494.C1505.m2945(this, typedArrayObtainStyledAttributes.getBoolean(C1477.PopupWindow_overlapAnchor, false));
        }
        int i3 = C1477.PopupWindow_android_popupBackground;
        setBackgroundDrawable((!typedArrayObtainStyledAttributes.hasValue(i3) || (resourceId = typedArrayObtainStyledAttributes.getResourceId(i3, 0)) == 0) ? typedArrayObtainStyledAttributes.getDrawable(i3) : C1527.m3025(context, resourceId));
        typedArrayObtainStyledAttributes.recycle();
    }

    @Override // android.widget.PopupWindow
    public void showAsDropDown(View view, int i, int i2) {
        super.showAsDropDown(view, i, i2);
    }

    @Override // android.widget.PopupWindow
    public void showAsDropDown(View view, int i, int i2, int i3) {
        super.showAsDropDown(view, i, i2, i3);
    }

    @Override // android.widget.PopupWindow
    public void update(View view, int i, int i2, int i3, int i4) {
        super.update(view, i, i2, i3, i4);
    }
}
