package androidx.browser.browseractions;

import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.LinearLayout;
import androidx.browser.R$dimen;

public class BrowserActionsFallbackMenuView extends LinearLayout {

    /* renamed from: ʬ  reason: contains not printable characters */
    public final int f658 = getResources().getDimensionPixelOffset(R$dimen.browser_actions_context_menu_max_width);

    /* renamed from: ῲ  reason: contains not printable characters */
    public final int f659 = getResources().getDimensionPixelOffset(R$dimen.browser_actions_context_menu_min_padding);

    public BrowserActionsFallbackMenuView(Context context, AttributeSet attributeSet) {
        super(context, attributeSet);
    }

    public void onMeasure(int i, int i2) {
        super.onMeasure(View.MeasureSpec.makeMeasureSpec(Math.min(getResources().getDisplayMetrics().widthPixels - (this.f659 * 2), this.f658), 1073741824), i2);
    }
}
