Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DKeyboardThemeTests.java19 import static com.android.inputmethod.keyboard.KeyboardTheme.THEME_ID_ICS;
20 import static com.android.inputmethod.keyboard.KeyboardTheme.THEME_ID_KLP;
21 import static com.android.inputmethod.keyboard.KeyboardTheme.THEME_ID_LXX_DARK;
22 import static com.android.inputmethod.keyboard.KeyboardTheme.THEME_ID_LXX_LIGHT;
82 final KeyboardTheme actualTheme = KeyboardTheme.getKeyboardTheme( in assertKeyboardTheme()
83 mPrefs, sdkVersion, KeyboardTheme.KEYBOARD_THEMES); in assertKeyboardTheme()
94 setKeyboardThemePreference(KeyboardTheme.KLP_KEYBOARD_THEME_KEY, THEME_ID_NULL); in assertKeyboardThemePreference()
95 setKeyboardThemePreference(KeyboardTheme.LXX_KEYBOARD_THEME_KEY, THEME_ID_NULL); in assertKeyboardThemePreference()
97 final String prefKey = KeyboardTheme.getPreferenceKey(sdkVersion); in assertKeyboardThemePreference()
143 final String oldPrefKey = KeyboardTheme.KLP_KEYBOARD_THEME_KEY; in assertDefaultKeyboardTheme()
[all …]
DKeyboardLayoutSetTestsBase.java85 final KeyboardTheme keyboardTheme = KeyboardTheme.searchKeyboardThemeById( in setUp()
86 getKeyboardThemeForTests(), KeyboardTheme.KEYBOARD_THEMES); in setUp()
DKeyboardLayoutSetNavigateMoreKeysKlpTests.java26 return KeyboardTheme.THEME_ID_KLP; in getKeyboardThemeForTests()
DKeyboardLayoutSetNavigateMoreKeysLxxTests.java28 return KeyboardTheme.THEME_ID_LXX_LIGHT; in getKeyboardThemeForTests()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardTheme.java32 public final class KeyboardTheme implements Comparable<KeyboardTheme> { class
33 private static final String TAG = KeyboardTheme.class.getSimpleName();
46 private static KeyboardTheme[] AVAILABLE_KEYBOARD_THEMES;
49 static final KeyboardTheme[] KEYBOARD_THEMES = {
50 new KeyboardTheme(THEME_ID_ICS, "ICS", R.style.KeyboardTheme_ICS,
53 new KeyboardTheme(THEME_ID_KLP, "KLP", R.style.KeyboardTheme_KLP,
56 new KeyboardTheme(THEME_ID_LXX_LIGHT, "LXXLight", R.style.KeyboardTheme_LXX_Light,
59 new KeyboardTheme(THEME_ID_LXX_DARK, "LXXDark", R.style.KeyboardTheme_LXX_Dark,
76 private KeyboardTheme(final int themeId, final String themeName, final int styleId, in KeyboardTheme() method in KeyboardTheme
85 public int compareTo(final KeyboardTheme rhs) { in compareTo()
[all …]
DKeyboardSwitcher.java66 private KeyboardTheme mKeyboardTheme;
93 mLatinIME, KeyboardTheme.getKeyboardTheme(mLatinIME /* context */)); in updateKeyboardTheme()
100 final KeyboardTheme keyboardTheme) { in updateKeyboardThemeAndContextThemeWrapper()
463 mLatinIME, KeyboardTheme.getKeyboardTheme(mLatinIME /* context */)); in onCreateInputView()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DThemeSettingsFragment.java25 import com.android.inputmethod.keyboard.KeyboardTheme;
49 final KeyboardTheme keyboardTheme = KeyboardTheme.getKeyboardTheme(context); in updateKeyboardThemeSummary()
75 final KeyboardTheme keyboardTheme = KeyboardTheme.getKeyboardTheme(context); in onCreate()
97 KeyboardTheme.saveKeyboardThemeId(mSelectedThemeId, getSharedPreferences()); in onPause()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
DLxxActionTestsBase.java19 import com.android.inputmethod.keyboard.KeyboardTheme;
24 return KeyboardTheme.THEME_ID_LXX_LIGHT; in getKeyboardThemeForTests()
DKlpActionTestsBase.java21 import com.android.inputmethod.keyboard.KeyboardTheme;
53 return KeyboardTheme.THEME_ID_KLP; in getKeyboardThemeForTests()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/
DKeyboardLayoutSetSubtypesCountTests.java23 import com.android.inputmethod.keyboard.KeyboardTheme;
36 return KeyboardTheme.THEME_ID_KLP; in getKeyboardThemeForTests()
DLayoutTestsBase.java27 import com.android.inputmethod.keyboard.KeyboardTheme;
63 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;
653 KeyboardTheme.getKeyboardThemeName(mParams.mThemeId)); in parseCaseCondition()