Searched refs:newLoaders (Results 1 – 2 of 2) sorted by relevance
280 @NonNull List<ResourcesLoader> newLoaders); in onLoadersChanged() argument293 @NonNull List<ResourcesLoader> newLoaders) { in onLoadersChanged() argument297 impl.getAssets().setLoaders(newLoaders); in onLoadersChanged()2642 final List<ResourcesLoader> newLoaders = in addLoaders() local2644 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 …]
354 void setLoaders(@NonNull List<ResourcesLoader> newLoaders) { in setLoaders() argument355 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()