Home | History | Annotate | Download | only in android
      1 package org.robolectric.res.android;
      2 
      3 import java.lang.ref.WeakReference;
      4 import org.robolectric.res.android.CppAssetManager2.Theme;
      5 
      6 public class Registries {
      7 
      8   public static final NativeObjRegistry<Asset> NATIVE_ASSET_REGISTRY =
      9       new NativeObjRegistry<>(Asset.class);
     10   public static final NativeObjRegistry<CppAssetManager2> NATIVE_ASSET_MANAGER_REGISTRY =
     11       new NativeObjRegistry<>(CppAssetManager2.class);
     12   public static final NativeObjRegistry<CppApkAssets> NATIVE_APK_ASSETS_REGISTRY =
     13       new NativeObjRegistry<>(CppApkAssets.class);
     14   public static final NativeObjRegistry<ResTableTheme> NATIVE_THEME_REGISTRY =
     15       new NativeObjRegistry<>(ResTableTheme.class);
     16   public static final NativeObjRegistry<ResXMLTree> NATIVE_RES_XML_TREES =
     17       new NativeObjRegistry<>(ResXMLTree.class);
     18   public static final NativeObjRegistry<ResXMLParser> NATIVE_RES_XML_PARSERS =
     19           new NativeObjRegistry<>(ResXMLParser.class);
     20   static final NativeObjRegistry<WeakReference<ResStringPool>> NATIVE_STRING_POOLS =
     21       new NativeObjRegistry<>("ResStringPool");
     22   public static final NativeObjRegistry<Theme> NATIVE_THEME9_REGISTRY =
     23       new NativeObjRegistry<>(Theme.class);
     24 }
     25