88 lines
2.6 KiB
Java
88 lines
2.6 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.res.ColorStateList;
|
||
|
import android.graphics.PorterDuff;
|
||
|
import android.view.MenuItem;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class qdX {
|
||
|
public static MenuItem rJ_(MenuItem menuItem, hbU hbu) {
|
||
|
return menuItem instanceof tkI ? ((tkI) menuItem).c(hbu) : menuItem;
|
||
|
}
|
||
|
|
||
|
public static void rL_(MenuItem menuItem, CharSequence charSequence) {
|
||
|
if (menuItem instanceof tkI) {
|
||
|
((tkI) menuItem).setContentDescription(charSequence);
|
||
|
} else {
|
||
|
HBt.rR_(menuItem, charSequence);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static void rP_(MenuItem menuItem, CharSequence charSequence) {
|
||
|
if (menuItem instanceof tkI) {
|
||
|
((tkI) menuItem).setTooltipText(charSequence);
|
||
|
} else {
|
||
|
HBt.rV_(menuItem, charSequence);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static void rO_(MenuItem menuItem, char c, int i) {
|
||
|
if (menuItem instanceof tkI) {
|
||
|
((tkI) menuItem).setNumericShortcut(c, i);
|
||
|
} else {
|
||
|
HBt.rU_(menuItem, c, i);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static void rK_(MenuItem menuItem, char c, int i) {
|
||
|
if (menuItem instanceof tkI) {
|
||
|
((tkI) menuItem).setAlphabeticShortcut(c, i);
|
||
|
} else {
|
||
|
HBt.rQ_(menuItem, c, i);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static void rM_(MenuItem menuItem, ColorStateList colorStateList) {
|
||
|
if (menuItem instanceof tkI) {
|
||
|
((tkI) menuItem).setIconTintList(colorStateList);
|
||
|
} else {
|
||
|
HBt.rS_(menuItem, colorStateList);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static void rN_(MenuItem menuItem, PorterDuff.Mode mode) {
|
||
|
if (menuItem instanceof tkI) {
|
||
|
((tkI) menuItem).setIconTintMode(mode);
|
||
|
} else {
|
||
|
HBt.rT_(menuItem, mode);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
static class HBt {
|
||
|
static MenuItem rR_(MenuItem menuItem, CharSequence charSequence) {
|
||
|
return menuItem.setContentDescription(charSequence);
|
||
|
}
|
||
|
|
||
|
static MenuItem rV_(MenuItem menuItem, CharSequence charSequence) {
|
||
|
return menuItem.setTooltipText(charSequence);
|
||
|
}
|
||
|
|
||
|
static MenuItem rU_(MenuItem menuItem, char c, int i) {
|
||
|
return menuItem.setNumericShortcut(c, i);
|
||
|
}
|
||
|
|
||
|
static MenuItem rQ_(MenuItem menuItem, char c, int i) {
|
||
|
return menuItem.setAlphabeticShortcut(c, i);
|
||
|
}
|
||
|
|
||
|
static MenuItem rS_(MenuItem menuItem, ColorStateList colorStateList) {
|
||
|
return menuItem.setIconTintList(colorStateList);
|
||
|
}
|
||
|
|
||
|
static MenuItem rT_(MenuItem menuItem, PorterDuff.Mode mode) {
|
||
|
return menuItem.setIconTintMode(mode);
|
||
|
}
|
||
|
}
|
||
|
}
|