57 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Java
		
	
	
	
	
	
			
		
		
	
	
			57 lines
		
	
	
		
			1.7 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 attrs) {
 | |
|         super(context, attrs);
 | |
|     }
 | |
| 
 | |
|     public Group(Context context, AttributeSet attrs, int defStyleAttr) {
 | |
|         super(context, attrs, defStyleAttr);
 | |
|     }
 | |
| 
 | |
|     @Override // androidx.constraintlayout.widget.ConstraintHelper
 | |
|     protected void init(AttributeSet attrs) {
 | |
|         super.init(attrs);
 | |
|         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 visibility) {
 | |
|         super.setVisibility(visibility);
 | |
|         applyLayoutFeatures();
 | |
|     }
 | |
| 
 | |
|     @Override // android.view.View
 | |
|     public void setElevation(float elevation) {
 | |
|         super.setElevation(elevation);
 | |
|         applyLayoutFeatures();
 | |
|     }
 | |
| 
 | |
|     @Override // androidx.constraintlayout.widget.ConstraintHelper
 | |
|     protected void applyLayoutFeaturesInConstraintSet(ConstraintLayout container) {
 | |
|         applyLayoutFeatures(container);
 | |
|     }
 | |
| 
 | |
|     @Override // androidx.constraintlayout.widget.ConstraintHelper
 | |
|     public void updatePostLayout(ConstraintLayout container) {
 | |
|         ConstraintLayout.LayoutParams layoutParams = (ConstraintLayout.LayoutParams) getLayoutParams();
 | |
|         layoutParams.widget.setWidth(0);
 | |
|         layoutParams.widget.setHeight(0);
 | |
|     }
 | |
| }
 |