Files
adif-api-reverse-engineering/apk_decompiled/sources/com/google/android/material/snackbar/Snackbar$SnackbarLayout.java

61 lines
2.2 KiB
Java

package com.google.android.material.snackbar;
import G2.j;
import android.content.Context;
import android.content.res.ColorStateList;
import android.graphics.PorterDuff;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup;
/* loaded from: classes3.dex */
public final class Snackbar$SnackbarLayout extends j {
public Snackbar$SnackbarLayout(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
}
@Override // G2.j, android.widget.FrameLayout, android.view.View
public final void onMeasure(int i, int i4) {
super.onMeasure(i, i4);
int childCount = getChildCount();
int measuredWidth = (getMeasuredWidth() - getPaddingLeft()) - getPaddingRight();
for (int i5 = 0; i5 < childCount; i5++) {
View childAt = getChildAt(i5);
if (childAt.getLayoutParams().width == -1) {
childAt.measure(View.MeasureSpec.makeMeasureSpec(measuredWidth, 1073741824), View.MeasureSpec.makeMeasureSpec(childAt.getMeasuredHeight(), 1073741824));
}
}
}
@Override // G2.j, android.view.View
public /* bridge */ /* synthetic */ void setBackground(Drawable drawable) {
super.setBackground(drawable);
}
@Override // G2.j, android.view.View
public /* bridge */ /* synthetic */ void setBackgroundDrawable(Drawable drawable) {
super.setBackgroundDrawable(drawable);
}
@Override // G2.j, android.view.View
public /* bridge */ /* synthetic */ void setBackgroundTintList(ColorStateList colorStateList) {
super.setBackgroundTintList(colorStateList);
}
@Override // G2.j, android.view.View
public /* bridge */ /* synthetic */ void setBackgroundTintMode(PorterDuff.Mode mode) {
super.setBackgroundTintMode(mode);
}
@Override // G2.j, android.view.View
public /* bridge */ /* synthetic */ void setLayoutParams(ViewGroup.LayoutParams layoutParams) {
super.setLayoutParams(layoutParams);
}
@Override // G2.j, android.view.View
public /* bridge */ /* synthetic */ void setOnClickListener(View.OnClickListener onClickListener) {
super.setOnClickListener(onClickListener);
}
}