You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
2.4 KiB
71 lines
2.4 KiB
package p023h0;
|
|
|
|
import android.os.Build;
|
|
import android.view.ViewGroup;
|
|
|
|
/* renamed from: h0.c0 */
|
|
/* loaded from: classes.dex */
|
|
public final class C0792c0 {
|
|
|
|
/* renamed from: h0.c0$a */
|
|
/* loaded from: classes.dex */
|
|
public static class C0793a {
|
|
/* renamed from: a */
|
|
public static int m2906a(ViewGroup.MarginLayoutParams marginLayoutParams) {
|
|
int layoutDirection;
|
|
layoutDirection = marginLayoutParams.getLayoutDirection();
|
|
return layoutDirection;
|
|
}
|
|
|
|
/* renamed from: b */
|
|
public static int m2905b(ViewGroup.MarginLayoutParams marginLayoutParams) {
|
|
int marginEnd;
|
|
marginEnd = marginLayoutParams.getMarginEnd();
|
|
return marginEnd;
|
|
}
|
|
|
|
/* renamed from: c */
|
|
public static int m2904c(ViewGroup.MarginLayoutParams marginLayoutParams) {
|
|
int marginStart;
|
|
marginStart = marginLayoutParams.getMarginStart();
|
|
return marginStart;
|
|
}
|
|
|
|
/* renamed from: d */
|
|
public static boolean m2903d(ViewGroup.MarginLayoutParams marginLayoutParams) {
|
|
boolean isMarginRelative;
|
|
isMarginRelative = marginLayoutParams.isMarginRelative();
|
|
return isMarginRelative;
|
|
}
|
|
|
|
/* renamed from: e */
|
|
public static void m2902e(ViewGroup.MarginLayoutParams marginLayoutParams, int i) {
|
|
marginLayoutParams.resolveLayoutDirection(i);
|
|
}
|
|
|
|
/* renamed from: f */
|
|
public static void m2901f(ViewGroup.MarginLayoutParams marginLayoutParams, int i) {
|
|
marginLayoutParams.setLayoutDirection(i);
|
|
}
|
|
|
|
/* renamed from: g */
|
|
public static void m2900g(ViewGroup.MarginLayoutParams marginLayoutParams, int i) {
|
|
marginLayoutParams.setMarginEnd(i);
|
|
}
|
|
|
|
/* renamed from: h */
|
|
public static void m2899h(ViewGroup.MarginLayoutParams marginLayoutParams, int i) {
|
|
marginLayoutParams.setMarginStart(i);
|
|
}
|
|
}
|
|
|
|
/* renamed from: a */
|
|
public static int m2908a(ViewGroup.MarginLayoutParams marginLayoutParams) {
|
|
return Build.VERSION.SDK_INT >= 17 ? C0793a.m2905b(marginLayoutParams) : marginLayoutParams.rightMargin;
|
|
}
|
|
|
|
/* renamed from: b */
|
|
public static int m2907b(ViewGroup.MarginLayoutParams marginLayoutParams) {
|
|
return Build.VERSION.SDK_INT >= 17 ? C0793a.m2904c(marginLayoutParams) : marginLayoutParams.leftMargin;
|
|
}
|
|
} |