Home
last modified time | relevance | path

Searched refs:themeId (Results 1 – 3 of 3) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardTheme.java76 private KeyboardTheme(final int themeId, final String themeName, final int styleId, in KeyboardTheme() argument
78 mThemeId = themeId; in KeyboardTheme()
103 static KeyboardTheme searchKeyboardThemeById(final int themeId, in searchKeyboardThemeById() argument
107 if (theme.mThemeId == themeId) { in searchKeyboardThemeById()
121 final int themeId = Integer.parseInt(klpThemeIdString); in getDefaultKeyboardTheme() local
122 final KeyboardTheme theme = searchKeyboardThemeById(themeId, in getDefaultKeyboardTheme()
145 public static String getKeyboardThemeName(final int themeId) { in getKeyboardThemeName() argument
146 final KeyboardTheme theme = searchKeyboardThemeById(themeId, KEYBOARD_THEMES); in getKeyboardThemeName()
150 public static void saveKeyboardThemeId(final int themeId, final SharedPreferences prefs) { in saveKeyboardThemeId() argument
151 saveKeyboardThemeId(themeId, prefs, BuildCompatUtils.EFFECTIVE_SDK_INT); in saveKeyboardThemeId()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DKeyboardThemeTests.java68 private static boolean isValidKeyboardThemeId(final int themeId) { in isValidKeyboardThemeId() argument
69 switch (themeId) { in isValidKeyboardThemeId()
80 private void setKeyboardThemePreference(final String prefKey, final int themeId) { in setKeyboardThemePreference() argument
81 final String themeIdString = Integer.toString(themeId); in setKeyboardThemePreference()
82 if (isValidKeyboardThemeId(themeId) || themeId == THEME_ID_UNKNOWN) { in setKeyboardThemePreference()
87 if (themeId == THEME_ID_NULL) { in setKeyboardThemePreference()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DThemeBundle.java420 String themeId, @DrawableRes int wallpaperResId, @StringRes int titleResId, in setWallpaperInfo() argument
423 themeId, wallpaperResId, titleResId, attributionResId, actionUrlResId); in setWallpaperInfo()