package androidx.appcompat.widget; import android.content.Context; import android.graphics.Rect; import android.util.AttributeSet; import android.util.TypedValue; import android.widget.FrameLayout; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.annotation.RestrictTo; @RestrictTo({RestrictTo.Scope.LIBRARY}) /* loaded from: classes.dex */ public class ContentFrameLayout extends FrameLayout { private OnAttachListener mAttachListener; private final Rect mDecorPadding; private TypedValue mFixedHeightMajor; private TypedValue mFixedHeightMinor; private TypedValue mFixedWidthMajor; private TypedValue mFixedWidthMinor; private TypedValue mMinWidthMajor; private TypedValue mMinWidthMinor; public interface OnAttachListener { void onAttachedFromWindow(); void onDetachedFromWindow(); } public void setAttachListener(OnAttachListener onAttachListener) { this.mAttachListener = onAttachListener; } public ContentFrameLayout(@NonNull Context context) { this(context, null); } public ContentFrameLayout(@NonNull Context context, @Nullable AttributeSet attributeSet) { this(context, attributeSet, 0); } public ContentFrameLayout(@NonNull Context context, @Nullable AttributeSet attributeSet, int i) { super(context, attributeSet, i); this.mDecorPadding = new Rect(); } @RestrictTo({RestrictTo.Scope.LIBRARY}) public void dispatchFitSystemWindows(Rect rect) { fitSystemWindows(rect); } @RestrictTo({RestrictTo.Scope.LIBRARY}) public void setDecorPadding(int i, int i2, int i3, int i4) { this.mDecorPadding.set(i, i2, i3, i4); if (isLaidOut()) { requestLayout(); } } /* JADX WARN: Removed duplicated region for block: B:15:0x004a */ /* JADX WARN: Removed duplicated region for block: B:17:0x0063 */ /* JADX WARN: Removed duplicated region for block: B:26:0x0086 */ /* JADX WARN: Removed duplicated region for block: B:35:0x00ab */ /* JADX WARN: Removed duplicated region for block: B:40:0x00b8 */ /* JADX WARN: Removed duplicated region for block: B:43:0x00cc */ /* JADX WARN: Removed duplicated region for block: B:45:0x00d6 */ /* JADX WARN: Removed duplicated region for block: B:47:0x00de */ /* JADX WARN: Removed duplicated region for block: B:50:? A[RETURN, SYNTHETIC] */ /* JADX WARN: Removed duplicated region for block: B:51:0x00be */ /* JADX WARN: Removed duplicated region for block: B:54:0x00ae */ @Override // android.widget.FrameLayout, android.view.View /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public void onMeasure(int r14, int r15) { /* Method dump skipped, instructions count: 226 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: androidx.appcompat.widget.ContentFrameLayout.onMeasure(int, int):void"); } public TypedValue getMinWidthMajor() { if (this.mMinWidthMajor == null) { this.mMinWidthMajor = new TypedValue(); } return this.mMinWidthMajor; } public TypedValue getMinWidthMinor() { if (this.mMinWidthMinor == null) { this.mMinWidthMinor = new TypedValue(); } return this.mMinWidthMinor; } public TypedValue getFixedWidthMajor() { if (this.mFixedWidthMajor == null) { this.mFixedWidthMajor = new TypedValue(); } return this.mFixedWidthMajor; } public TypedValue getFixedWidthMinor() { if (this.mFixedWidthMinor == null) { this.mFixedWidthMinor = new TypedValue(); } return this.mFixedWidthMinor; } public TypedValue getFixedHeightMajor() { if (this.mFixedHeightMajor == null) { this.mFixedHeightMajor = new TypedValue(); } return this.mFixedHeightMajor; } public TypedValue getFixedHeightMinor() { if (this.mFixedHeightMinor == null) { this.mFixedHeightMinor = new TypedValue(); } return this.mFixedHeightMinor; } @Override // android.view.ViewGroup, android.view.View public void onAttachedToWindow() { super.onAttachedToWindow(); OnAttachListener onAttachListener = this.mAttachListener; if (onAttachListener != null) { onAttachListener.onAttachedFromWindow(); } } @Override // android.view.ViewGroup, android.view.View public void onDetachedFromWindow() { super.onDetachedFromWindow(); OnAttachListener onAttachListener = this.mAttachListener; if (onAttachListener != null) { onAttachListener.onDetachedFromWindow(); } } }