Searched refs:newLoaders (Results 1 – 2 of 2) sorted by relevance
262 @NonNull List<ResourcesLoader> newLoaders); in onLoadersChanged() argument275 @NonNull List<ResourcesLoader> newLoaders) { in onLoadersChanged() argument279 impl.getAssets().setLoaders(newLoaders); in onLoadersChanged()2484 final List<ResourcesLoader> newLoaders = in addLoaders() local2486 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 …]
332 void setLoaders(@NonNull List<ResourcesLoader> newLoaders) { in setLoaders() argument333 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()