Searched refs:ThemeItem (Results 1 – 2 of 2) sorted by relevance
27 public final class ThemeItem { class31 private ThemeItem(final String name, final int resId) { in ThemeItem() method in ThemeItem48 public static final List<ThemeItem> THEME_LIST = createThemeList(52 private static List<ThemeItem> createThemeList(final String... candidateList) { in createThemeList()53 final ArrayList<ThemeItem> list = new ArrayList<>(); in createThemeList()56 list.add(new ThemeItem(THEME_DEFAULT, R.style.defaultActivityTheme)); in createThemeList()62 list.add(new ThemeItem(name, constant.value)); in createThemeList()
186 for (final ThemeItem theme : ThemeItem.THEME_LIST) { in onOptionsItemSelected()209 saveTheme(ThemeItem.THEME_LIST.get(which)); in onClick()296 private void saveTheme(final ThemeItem theme) { in saveTheme()301 return prefs.getString(PREF_THEME, ThemeItem.getDefaultThemeName()); in getThemeName()306 for (final ThemeItem theme : ThemeItem.THEME_LIST) { in loadTheme()