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.java262 @NonNull List<ResourcesLoader> newLoaders); in onLoadersChanged() argument
275 @NonNull List<ResourcesLoader> newLoaders) { in onLoadersChanged() argument
279 impl.getAssets().setLoaders(newLoaders); in onLoadersChanged()
2484 final List<ResourcesLoader> newLoaders = in addLoaders() local
2486 final ArraySet<ResourcesLoader> loaderSet = new ArraySet<>(newLoaders); in addLoaders()
2491 newLoaders.add(loader); in addLoaders()
2495 if (loaderSet.size() == newLoaders.size()) { in addLoaders()
2499 mCallbacks.onLoadersChanged(this, newLoaders); in addLoaders()
2500 for (int i = loaderSet.size(), n = newLoaders.size(); i < n; i++) { in addLoaders()
2501 newLoaders.get(i).registerOnProvidersChangedCallback(this, mCallbacks); in addLoaders()
[all …]
DAssetManager.java332 void setLoaders(@NonNull List<ResourcesLoader> newLoaders) { in setLoaders() argument
333 Objects.requireNonNull(newLoaders, "newLoaders"); in setLoaders()
343 if (!newLoaders.isEmpty()) { in setLoaders()
349 for (int i = newLoaders.size() - 1; i >= 0; i--) { in setLoaders()
350 final List<ApkAssets> currentLoaderApkAssets = newLoaders.get(i).getApkAssets(); in setLoaders()
360 mLoaders = newLoaders.toArray(new ResourcesLoader[0]); in setLoaders()