content: package androidx.appcompat.widget;
  
  import android.content.res.AssetFileDescriptor;
  import android.content.res.ColorStateList;
  import android.content.res.Configuration;
  import android.content.res.Resources;
  import android.content.res.TypedArray;
  import android.content.res.XmlResourceParser;
  import android.graphics.Movie;
  import android.graphics.drawable.Drawable;
  import android.os.Bundle;
  import android.util.AttributeSet;
  import android.util.DisplayMetrics;
  import android.util.TypedValue;
  import androidx.appcompat.resources.Compatibility;
  import androidx.core.content.res.ResourcesCompat;
  import java.io.IOException;
  import java.io.InputStream;
  import org.xmlpull.v1.XmlPullParserException;
  
  class ResourcesWrapper extends Resources {
      private final Resources mResources;
  
      public ResourcesWrapper(Resources resources) {
          super(resources.getAssets(), resources.getDisplayMetrics(), resources.getConfiguration());
          this.mResources = resources;
      }
  
      public XmlResourceParser getAnimation(int id) throws Resources.NotFoundException {
          return this.mResources.getAnimation(id);
      }
  
      public boolean getBoolean(int id) throws Resources.NotFoundException {
          return this.mResources.getBoolean(id);
      }
  
      public int getColor(int id) throws Resources.NotFoundException {
          return this.mResources.getColor(id);
      }
  
      public ColorStateList getColorStateList(int id) throws Resources.NotFoundException {
          return this.mResources.getColorStateList(id);
      }
  
      public Configuration getConfiguration() {
          return this.mResources.getConfiguration();
      }
  
      public float getDimension(int id) throws Resources.NotFoundException {
          return this.mResources.getDimension(id);
      }
  
      public int getDimensionPixelOffset(int id) throws Resources.NotFoundException {
          return this.mResources.getDimensionPixelOffset(id);
      }
  
      public int getDimensionPixelSize(int id) throws Resources.NotFoundException {
          return this.mResources.getDimensionPixelSize(id);
      }
  
      public DisplayMetrics getDisplayMetrics() {
          return this.mResources.getDisplayMetrics();
      }
  
      public Drawable getDrawable(int id) throws Resources.NotFoundException {
          return this.mResources.getDrawable(id);
      }
  
      public Drawable getDrawable(int id, Resources.Theme theme) throws Resources.NotFoundException {
          return ResourcesCompat.getDrawable(this.mResources, id, theme);
      }
  
      /* access modifiers changed from: package-private */
      public final Drawable getDrawableCanonical(int id) throws Resources.NotFoundException {
          return super.getDrawable(id);
      }
  
      public Drawable getDrawableForDensity(int id, int density) throws Resources.NotFoundException {
          return ResourcesCompat.getDrawableForDensity(this.mResources, id, density, (Resources.Theme) null);
      }
  
      public Drawable getDrawableForDensity(int id, int density, Resources.Theme theme) {
          return ResourcesCompat.getDrawableForDensity(this.mResources, id, density, theme);
      }
  
      public float getFraction(int id, int base, int pbase) {
          return this.mResources.getFraction(id, base, pbase);
      }
  
      public int getIdentifier(String name, String defType, String defPackage) {
          return this.mResources.getIdentifier(name, defType, defPackage);
      }
  
      public int[] getIntArray(int id) throws Resources.NotFoundException {
          return this.mResources.getIntArray(id);
      }
  
      public int getInteger(int id) throws Resources.NotFoundException {
          return this.mResources.getInteger(id);
      }
  
      public XmlResourceParser getLayout(int id) throws Resources.NotFoundException {
          return this.mResources.getLayout(id);
      }
  
      public Movie getMovie(int id) throws Resources.NotFoundException {
          return this.mResources.getMovie(id);
      }
  
      public String getQuantityString(int id, int quantity) throws Resources.NotFoundException {
          return this.mResources.getQuantityString(id, quantity);
      }
  
      public String getQuantityString(int id, int quantity, Object... formatArgs) throws Resources.NotFoundException {
          return this.mResources.getQuantityString(id, quantity, formatArgs);
      }
  
      public CharSequence getQuantityText(int id, int quantity) throws Resources.NotFoundException {
          return this.mResources.getQuantityText(id, quantity);
      }
  
      public String getResourceEntryName(int resid) throws Resources.NotFoundException {
          return this.mResources.getResourceEntryName(resid);
      }
  
      public String getResourceName(int resid) throws Resources.NotFoundException {
          return this.mResources.getResourceName(resid);
      }
  
      public String getResourcePackageName(int resid) throws Resources.NotFoundException {
          return this.mResources.getResourcePackageName(resid);
      }
  
      public String getResourceTypeName(int resid) throws Resources.NotFoundException {
          return this.mResources.getResourceTypeName(resid);
      }
  
      public String getString(int id) throws Resources.NotFoundException {
          return this.mResources.getString(id);
      }
  
      public String getString(int id, Object... formatArgs) throws Resources.NotFoundException {
          return this.mResources.getString(id, formatArgs);
      }
  
      public String[] getStringArray(int id) throws Resources.NotFoundException {
          return this.mResources.getStringArray(id);
      }
  
      public CharSequence getText(int id) throws Resources.NotFoundException {
          return this.mResources.getText(id);
      }
  
      public CharSequence getText(int id, CharSequence def) {
          return this.mResources.getText(id, def);
      }
  
      public CharSequence[] getTextArray(int id) throws Resources.NotFoundException {
          return this.mResources.getTextArray(id);
      }
  
      public void getValue(int id, TypedValue outValue, boolean resolveRefs) throws Resources.NotFoundException {
          this.mResources.getValue(id, outValue, resolveRefs);
      }
  
      public void getValue(String name, TypedValue outValue, boolean resolveRefs) throws Resources.NotFoundException {
          this.mResources.getValue(name, outValue, resolveRefs);
      }
  
      public void getValueForDensity(int id, int density, TypedValue outValue, boolean resolveRefs) throws Resources.NotFoundException {
          Compatibility.Api15Impl.getValueForDensity(this.mResources, id, density, outValue, resolveRefs);
      }
  
      public XmlResourceParser getXml(int id) throws Resources.NotFoundException {
          return this.mResources.getXml(id);
      }
  
      public TypedArray obtainAttributes(AttributeSet set, int[] attrs) {
          return this.mResources.obtainAttributes(set, attrs);
      }
  
      public TypedArray obtainTypedArray(int id) throws Resources.NotFoundException {
          return this.mResources.obtainTypedArray(id);
      }
  
      public InputStream openRawResource(int id) throws Resources.NotFoundException {
          return this.mResources.openRawResource(id);
      }
  
      public InputStream openRawResource(int id, TypedValue value) throws Resources.NotFoundException {
          return this.mResources.openRawResource(id, value);
      }
  
      public AssetFileDescriptor openRawResourceFd(int id) throws Resources.NotFoundException {
          return this.mResources.openRawResourceFd(id);
      }
  
      public void parseBundleExtra(String tagName, AttributeSet attrs, Bundle outBundle) throws XmlPullParserException {
          this.mResources.parseBundleExtra(tagName, attrs, outBundle);
      }
  
      public void parseBundleExtras(XmlResourceParser parser, Bundle outBundle) throws XmlPullParserException, IOException {
          this.mResources.parseBundleExtras(parser, outBundle);
      }
  
      public void updateConfiguration(Configuration config, DisplayMetrics metrics) {
          super.updateConfiguration(config, metrics);
          Resources resources = this.mResources;
          if (resources != null) {
              resources.updateConfiguration(config, metrics);
          }
      }
  }
  