Searched refs:mThemeRefs (Results 1 – 1 of 1) sorted by relevance
165 private final ArrayList<WeakReference<Theme>> mThemeRefs = new ArrayList<>(); field in Resources357 synchronized (mThemeRefs) { in setImpl()358 final int count = mThemeRefs.size(); in setImpl()360 WeakReference<Theme> weakThemeRef = mThemeRefs.get(i); in setImpl()1963 synchronized (mThemeRefs) { in newTheme()1964 mThemeRefs.add(new WeakReference<>(theme)); in newTheme()1967 if (mThemeRefs.size() > mThemeRefsNextFlushSize) { in newTheme()1968 mThemeRefs.removeIf(ref -> ref.get() == null); in newTheme()1970 2 * mThemeRefs.size()); in newTheme()