package com.google.android.material.transformation; import android.content.Context; import android.graphics.Rect; import android.graphics.RectF; import android.util.AttributeSet; import android.view.View; import androidx.coordinatorlayout.widget.CoordinatorLayout; /* loaded from: classes2.dex */ public abstract class FabTransformationBehavior extends ExpandableTransformationBehavior { /* renamed from: b, reason: collision with root package name */ private final Rect f4781b; /* renamed from: c, reason: collision with root package name */ private final RectF f4782c; /* renamed from: d, reason: collision with root package name */ private final RectF f4783d; /* renamed from: e, reason: collision with root package name */ private final int[] f4784e; public FabTransformationBehavior() { this.f4781b = new Rect(); this.f4782c = new RectF(); this.f4783d = new RectF(); this.f4784e = new int[2]; } @Override // com.google.android.material.transformation.ExpandableBehavior, androidx.coordinatorlayout.widget.CoordinatorLayout.b public boolean e(CoordinatorLayout coordinatorLayout, View view, View view2) { if (view.getVisibility() != 8) { return false; } throw new IllegalStateException("This behavior cannot be attached to a GONE view. Set the view to INVISIBLE instead."); } @Override // androidx.coordinatorlayout.widget.CoordinatorLayout.b public void g(CoordinatorLayout.e eVar) { if (eVar.f1373h == 0) { eVar.f1373h = 80; } } public FabTransformationBehavior(Context context, AttributeSet attributeSet) { super(context, attributeSet); this.f4781b = new Rect(); this.f4782c = new RectF(); this.f4783d = new RectF(); this.f4784e = new int[2]; } }