package androidx.core.app;

import android.app.Notification;
import android.app.NotificationChannel;
import android.app.NotificationChannelGroup;
import android.app.NotificationManager;
import android.app.RemoteInput;
import android.content.Context;
import android.content.Intent;
import android.content.res.ColorStateList;
import android.graphics.Bitmap;
import android.graphics.PorterDuff;
import android.graphics.drawable.Icon;
import android.media.AudioAttributes;
import android.net.Uri;
import android.view.MenuItem;
import android.view.ViewConfiguration;
import java.util.List;
import java.util.Map;

/* JADX INFO: loaded from: classes.dex */
public abstract class a0 {
    public static float A(ViewConfiguration viewConfiguration) {
        return viewConfiguration.getScaledVerticalScrollFactor();
    }

    public static CharSequence B(Notification notification) {
        return notification.getSettingsText();
    }

    public static String C(Notification notification) {
        return notification.getShortcutId();
    }

    public static Uri D(NotificationChannel notificationChannel) {
        return notificationChannel.getSound();
    }

    public static CharSequence E(MenuItem menuItem) {
        return menuItem.getTooltipText();
    }

    public static long[] F(NotificationChannel notificationChannel) {
        return notificationChannel.getVibrationPattern();
    }

    public static void G(RemoteInput.Builder builder, String str) {
        builder.setAllowDataType(str, true);
    }

    public static void H(MenuItem menuItem, char c6, int i10) {
        menuItem.setAlphabeticShortcut(c6, i10);
    }

    public static void I(Notification.Builder builder, int i10) {
        builder.setBadgeIconType(i10);
    }

    public static void J(Notification.Builder builder, boolean z10) {
        builder.setColorized(z10);
    }

    public static void K(MenuItem menuItem, CharSequence charSequence) {
        menuItem.setContentDescription(charSequence);
    }

    public static void L(Notification.Builder builder) {
        builder.setGroupAlertBehavior(0);
    }

    public static void M(MenuItem menuItem, ColorStateList colorStateList) {
        menuItem.setIconTintList(colorStateList);
    }

    public static void N(MenuItem menuItem, PorterDuff.Mode mode) {
        menuItem.setIconTintMode(mode);
    }

    public static void O(MenuItem menuItem, char c6, int i10) {
        menuItem.setNumericShortcut(c6, i10);
    }

    public static void P(Notification.Builder builder, CharSequence charSequence) {
        builder.setSettingsText(charSequence);
    }

    public static void Q(Notification.Builder builder, String str) {
        builder.setShortcutId(str);
    }

    public static void R(Notification.Builder builder) {
        builder.setTimeoutAfter(0L);
    }

    public static void S(MenuItem menuItem, CharSequence charSequence) {
        menuItem.setTooltipText(charSequence);
    }

    public static void T(NotificationChannel notificationChannel) {
        notificationChannel.shouldShowLights();
    }

    public static void U(NotificationChannel notificationChannel) {
        notificationChannel.shouldVibrate();
    }

    public static void a(NotificationChannel notificationChannel) {
        notificationChannel.canBypassDnd();
    }

    public static void b(NotificationChannel notificationChannel) {
        notificationChannel.canShowBadge();
    }

    public static Notification.Builder c(Context context, String str) {
        return new Notification.Builder(context, str);
    }

    public static Icon d(Bitmap bitmap) {
        return Icon.createWithAdaptiveBitmap(bitmap);
    }

    public static AudioAttributes e(NotificationChannel notificationChannel) {
        return notificationChannel.getAudioAttributes();
    }

    public static String f(Notification notification) {
        return notification.getChannelId();
    }

    public static List g(NotificationChannelGroup notificationChannelGroup) {
        return notificationChannelGroup.getChannels();
    }

    public static CharSequence h(MenuItem menuItem) {
        return menuItem.getContentDescription();
    }

    public static Map i(Intent intent, String str) {
        return RemoteInput.getDataResultsFromIntent(intent, str);
    }

    public static String j(NotificationChannel notificationChannel) {
        return notificationChannel.getDescription();
    }

    public static String k(NotificationChannel notificationChannel) {
        return notificationChannel.getGroup();
    }

    public static String l(NotificationChannel notificationChannel) {
        return notificationChannel.getGroup();
    }

    public static ColorStateList m(MenuItem menuItem) {
        return menuItem.getIconTintList();
    }

    public static PorterDuff.Mode n(MenuItem menuItem) {
        return menuItem.getIconTintMode();
    }

    public static String o(NotificationChannel notificationChannel) {
        return notificationChannel.getId();
    }

    public static String p(NotificationChannelGroup notificationChannelGroup) {
        return notificationChannelGroup.getId();
    }

    public static String q(NotificationChannelGroup notificationChannelGroup) {
        return notificationChannelGroup.getId();
    }

    public static void r(NotificationChannel notificationChannel) {
        notificationChannel.getImportance();
    }

    public static void s(NotificationChannel notificationChannel) {
        notificationChannel.getLightColor();
    }

    public static void t(NotificationChannel notificationChannel) {
        notificationChannel.getLockscreenVisibility();
    }

    public static CharSequence u(NotificationChannel notificationChannel) {
        return notificationChannel.getName();
    }

    public static CharSequence v(NotificationChannelGroup notificationChannelGroup) {
        return notificationChannelGroup.getName();
    }

    public static NotificationChannel w(NotificationManager notificationManager, String str) {
        return notificationManager.getNotificationChannel(str);
    }

    public static List x(NotificationManager notificationManager) {
        return notificationManager.getNotificationChannelGroups();
    }

    public static List y(NotificationManager notificationManager) {
        return notificationManager.getNotificationChannels();
    }

    public static float z(ViewConfiguration viewConfiguration) {
        return viewConfiguration.getScaledHorizontalScrollFactor();
    }
}
