HomeSort by relevance Sort by last modified time
    Searched refs:ExpectedKey (Results 1 - 25 of 100) sorted by null

1 2 3 4

  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/customizer/
LayoutCustomizer.java 22 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
34 protected static final ExpectedKey[] EMPTY_KEYS = joinKeys();
73 * @return the {@link ExpectedKey} of the alphabet key.
75 public ExpectedKey getAlphabetKey() { return ALPHABET_KEY; }
79 * @return the {@link ExpectedKey} of the symbols key.
81 public ExpectedKey getSymbolsKey() { return SYMBOLS_KEY; }
86 * @return the {@link ExpectedKey} of the symbols shift key.
88 public ExpectedKey getSymbolsShiftKey(boolean isPhone) {
94 * @return the {@link ExpectedKey} of the back to symbols key.
96 public ExpectedKey getBackToSymbolsKey() { return BACK_TO_SYMBOLS_KEY;
    [all...]
HindiCustomizer.java 21 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
29 public ExpectedKey getCurrencyKey() { return CURRENCY_RUPEE; }
32 public ExpectedKey[] getOtherCurrencyKeys() {
37 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) {
42 public ExpectedKey[] getKeysRightToSpacebar(final boolean isPhone) {
44 final ExpectedKey periodKey = key("\u0964", getPunctuationMoreKeys(isPhone));
49 public ExpectedKey[] getPunctuationMoreKeys(final boolean isPhone) {
54 private static final ExpectedKey CURRENCY_RUPEE = key("\u20B9",
58 private static final ExpectedKey[] HINDI_PHONE_PUNCTUATION_MORE_KEYS = joinKeys(
62 private static final ExpectedKey[] HINDI_TABLET_PUNCTUATION_MORE_KEYS = joinKeys
    [all...]
BengaliCustomizer.java 20 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
29 public ExpectedKey getAlphabetKey() { return BENGALI_ALPHABET_KEY; }
32 public ExpectedKey[] getOtherCurrencyKeys() {
37 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) {
44 private static final ExpectedKey BENGALI_ALPHABET_KEY = key(
PcQwertyCustomizer.java 19 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
30 public ExpectedKey[] getLeftShiftKeys(final boolean isPhone) {
35 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) {
40 public ExpectedKey[] getKeysLeftToSpacebar(final boolean isPhone) {
45 public ExpectedKey[] getKeysRightToSpacebar(final boolean isPhone) {
TamilCustomizer.java 19 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
28 public ExpectedKey getAlphabetKey() { return TAMIL_ALPHABET_KEY; }
31 public ExpectedKey[] getLeftShiftKeys(final boolean isPhone) {
36 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) {
43 private static final ExpectedKey TAMIL_ALPHABET_KEY = key(
DevanagariCustomizer.java 19 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
28 public ExpectedKey getAlphabetKey() { return HINDI_ALPHABET_KEY; }
31 public ExpectedKey getSymbolsKey() { return HINDI_SYMBOLS_KEY; }
34 public ExpectedKey getBackToSymbolsKey() { return HINDI_BACK_TO_SYMBOLS_KEY; }
39 private static final ExpectedKey HINDI_ALPHABET_KEY = key(
45 private static final ExpectedKey HINDI_SYMBOLS_KEY = key(HINDI_SYMBOLS_LABEL,
47 private static final ExpectedKey HINDI_BACK_TO_SYMBOLS_KEY = key(HINDI_SYMBOLS_LABEL,
NepaliCustomizer.java 21 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
29 public ExpectedKey getCurrencyKey() { return CURRENCY_NEPALI; }
32 public ExpectedKey[] getOtherCurrencyKeys() {
37 public ExpectedKey[] getSpaceKeys(final boolean isPhone) {
42 public ExpectedKey[] getKeysRightToSpacebar(final boolean isPhone) {
44 final ExpectedKey periodKey = key("\u0964", getPunctuationMoreKeys(isPhone));
49 public ExpectedKey[] getPunctuationMoreKeys(final boolean isPhone) {
55 private static final ExpectedKey CURRENCY_NEPALI = key("\u0930\u0941\u002E",
60 private static final ExpectedKey[] NEPALI_PHONE_PUNCTUATION_MORE_KEYS = joinKeys(
64 private static final ExpectedKey[] NEPALI_TABLET_PUNCTUATION_MORE_KEYS = joinKeys
    [all...]
EastSlavicCustomizer.java 19 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
28 public final ExpectedKey getAlphabetKey() { return EAST_SLAVIC_ALPHABET_KEY; }
31 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) {
38 private static final ExpectedKey EAST_SLAVIC_ALPHABET_KEY = key(
SouthSlavicLayoutCustomizer.java 20 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
31 public final ExpectedKey getAlphabetKey() { return SOUTH_SLAVIC_ALPHABET_KEY; }
34 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) {
41 private static final ExpectedKey SOUTH_SLAVIC_ALPHABET_KEY = key(
DvorakCustomizer.java 19 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
21 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey.ExpectedAdditionalMoreKey;
29 public ExpectedKey[] getLeftShiftKeys(final boolean isPhone) {
34 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) {
39 public ExpectedKey[] getKeysLeftToSpacebar(final boolean isPhone) {
46 public ExpectedKey[] getKeysRightToSpacebar(final boolean isPhone) {
56 final ExpectedKey ... moreKeys) {
GermanCustomizer.java 20 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
29 public ExpectedKey[] getDoubleQuoteMoreKeys() { return Symbols.DOUBLE_QUOTES_R9L; }
32 public ExpectedKey[] getSingleQuoteMoreKeys() { return Symbols.SINGLE_QUOTES_R9L; }
35 public ExpectedKey[] getDoubleAngleQuoteKeys() { return Symbols.DOUBLE_ANGLE_QUOTES_RL; }
38 public ExpectedKey[] getSingleAngleQuoteKeys() { return Symbols.SINGLE_ANGLE_QUOTES_RL; }
98 public ExpectedKey getCurrencyKey() { return mEuroCustomizer.getCurrencyKey(); }
101 public ExpectedKey[] getOtherCurrencyKeys() {
EuroCustomizer.java 21 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
34 public final ExpectedKey getCurrencyKey() { return Symbols.CURRENCY_EURO; }
37 public final ExpectedKey[] getOtherCurrencyKeys() {
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
AbstractLayoutBase.java 20 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey.ExpectedAdditionalMoreKey;
30 // Helper method to create an {@link ExpectedKey} object that has the label.
31 public static ExpectedKey key(final String label, final ExpectedKey ... moreKeys) {
32 return ExpectedKey.newInstance(label, moreKeys);
35 // Helper method to create an {@link ExpectedKey} object that has the label and the output text.
36 public static ExpectedKey key(final String label, final String outputText,
37 final ExpectedKey ... moreKeys) {
38 return ExpectedKey.newInstance(label, outputText, moreKeys);
41 // Helper method to create an {@link ExpectedKey} object that has the label and the output code
    [all...]
ExpectedKey.java 29 public class ExpectedKey {
30 static ExpectedKey EMPTY_KEY = newInstance("");
33 static ExpectedKey newInstance(final String label, final ExpectedKey... moreKeys) {
38 static ExpectedKey newInstance(final String label, final String outputText,
39 final ExpectedKey... moreKeys) {
45 static ExpectedKey newInstance(final String label, final int code,
46 final ExpectedKey... moreKeys) {
52 static ExpectedKey newInstance(final int iconId, final String outputText,
53 final ExpectedKey... moreKeys)
    [all...]
ExpectedKeyboardBuilder.java 26 * An expected keyboard is an array of rows, and a row consists of an array of {@link ExpectedKey}s.
27 * Each row may have different number of {@link ExpectedKey}s. While building an expected keyboard,
28 * an {@link ExpectedKey} can be specified by a row number and a column number, both numbers starts
31 public final class ExpectedKeyboardBuilder extends AbstractKeyboardBuilder<ExpectedKey> {
36 public ExpectedKeyboardBuilder(final ExpectedKey[][] rows) {
41 protected ExpectedKey defaultElement() {
42 return ExpectedKey.EMPTY_KEY;
46 ExpectedKey[] newArray(final int size) {
47 return new ExpectedKey[size];
51 ExpectedKey[][] newArrayOfArray(final int size)
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/
Hebrew.java 22 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
42 public ExpectedKey getAlphabetKey() { return HEBREW_ALPHABET_KEY; }
45 public ExpectedKey getCurrencyKey() { return CURRENCY_NEW_SHEQEL; }
48 public ExpectedKey[] getOtherCurrencyKeys() {
53 public ExpectedKey[] getDoubleQuoteMoreKeys() { return Symbols.DOUBLE_QUOTES_LR9; }
56 public ExpectedKey[] getSingleQuoteMoreKeys() { return Symbols.SINGLE_QUOTES_LR9; }
59 public ExpectedKey[] getDoubleAngleQuoteKeys() {
64 public ExpectedKey[] getSingleAngleQuoteKeys() {
69 public ExpectedKey[] getLeftShiftKeys(final boolean isPhone) {
74 public ExpectedKey[] getRightShiftKeys(final boolean isPhone)
    [all...]
Symbols.java 21 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
34 public ExpectedKey[][] getLayout(final boolean isPhone) {
67 public static final ExpectedKey DOLLAR_SIGN = key("$");
68 public static final ExpectedKey CENT_SIGN = key("\u00A2");
69 public static final ExpectedKey POUND_SIGN = key("\u00A3");
70 public static final ExpectedKey YEN_SIGN = key("\u00A5");
71 public static final ExpectedKey EURO_SIGN = key("\u20AC");
72 public static final ExpectedKey PESO_SIGN = key("\u20B1");
73 public static final ExpectedKey CURRENCY_DOLLAR = key("$",
75 public static final ExpectedKey CURRENCY_EURO = key("\u20AC"
    [all...]
Lao.java 21 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
47 public ExpectedKey getAlphabetKey() { return LAO_ALPHABET_KEY; }
50 public ExpectedKey getCurrencyKey() { return CURRENCY_KIP; }
53 public ExpectedKey[] getOtherCurrencyKeys() {
58 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) { return EMPTY_KEYS; }
63 private static final ExpectedKey LAO_ALPHABET_KEY = key(
67 private static final ExpectedKey CURRENCY_KIP = key("\u20AD",
72 ExpectedKey[][] getCommonAlphabetLayout(final boolean isPhone) {
82 public ExpectedKey[][] getCommonAlphabetShiftLayout(final boolean isPhone,
90 private static final ExpectedKey[][] ALPHABET_COMMON = new ExpectedKeyboardBuilder(
    [all...]
Sinhala.java 21 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
44 public ExpectedKey getAlphabetKey() { return SINHALA_ALPHABET_KEY; }
47 public ExpectedKey getCurrencyKey() { return CURRENCY_RUPEE; }
50 public ExpectedKey[] getOtherCurrencyKeys() {
55 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) {
61 private static final ExpectedKey SINHALA_ALPHABET_KEY = key(
65 private static final ExpectedKey CURRENCY_RUPEE = key("\u0DBB\u0DD4",
70 ExpectedKey[][] getCommonAlphabetLayout(boolean isPhone) { return ALPHABET_COMMON; }
73 ExpectedKey[][] getCommonAlphabetShiftLayout(boolean isPhone, final int elementId) {
80 private static final ExpectedKey[][] ALPHABET_COMMON = new ExpectedKeyboardBuilder(
    [all...]
Arabic.java 22 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
42 public ExpectedKey getAlphabetKey() { return ARABIC_ALPHABET_KEY; }
45 public ExpectedKey getSymbolsKey() { return ARABIC_SYMBOLS_KEY; }
48 public ExpectedKey getBackToSymbolsKey() { return ARABIC_BACK_TO_SYMBOLS_KEY; }
51 public ExpectedKey[] getDoubleAngleQuoteKeys() {
56 public ExpectedKey[] getSingleAngleQuoteKeys() {
61 public ExpectedKey[] getLeftShiftKeys(final boolean isPhone) {
66 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) {
71 public ExpectedKey[] getKeysLeftToSpacebar(final boolean isPhone) {
84 public ExpectedKey[] getKeysRightToSpacebar(final boolean isPhone)
    [all...]
ArmenianPhonetic.java 20 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
47 public ExpectedKey getAlphabetKey() { return ARMENIAN_ALPHABET_KEY; }
50 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) {
64 public ExpectedKey[] getKeysLeftToSpacebar(final boolean isPhone) {
71 public ExpectedKey[] getKeysRightToSpacebar(final boolean isPhone) {
73 final ExpectedKey fullStopKey = key("\u0589", getPunctuationMoreKeys(isPhone));
78 public ExpectedKey[] getPunctuationMoreKeys(final boolean isPhone) {
85 private static final ExpectedKey ARMENIAN_ALPHABET_KEY = key(
98 private static final ExpectedKey[] ARMENIAN_PUNCTUATION_MORE_KEYS = joinMoreKeys(
104 ExpectedKey[][] getCommonAlphabetLayout(final boolean isPhone)
    [all...]
Georgian.java 21 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
44 public ExpectedKey getAlphabetKey() { return GEORGIAN_ALPHABET_KEY; }
47 public ExpectedKey[] getDoubleQuoteMoreKeys() { return Symbols.DOUBLE_QUOTES_R9L; }
50 public ExpectedKey[] getSingleQuoteMoreKeys() { return Symbols.SINGLE_QUOTES_R9L; }
55 private static final ExpectedKey GEORGIAN_ALPHABET_KEY = key(
60 ExpectedKey[][] getCommonAlphabetLayout(final boolean isPhone) {
65 public ExpectedKey[][] getCommonAlphabetShiftLayout(final boolean isPhone,
73 private static final ExpectedKey[][] ALPHABET_COMMON = new ExpectedKeyboardBuilder()
140 private static final ExpectedKey[][] ALPHABET_SHIFTED_COMMON = new ExpectedKeyboardBuilder()
Kannada.java 20 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
43 public ExpectedKey getAlphabetKey() { return KANNADA_ALPHABET_KEY; }
46 public ExpectedKey getCurrencyKey() { return CURRENCY_RUPEE; }
49 public ExpectedKey[] getOtherCurrencyKeys() {
54 public ExpectedKey[] getLeftShiftKeys(final boolean isPhone) {
59 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) {
64 public ExpectedKey[] getSpaceKeys(final boolean isPhone) {
71 private static final ExpectedKey KANNADA_ALPHABET_KEY = key(
75 private static final ExpectedKey CURRENCY_RUPEE = key("\u20B9",
80 ExpectedKey[][] getCommonAlphabetLayout(boolean isPhone) { return ALPHABET_COMMON;
    [all...]
Telugu.java 20 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
43 public ExpectedKey getAlphabetKey() { return TELUGU_ALPHABET_KEY; }
46 public ExpectedKey getCurrencyKey() { return CURRENCY_RUPEE; }
49 public ExpectedKey[] getOtherCurrencyKeys() {
54 public ExpectedKey[] getLeftShiftKeys(final boolean isPhone) {
59 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) {
64 public ExpectedKey[] getSpaceKeys(final boolean isPhone) {
71 private static final ExpectedKey TELUGU_ALPHABET_KEY = key(
75 private static final ExpectedKey CURRENCY_RUPEE = key("\u20B9",
80 ExpectedKey[][] getCommonAlphabetLayout(boolean isPhone) { return ALPHABET_COMMON;
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/
TestsBengaliIN.java 25 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
44 public ExpectedKey[] getLeftShiftKeys(final boolean isPhone) { return EMPTY_KEYS; }
47 public ExpectedKey getCurrencyKey() { return CURRENCY_RUPEE; }
50 private static final ExpectedKey CURRENCY_RUPEE = key("\u20B9",

Completed in 182 milliseconds

1 2 3 4