Rabbit-R1/original r1/java/sources/androidx/constraintlayout/widget/Group.java
2024-05-21 17:08:36 -04:00

52 lines
1.6 KiB
Java

package androidx.constraintlayout.widget;
import android.content.Context;
import android.util.AttributeSet;
import androidx.constraintlayout.widget.ConstraintLayout;
/* loaded from: classes.dex */
public class Group extends ConstraintHelper {
public Group(Context context) {
super(context);
}
public Group(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
}
public Group(Context context, AttributeSet attributeSet, int i) {
super(context, attributeSet, i);
}
/* JADX INFO: Access modifiers changed from: protected */
@Override // androidx.constraintlayout.widget.ConstraintHelper
public void init(AttributeSet attributeSet) {
super.init(attributeSet);
this.mUseViewMeasure = false;
}
@Override // androidx.constraintlayout.widget.ConstraintHelper, android.view.View
public void onAttachedToWindow() {
super.onAttachedToWindow();
applyLayoutFeatures();
}
@Override // android.view.View
public void setVisibility(int i) {
super.setVisibility(i);
applyLayoutFeatures();
}
@Override // android.view.View
public void setElevation(float f) {
super.setElevation(f);
applyLayoutFeatures();
}
@Override // androidx.constraintlayout.widget.ConstraintHelper
public void updatePostLayout(ConstraintLayout constraintLayout) {
ConstraintLayout.LayoutParams layoutParams = (ConstraintLayout.LayoutParams) getLayoutParams();
layoutParams.widget.setWidth(0);
layoutParams.widget.setHeight(0);
}
}