Home
last modified time | relevance | path

Searched refs:newLoaders (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/content/res/
DResources.java280 @NonNull List<ResourcesLoader> newLoaders); in onLoadersChanged() argument
293 @NonNull List<ResourcesLoader> newLoaders) { in onLoadersChanged() argument
297 impl.getAssets().setLoaders(newLoaders); in onLoadersChanged()
2642 final List<ResourcesLoader> newLoaders = in addLoaders() local
2644 final ArraySet<ResourcesLoader> loaderSet = new ArraySet<>(newLoaders); in addLoaders()
2649 newLoaders.add(loader); in addLoaders()
2653 if (loaderSet.size() == newLoaders.size()) { in addLoaders()
2657 mCallbacks.onLoadersChanged(this, newLoaders); in addLoaders()
2658 for (int i = loaderSet.size(), n = newLoaders.size(); i < n; i++) { in addLoaders()
2659 newLoaders.get(i).registerOnProvidersChangedCallback(this, mCallbacks); in addLoaders()
[all …]
DAssetManager.java354 void setLoaders(@NonNull List<ResourcesLoader> newLoaders) { in setLoaders() argument
355 Objects.requireNonNull(newLoaders, "newLoaders"); in setLoaders()
365 if (!newLoaders.isEmpty()) { in setLoaders()
371 for (int i = newLoaders.size() - 1; i >= 0; i--) { in setLoaders()
372 final List<ApkAssets> currentLoaderApkAssets = newLoaders.get(i).getApkAssets(); in setLoaders()
382 mLoaders = newLoaders.toArray(new ResourcesLoader[0]); in setLoaders()