package ῲ.ῲ.ඓ;

import android.content.Context;
import android.content.res.Resources;
import android.content.res.TypedArray;
import androidx.appcompat.R$attr;
import androidx.appcompat.R$bool;
import androidx.appcompat.R$dimen;
import androidx.appcompat.R$styleable;

/* renamed from: ῲ.ῲ.ඓ.K  reason: contains not printable characters */
/* compiled from: ActionBarPolicy */
public class C1895 {

    /* renamed from: K  reason: contains not printable characters */
    public Context f6435;

    public C1895(Context context) {
        this.f6435 = context;
    }

    /* renamed from: ῲ  reason: contains not printable characters */
    public boolean m4918() {
        return this.f6435.getResources().getBoolean(R$bool.abc_action_bar_embed_tabs);
    }

    /* renamed from: K  reason: contains not printable characters */
    public int m4919() {
        TypedArray obtainStyledAttributes = this.f6435.obtainStyledAttributes(null, R$styleable.ActionBar, R$attr.actionBarStyle, 0);
        int layoutDimension = obtainStyledAttributes.getLayoutDimension(R$styleable.ActionBar_height, 0);
        Resources resources = this.f6435.getResources();
        if (!m4918()) {
            layoutDimension = Math.min(layoutDimension, resources.getDimensionPixelSize(R$dimen.abc_action_bar_stacked_max_height));
        }
        obtainStyledAttributes.recycle();
        return layoutDimension;
    }
}
