53 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Java
		
	
	
	
	
	
			
		
		
	
	
			53 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Java
		
	
	
	
	
	
| package androidx.appcompat.resources;
 | |
| 
 | |
| import android.animation.ObjectAnimator;
 | |
| import android.content.res.Resources;
 | |
| import android.content.res.TypedArray;
 | |
| import android.graphics.drawable.Drawable;
 | |
| import android.util.AttributeSet;
 | |
| import android.util.TypedValue;
 | |
| import java.io.IOException;
 | |
| import org.xmlpull.v1.XmlPullParser;
 | |
| import org.xmlpull.v1.XmlPullParserException;
 | |
| 
 | |
| /* loaded from: classes.dex */
 | |
| public final class Compatibility {
 | |
|     private Compatibility() {
 | |
|     }
 | |
| 
 | |
|     public static class Api21Impl {
 | |
|         private Api21Impl() {
 | |
|         }
 | |
| 
 | |
|         public static void inflate(Drawable drawable, Resources resources, XmlPullParser xmlPullParser, AttributeSet attributeSet, Resources.Theme theme) throws IOException, XmlPullParserException {
 | |
|             drawable.inflate(resources, xmlPullParser, attributeSet, theme);
 | |
|         }
 | |
| 
 | |
|         public static int getChangingConfigurations(TypedArray typedArray) {
 | |
|             return typedArray.getChangingConfigurations();
 | |
|         }
 | |
| 
 | |
|         public static Drawable createFromXmlInner(Resources resources, XmlPullParser xmlPullParser, AttributeSet attributeSet, Resources.Theme theme) throws IOException, XmlPullParserException {
 | |
|             return Drawable.createFromXmlInner(resources, xmlPullParser, attributeSet, theme);
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     public static class Api18Impl {
 | |
|         private Api18Impl() {
 | |
|         }
 | |
| 
 | |
|         public static void setAutoCancel(ObjectAnimator objectAnimator, boolean z) {
 | |
|             objectAnimator.setAutoCancel(z);
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     public static class Api15Impl {
 | |
|         private Api15Impl() {
 | |
|         }
 | |
| 
 | |
|         public static void getValueForDensity(Resources resources, int i, int i2, TypedValue typedValue, boolean z) {
 | |
|             resources.getValueForDensity(i, i2, typedValue, z);
 | |
|         }
 | |
|     }
 | |
| }
 |