29 lines
		
	
	
		
			894 B
		
	
	
	
		
			Java
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			894 B
		
	
	
	
		
			Java
		
	
	
	
	
	
| package androidx.constraintlayout.motion.widget;
 | |
| 
 | |
| import android.graphics.RectF;
 | |
| import android.view.View;
 | |
| import java.util.HashSet;
 | |
| 
 | |
| /* loaded from: classes.dex */
 | |
| abstract class KeyPositionBase extends Key {
 | |
|     protected static final float SELECTION_SLOPE = 20.0f;
 | |
|     int mCurveFit = UNSET;
 | |
| 
 | |
|     abstract void calcPosition(int layoutWidth, int layoutHeight, float start_x, float start_y, float end_x, float end_y);
 | |
| 
 | |
|     @Override // androidx.constraintlayout.motion.widget.Key
 | |
|     void getAttributeNames(HashSet<String> attributes) {
 | |
|     }
 | |
| 
 | |
|     abstract float getPositionX();
 | |
| 
 | |
|     abstract float getPositionY();
 | |
| 
 | |
|     public abstract boolean intersects(int layoutWidth, int layoutHeight, RectF start, RectF end, float x, float y);
 | |
| 
 | |
|     abstract void positionAttributes(View view, RectF start, RectF end, float x, float y, String[] attribute, float[] value);
 | |
| 
 | |
|     KeyPositionBase() {
 | |
|     }
 | |
| }
 |