/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
KeyboardTheme.java | 32 public final class KeyboardTheme implements Comparable<KeyboardTheme> { 33 private static final String TAG = KeyboardTheme.class.getSimpleName(); 38 // These should be aligned with Keyboard.themeId and Keyboard.Case.keyboardTheme 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 [all...] |
KeyboardSwitcher.java | 66 private KeyboardTheme mKeyboardTheme; 93 mLatinIME, KeyboardTheme.getKeyboardTheme(mLatinIME /* context */)); 100 final KeyboardTheme keyboardTheme) { 101 if (mThemeContext == null || !keyboardTheme.equals(mKeyboardTheme)) { 102 mKeyboardTheme = keyboardTheme; 103 mThemeContext = new ContextThemeWrapper(context, keyboardTheme.mStyleId); 463 mLatinIME, KeyboardTheme.getKeyboardTheme(mLatinIME /* context */));
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/ |
KeyboardThemeTests.java | 19 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( 83 mPrefs, sdkVersion, KeyboardTheme.KEYBOARD_THEMES); 94 setKeyboardThemePreference(KeyboardTheme.KLP_KEYBOARD_THEME_KEY, THEME_ID_NULL); 95 setKeyboardThemePreference(KeyboardTheme.LXX_KEYBOARD_THEME_KEY, THEME_ID_NULL); 97 final String prefKey = KeyboardTheme.getPreferenceKey(sdkVersion) [all...] |
KeyboardLayoutSetNavigateMoreKeysKlpTests.java | 26 return KeyboardTheme.THEME_ID_KLP;
|
KeyboardLayoutSetTestsBase.java | 85 final KeyboardTheme keyboardTheme = KeyboardTheme.searchKeyboardThemeById( 86 getKeyboardThemeForTests(), KeyboardTheme.KEYBOARD_THEMES); 87 setContext(new ContextThemeWrapper(getContext(), keyboardTheme.mStyleId));
|
KeyboardLayoutSetNavigateMoreKeysLxxTests.java | 28 return KeyboardTheme.THEME_ID_LXX_LIGHT;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
ThemeSettingsFragment.java | 25 import com.android.inputmethod.keyboard.KeyboardTheme; 49 final KeyboardTheme keyboardTheme = KeyboardTheme.getKeyboardTheme(context); 53 if (keyboardTheme.mThemeId == keyboardThemeIds[index]) { 75 final KeyboardTheme keyboardTheme = KeyboardTheme.getKeyboardTheme(context); 76 mSelectedThemeId = keyboardTheme.mThemeId; 97 KeyboardTheme.saveKeyboardThemeId(mSelectedThemeId, getSharedPreferences()) [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/ |
LxxActionTestsBase.java | 19 import com.android.inputmethod.keyboard.KeyboardTheme; 24 return KeyboardTheme.THEME_ID_LXX_LIGHT;
|
KlpActionTestsBase.java | 21 import com.android.inputmethod.keyboard.KeyboardTheme; 53 return KeyboardTheme.THEME_ID_KLP;
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/ |
KeyboardLayoutSetSubtypesCountTests.java | 23 import com.android.inputmethod.keyboard.KeyboardTheme; 36 return KeyboardTheme.THEME_ID_KLP;
|
LayoutTestsBase.java | 27 import com.android.inputmethod.keyboard.KeyboardTheme; 63 return KeyboardTheme.THEME_ID_KLP;
|
/packages/inputmethods/LatinIME/java/res/values/ |
keyboard-themes.xml | 29 {@link com.android.inputmethod.keyboard.KeyboardTheme#THEME_ID_ICS} etc. -->
|
themes-ics.xml | 22 <style name="KeyboardTheme.ICS" parent="KeyboardIcons.Holo"> 39 <!-- This should be aligned with KeyboardTheme.THEME_ID_* -->
|
themes-klp.xml | 22 <style name="KeyboardTheme.KLP" parent="KeyboardIcons.Holo"> 39 <!-- This should be aligned with KeyboardTheme.THEME_ID_* -->
|
themes-lxx-dark.xml | 22 <style name="KeyboardTheme.LXX_Dark" parent="KeyboardIcons.LXX_Dark"> 38 <!-- This should be aligned with KeyboardTheme.THEME_ID_* -->
|
themes-lxx-light.xml | 22 <style name="KeyboardTheme.LXX_Light" parent="KeyboardIcons.LXX_Light"> 38 <!-- This should be aligned with KeyboardTheme.THEME_ID_* -->
|
attrs.xml | 22 <declare-styleable name="KeyboardTheme"> 236 {@link com.android.inputmethod.keyboard.KeyboardTheme#THEME_ID_ICS} etc. --> 479 {@link com.android.inputmethod.keyboard.KeyboardTheme#THEME_ID_ICS} etc. --> 480 <attr name="keyboardTheme" format="enum|string"> [all...] |
themes-common.xml | 39 <!-- TODO: Apply default {@link KeyboardTheme} to {@link InputTestBase} and remove this. -->
|
/packages/inputmethods/LatinIME/java/res/xml/ |
key_styles_actions.xml | 115 <case latin:keyboardTheme="ICS|KLP"> 123 <!-- keyboardTheme="LXXLight|LXXDark" -->
|
key_styles_number.xml | 112 <case latin:keyboardTheme="ICS|KLP"> 120 <case latin:keyboardTheme="LXXLight|LXXDark">
|
key_styles_common.xml | 81 <case latin:keyboardTheme="ICS|KLP"> 88 <!-- keyboardTheme="LXXLight|LXXDark" -->
|
key_styles_navigate_more_keys.xml | 25 <case latin:keyboardTheme="ICS|KLP">
|
key_styles_enter.xml | 216 <case latin:keyboardTheme="ICS|KLP"> 225 <!-- keyboardTheme="LXXLight|LXXDark" -->
|
/packages/inputmethods/LatinIME/java/res/xml-sw600dp/ |
key_styles_enter.xml | 84 <case latin:keyboardTheme="ICS|KLP"> 93 <!-- keyboardTheme="LXXLight|LXXDark" -->
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
KeyboardBuilder.java | 34 import com.android.inputmethod.keyboard.KeyboardTheme; 653 KeyboardTheme.getKeyboardThemeName(mParams.mThemeId)); 697 R.styleable.Keyboard_Case_keyboardTheme), "keyboardTheme"), [all...] |