Home
last modified time | relevance | path

Searched refs:KeyboardTheme (Results 1 – 12 of 12) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardTheme.java29 public final class KeyboardTheme implements Comparable<KeyboardTheme> { class
30 private static final String TAG = KeyboardTheme.class.getSimpleName();
43 private static final KeyboardTheme[] KEYBOARD_THEMES = {
44 new KeyboardTheme(THEME_ID_ICS, "ICS", R.style.KeyboardTheme_ICS,
47 new KeyboardTheme(THEME_ID_KLP, "KLP", R.style.KeyboardTheme_KLP,
50 new KeyboardTheme(THEME_ID_LXX_LIGHT, "LXXLight", R.style.KeyboardTheme_LXX_Light,
53 new KeyboardTheme(THEME_ID_LXX_DARK, "LXXDark", R.style.KeyboardTheme_LXX_Dark,
69 private KeyboardTheme(final int themeId, final String themeName, final int styleId, in KeyboardTheme() method in KeyboardTheme
78 public int compareTo(final KeyboardTheme rhs) { in compareTo()
87 return (o instanceof KeyboardTheme) && ((KeyboardTheme)o).mThemeId == mThemeId; in equals()
[all …]
DKeyboardSwitcher.java64 private KeyboardTheme mKeyboardTheme;
93 mLatinIME, KeyboardTheme.getKeyboardTheme(mPrefs)); in updateKeyboardTheme()
100 final KeyboardTheme keyboardTheme) { in updateKeyboardThemeAndContextThemeWrapper()
350 mLatinIME, KeyboardTheme.getKeyboardTheme(mPrefs)); in onCreateInputView()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DKeyboardThemeTests.java20 import static com.android.inputmethod.keyboard.KeyboardTheme.THEME_ID_ICS;
21 import static com.android.inputmethod.keyboard.KeyboardTheme.THEME_ID_KLP;
22 import static com.android.inputmethod.keyboard.KeyboardTheme.THEME_ID_LXX_DARK;
23 import static com.android.inputmethod.keyboard.KeyboardTheme.THEME_ID_LXX_LIGHT;
80 assertEquals(expectedThemeId, KeyboardTheme.getKeyboardTheme(mPrefs, sdkVersion).mThemeId); in assertKeyboardTheme()
90 setKeyboardThemePreference(KeyboardTheme.KLP_KEYBOARD_THEME_KEY, THEME_ID_NULL); in assertKeyboardThemePreference()
91 setKeyboardThemePreference(KeyboardTheme.LXX_KEYBOARD_THEME_KEY, THEME_ID_NULL); in assertKeyboardThemePreference()
93 final String prefKey = KeyboardTheme.getPreferenceKey(sdkVersion); in assertKeyboardThemePreference()
139 final String oldPrefKey = KeyboardTheme.KLP_KEYBOARD_THEME_KEY; in assertDefaultKeyboardTheme()
142 final KeyboardTheme defaultTheme = in assertDefaultKeyboardTheme()
[all …]
DKeyboardLayoutSetTestsBase.java52 final KeyboardTheme keyboardTheme = KeyboardTheme.searchKeyboardThemeById( in setUp()
DKeyboardLayoutSetNavigateMoreKeysKlpTests.java26 return KeyboardTheme.THEME_ID_KLP; in getKeyboardThemeForTests()
DKeyboardLayoutSetNavigateMoreKeysLxxTests.java28 return KeyboardTheme.THEME_ID_LXX_LIGHT; in getKeyboardThemeForTests()
DKeyboardLayoutSetSubtypesCountTests.java34 return KeyboardTheme.THEME_ID_KLP; in getKeyboardThemeForTests()
DKeyboardLayoutSetActionLabelLxxTests.java30 return KeyboardTheme.THEME_ID_LXX_LIGHT; in getKeyboardThemeForTests()
DKeyboardLayoutSetActionLabelKlpTests.java36 return KeyboardTheme.THEME_ID_KLP; in getKeyboardThemeForTests()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DThemeSettingsFragment.java26 import com.android.inputmethod.keyboard.KeyboardTheme;
50 final KeyboardTheme keyboardTheme = KeyboardTheme.getKeyboardTheme(prefs); in updateKeyboardThemeSummary()
77 final KeyboardTheme keyboardTheme = KeyboardTheme.getKeyboardTheme(prefs); in onCreate()
99 KeyboardTheme.saveKeyboardThemeId(mSelectedThemeId, getSharedPreferences()); in onPause()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/
DLayoutTestsBase.java27 import com.android.inputmethod.keyboard.KeyboardTheme;
62 return KeyboardTheme.THEME_ID_KLP; in getKeyboardThemeForTests()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardBuilder.java34 import com.android.inputmethod.keyboard.KeyboardTheme;
649 KeyboardTheme.getKeyboardThemeName(mParams.mThemeId)); in parseCaseCondition()