package ῲ.ῲ.K;

import android.app.Activity;
import android.app.Dialog;
import android.os.Bundle;
import android.view.View;
import android.view.ViewGroup;
import androidx.appcompat.app.AppCompatDelegateImpl;
import java.lang.ref.WeakReference;
import java.util.Iterator;
import ῲ.㴹.C2274;

/* renamed from: ῲ.ῲ.K.䁗  reason: contains not printable characters */
/* compiled from: AppCompatDelegate */
public abstract class AbstractC1983 {

    /* renamed from: ʬ  reason: contains not printable characters */
    public static final Object f6732 = new Object();

    /* renamed from: ῲ  reason: contains not printable characters */
    public static final C2274<WeakReference<AbstractC1983>> f6733 = new C2274<>();

    /* renamed from: ʬ  reason: contains not printable characters */
    public static void m5120(AbstractC1983 r3) {
        synchronized (f6732) {
            Iterator<WeakReference<AbstractC1983>> it2 = f6733.iterator();
            while (it2.hasNext()) {
                AbstractC1983 r2 = it2.next().get();
                if (r2 == r3 || r2 == null) {
                    it2.remove();
                }
            }
        }
    }

    /* renamed from: ῲ  reason: contains not printable characters */
    public static void m5121(AbstractC1983 r1) {
        synchronized (f6732) {
            m5120(r1);
        }
    }

    /* renamed from: K  reason: contains not printable characters */
    public static AbstractC1983 m5122(Activity activity, AbstractC1967 r3) {
        return new AppCompatDelegateImpl(activity, null, r3, activity);
    }

    /* renamed from: ʬ  reason: contains not printable characters */
    public abstract void m5125();

    /* renamed from: ῲ  reason: contains not printable characters */
    public abstract void m5126();

    /* renamed from: ῲ  reason: contains not printable characters */
    public abstract void m5127(int i);

    /* renamed from: ῲ  reason: contains not printable characters */
    public abstract void m5128(Bundle bundle);

    /* renamed from: ῲ  reason: contains not printable characters */
    public abstract void m5129(View view, ViewGroup.LayoutParams layoutParams);

    /* renamed from: K  reason: contains not printable characters */
    public abstract void m5130();

    /* renamed from: K  reason: contains not printable characters */
    public abstract void m5131(Bundle bundle);

    /* renamed from: K  reason: contains not printable characters */
    public abstract void m5132(View view);

    /* renamed from: K  reason: contains not printable characters */
    public abstract void m5133(View view, ViewGroup.LayoutParams layoutParams);

    /* renamed from: K  reason: contains not printable characters */
    public abstract void m5134(CharSequence charSequence);

    /* renamed from: K  reason: contains not printable characters */
    public abstract boolean m5135(int i);

    /* renamed from: K  reason: contains not printable characters */
    public static AbstractC1983 m5123(Dialog dialog, AbstractC1967 r4) {
        return new AppCompatDelegateImpl(dialog.getContext(), dialog.getWindow(), r4, dialog);
    }

    /* renamed from: K  reason: contains not printable characters */
    public static void m5124(AbstractC1983 r3) {
        synchronized (f6732) {
            m5120(r3);
            f6733.add(new WeakReference<>(r3));
        }
    }
}
