Home
last modified time | relevance | path

Searched refs:ResourcesProvider (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/content/res/loader/
DResourcesProvider.java40 public class ResourcesProvider implements AutoCloseable, Closeable { class
60 public static ResourcesProvider empty(@NonNull AssetsProvider assetsProvider) { in empty()
61 return new ResourcesProvider(ApkAssets.loadEmptyForLoader(ApkAssets.PROPERTY_LOADER, in empty()
77 public static ResourcesProvider loadFromApk(@NonNull ParcelFileDescriptor fileDescriptor) in loadFromApk()
98 public static ResourcesProvider loadFromApk(@NonNull ParcelFileDescriptor fileDescriptor, in loadFromApk()
101 return new ResourcesProvider(ApkAssets.loadFromFd(fileDescriptor.getFileDescriptor(), in loadFromApk()
127 public static ResourcesProvider loadFromApk(@NonNull ParcelFileDescriptor fileDescriptor, in loadFromApk()
130 return new ResourcesProvider(ApkAssets.loadFromFd(fileDescriptor.getFileDescriptor(), in loadFromApk()
152 public static ResourcesProvider loadFromTable(@NonNull ParcelFileDescriptor fileDescriptor, in loadFromTable()
155 return new ResourcesProvider( in loadFromTable()
[all …]
DResourcesLoader.java61 private ResourcesProvider[] mPreviousProviders;
64 private ResourcesProvider[] mProviders;
86 public List<ResourcesProvider> getProviders() { in getProviders()
101 public void addProvider(@NonNull ResourcesProvider resourcesProvider) { in addProvider()
103 mProviders = ArrayUtils.appendElement(ResourcesProvider.class, mProviders, in addProvider()
118 public void removeProvider(@NonNull ResourcesProvider resourcesProvider) { in removeProvider()
120 mProviders = ArrayUtils.removeElement(ResourcesProvider.class, mProviders, in removeProvider()
134 public void setProviders(@NonNull List<ResourcesProvider> resourcesProviders) { in setProviders()
136 mProviders = resourcesProviders.toArray(new ResourcesProvider[0]); in setProviders()
203 private static boolean arrayEquals(ResourcesProvider[] a1, ResourcesProvider[] a2) { in arrayEquals()
[all …]
/frameworks/base/tests/AppResourcesLoaders/src/com/android/example/loaders/
DLoadersApplication.java22 import android.content.res.loader.ResourcesProvider;
40 loader.addProvider(ResourcesProvider.loadFromApk(copyResource(LOADER_RESOURCES_APK))); in onCreate()
/frameworks/base/core/java/android/content/res/
DApkAssets.java24 import android.content.res.loader.ResourcesProvider;
/frameworks/base/core/java/android/widget/
DRemoteViews.java52 import android.content.res.loader.ResourcesProvider;
5964 colorsLoader.addProvider(ResourcesProvider
/frameworks/base/core/api/
Dcurrent.txt13498 method public void addProvider(@NonNull android.content.res.loader.ResourcesProvider);
13500 …method @NonNull public java.util.List<android.content.res.loader.ResourcesProvider> getProviders();
13501 method public void removeProvider(@NonNull android.content.res.loader.ResourcesProvider);
13502 …od public void setProviders(@NonNull java.util.List<android.content.res.loader.ResourcesProvider>);
13505 public class ResourcesProvider implements java.lang.AutoCloseable java.io.Closeable {
13507 …method @NonNull public static android.content.res.loader.ResourcesProvider empty(@NonNull android.…
13508 …method @NonNull public static android.content.res.loader.ResourcesProvider loadFromApk(@NonNull an…
13509 …method @NonNull public static android.content.res.loader.ResourcesProvider loadFromApk(@NonNull an…
13510 …method @NonNull public static android.content.res.loader.ResourcesProvider loadFromDirectory(@NonN…
13511 …method @NonNull public static android.content.res.loader.ResourcesProvider loadFromSplit(@NonNull …
[all …]
/frameworks/base/boot/
Dpreloaded-classes1711 android.content.res.loader.ResourcesProvider
Dboot-image-profile.txt24621 Landroid/content/res/loader/ResourcesProvider;
/frameworks/base/config/
Dpreloaded-classes1710 android.content.res.loader.ResourcesProvider
Dboot-image-profile.txt34258 Landroid/content/res/loader/ResourcesProvider;