Searched defs:themeId (Results 1 - 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DKeyboardTheme.java38 // These should be aligned with Keyboard.themeId and Keyboard.Case.keyboardTheme
74 // Note: The themeId should be aligned with "themeId" attribute of Keyboard style
76 private KeyboardTheme(final int themeId, final String themeName, final int styleId, argument
78 mThemeId = themeId;
103 static KeyboardTheme searchKeyboardThemeById(final int themeId, argument
107 if (theme.mThemeId == themeId) {
121 final int themeId = Integer.parseInt(klpThemeIdString);
122 final KeyboardTheme theme = searchKeyboardThemeById(themeId,
145 public static String getKeyboardThemeName(final int themeId) { argument
150 saveKeyboardThemeId(final int themeId, final SharedPreferences prefs) argument
163 saveKeyboardThemeId(final int themeId, final SharedPreferences prefs, final int sdkVersion) argument
[all...]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
H A DKeyboardThemeTests.java52 private static boolean isValidKeyboardThemeId(final int themeId) { argument
53 switch (themeId) {
64 private void setKeyboardThemePreference(final String prefKey, final int themeId) { argument
65 final String themeIdString = Integer.toString(themeId);
66 if (isValidKeyboardThemeId(themeId) || themeId == THEME_ID_UNKNOWN) {
71 if (themeId == THEME_ID_NULL) {
76 // themeId == THEME_ID_ILLEGAL

Completed in 93 milliseconds