Searched refs:key (Results 1 - 25 of 491) sorted by relevance

1234567891011>>

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/
H A DMalayalam.java63 private static final ExpectedKey MALAYALAM_ALPHABET_KEY = key(
67 private static final ExpectedKey CURRENCY_RUPEE = key("\u20B9",
83 key("\u0D4D", joinMoreKeys("\u0D05", "1")),
86 key("\u0D3E", joinMoreKeys("\u0D06", "2")),
89 key("\u0D3F", joinMoreKeys("\u0D07", "3")),
92 key("\u0D40", joinMoreKeys("\u0D08", "4")),
95 key("\u0D41", joinMoreKeys("\u0D09", "5")),
98 key("\u0D42", joinMoreKeys("\u0D0A", "6")),
101 key("\u0D43", joinMoreKeys("\u0D0B", "7")),
106 key("\u0D4
[all...]
H A DBengali.java60 private static final ExpectedKey BENGALI_ALPHABET_KEY = key(
77 key("\u0994", joinMoreKeys("\u09CC", "\u09E7", "1")),
81 key("\u0990", joinMoreKeys("\u09C8", "\u09E8", "2")),
85 key("\u0986", joinMoreKeys("\u09BE", "\u09E9", "3")),
89 key("\u0988", joinMoreKeys("\u09C0", "\u09EA", "4")),
93 key("\u098A", joinMoreKeys("\u09C2", "\u09EB", "5")),
97 key("\u09AC", joinMoreKeys("\u09AD", "\u09EC", "6")),
100 key("\u09B9", joinMoreKeys("\u09ED", "7")),
104 key("\u0997", joinMoreKeys("\u0998", "\u09EE", "8")),
108 key("\u09A
[all...]
H A DNepaliTraditional.java52 return joinKeys(key(SIGN_VIRAMA, "\u094D", PHONE_PUNCTUATION_MORE_KEYS));
66 key(VOWEL_SIGN_E, "\u0947", joinMoreKeys(
72 key("\u0930", moreKey("\u0930\u0941")));
77 key(SIGN_VISARGA, "\u0903", moreKey("\u093D")),
79 key(VOWEL_SIGN_E, "\u0947"),
83 key("\u0930", moreKey("!")),
85 key(SIGN_VIRAMA, "\u094D", moreKey("?")));
100 key(SIGN_ANUSVARA, "\u0902"),
106 key(VOWEL_SIGN_AI, "\u0948", moreKey("\u0936\u094D\u0930")));
110 key(SIGN_ANUSVAR
[all...]
H A DHindi.java69 private static final ExpectedKey HINDI_ALPHABET_KEY = key(
75 private static final ExpectedKey HINDI_SYMBOLS_KEY = key(HINDI_SYMBOLS_LABEL,
77 private static final ExpectedKey HINDI_BACK_TO_SYMBOLS_KEY = key(HINDI_SYMBOLS_LABEL,
81 private static final ExpectedKey CURRENCY_RUPEE = key("\u20B9",
101 key(VOWEL_SIGN_AU, "\u094C", joinMoreKeys(
107 key(VOWEL_SIGN_AI, "\u0948", joinMoreKeys(
114 key(VOWEL_SIGN_AA, "\u093E", joinMoreKeys(
121 key(VOWEL_SIGN_II, "\u0940", joinMoreKeys(
128 key(VOWEL_SIGN_UU, "\u0942", joinMoreKeys(
135 key("\u092
[all...]
H A DGeorgian.java54 private static final ExpectedKey GEORGIAN_ALPHABET_KEY = key(
75 key("\u10E5", moreKey("1")),
77 key("\u10EC", moreKey("2")),
80 key("\u10D4", joinMoreKeys("3", "\u10F1")),
82 key("\u10E0", moreKey("4")),
84 key("\u10E2", moreKey("5")),
87 key("\u10E7", joinMoreKeys("6", "\u10F8")),
89 key("\u10E3", moreKey("7")),
92 key("\u10D8", joinMoreKeys("8", "\u10F2")),
94 key("\u10D
[all...]
H A DMarathi.java63 key(VOWEL_SIGN_AU, "\u094C", joinMoreKeys("\u0914", "\u0967", "1")),
67 key(VOWEL_SIGN_AI, "\u0948", joinMoreKeys("\u0910", "\u0968", "2")),
71 key(VOWEL_SIGN_AA, "\u093E", joinMoreKeys("\u0906", "\u0969", "3")),
75 key(VOWEL_SIGN_II, "\u0940", joinMoreKeys("\u0908", "\u096A", "4")),
79 key(VOWEL_SIGN_UU, "\u0942", joinMoreKeys("\u090A", "\u096B", "5")),
83 key("\u092C", joinMoreKeys("\u092D", "\u096C", "6")),
86 key("\u0939", joinMoreKeys("\u096D", "7")),
90 key("\u0917", joinMoreKeys("\u0918", "\u096E", "8")),
94 key("\u0926", joinMoreKeys("\u0927", "\u096F", "9")),
100 key("\u091
[all...]
H A DMyanmar.java57 return isPhone ? joinKeys(key("\u002C", SETTINGS_KEY))
58 : joinKeys(key("\u104A", moreKey(","), SETTINGS_KEY));
64 final ExpectedKey periodKey = key("\u104B", getPunctuationMoreKeys(isPhone));
77 private static final ExpectedKey MYANMAR_ALPHABET_KEY = key(
106 key("\u1041", moreKey("1")),
108 key("\u1042", moreKey("2")),
110 key("\u1043", moreKey("3")),
112 key("\u1044", moreKey("4")),
114 key("\u1045", moreKey("5")),
116 key("\u104
[all...]
H A DTamil.java57 private static final ExpectedKey TAMIL_ALPHABET_KEY = key(
73 key("\u0B94", joinMoreKeys("\u0BCC", "1")),
76 key("\u0B90", joinMoreKeys("\u0BC8", "2")),
79 key("\u0B86", joinMoreKeys("\u0BBE", "3")),
82 key("\u0B88", joinMoreKeys("\u0BC0", "4")),
85 key("\u0B8A", joinMoreKeys("\u0BC2","5")),
87 key("\u0BAE", moreKey("6")),
89 key("\u0BA9", moreKey("7")),
91 key("\u0BA8", moreKey("8")),
93 key("\u0B9
[all...]
H A DKannada.java64 return joinKeys(LANGUAGE_SWITCH_KEY, SPACE_KEY, key(ZWNJ_KEY, ZWJ_KEY));
70 private static final ExpectedKey KANNADA_ALPHABET_KEY = key(
74 private static final ExpectedKey CURRENCY_RUPEE = key("\u20B9",
91 key("\u0CCC", joinMoreKeys("\u0C94", "\u0CE7", "1")),
95 key("\u0CC8", joinMoreKeys("\u0C90", "\u0CE8", "2")),
99 key("\u0CBE", joinMoreKeys("\u0C86", "\u0CE9", "3")),
103 key("\u0CC0", joinMoreKeys("\u0C88", "\u0CEA", "4")),
107 key("\u0CC2", joinMoreKeys("\u0C8A", "\u0CEB", "5")),
111 key("\u0CAC", joinMoreKeys("\u0CAD", "\u0CEC", "6")),
115 key("\u0CB
[all...]
H A DKhmer.java57 private static final ExpectedKey KHMER_ALPHABET_KEY = key(
61 private static final ExpectedKey CURRENCY_DOLLAR_WITH_RIEL = key(Symbols.DOLLAR_SIGN,
89 key("\u17E1", joinMoreKeys("1", "\u17F1")),
92 key("\u17E2", joinMoreKeys("2", "\u17F2")),
95 key("\u17E3", joinMoreKeys("3", "\u17F3")),
98 key("\u17E4", joinMoreKeys("4", "\u17F4")),
101 key("\u17E5", joinMoreKeys("5", "\u17F5")),
104 key("\u17E6", joinMoreKeys("6", "\u17F6")),
107 key("\u17E7", joinMoreKeys("7", "\u17F7")),
110 key("\u17E
[all...]
H A DTelugu.java64 return joinKeys(LANGUAGE_SWITCH_KEY, SPACE_KEY, key(ZWNJ_KEY, ZWJ_KEY));
70 private static final ExpectedKey TELUGU_ALPHABET_KEY = key(
74 private static final ExpectedKey CURRENCY_RUPEE = key("\u20B9",
90 key("\u0C4C", joinMoreKeys("\u0C14", "1")),
93 key("\u0C48", joinMoreKeys("\u0C10", "2")),
96 key("\u0C3E", joinMoreKeys("\u0C06", "3")),
99 key("\u0C40", joinMoreKeys("\u0C08", "4")),
102 key("\u0C42", joinMoreKeys("\u0C0A", "5")),
105 key("\u0C2C", joinMoreKeys("\u0C2D", "6")),
108 key("\u0C3
[all...]
H A DHindiCompact.java52 final ExpectedKey periodKey = key("\u0964", getPunctuationMoreKeys(isPhone));
84 key("\u0914", joinMoreKeys(moreKey(VOWEL_SIGN_AU, "\u094C"), "\u0967", "1")),
88 key("\u0910", joinMoreKeys(moreKey(VOWEL_SIGN_AI, "\u0948"), "\u0968", "2")),
92 key("\u0906", joinMoreKeys(moreKey(VOWEL_SIGN_AA, "\u093E"), "\u0969", "3")),
96 key("\u0908", joinMoreKeys(moreKey(VOWEL_SIGN_II, "\u0940"), "\u096A", "4")),
100 key("\u090A", joinMoreKeys(moreKey(VOWEL_SIGN_UU, "\u0942"), "\u096B", "5")),
104 key("\u092C", joinMoreKeys("\u092D", "\u096C", "6")),
107 key("\u0939", joinMoreKeys("\u096D", "7")),
111 key("\u0917", joinMoreKeys("\u0918", "\u096E", "8")),
115 key("\u092
[all...]
H A DArabic.java75 return joinKeys(key("\u060C", SETTINGS_KEY));
80 return joinKeys(key("\u060C", joinMoreKeys(
92 return joinKeys(key(".", getPunctuationMoreKeys(isPhone)));
104 private static final ExpectedKey ARABIC_ALPHABET_KEY = key(
110 private static final ExpectedKey ARABIC_SYMBOLS_KEY = key(
112 private static final ExpectedKey ARABIC_BACK_TO_SYMBOLS_KEY = key(
161 key("\u0636", joinMoreKeys("1", "\u0661")),
164 key("\u0635", joinMoreKeys("2", "\u0662")),
167 key("\u062B", joinMoreKeys("3", "\u0663")),
171 key("\u064
[all...]
H A DNordic.java44 key("q", additionalMoreKey("1")),
45 key("w", additionalMoreKey("2")),
46 key("e", additionalMoreKey("3")),
47 key("r", additionalMoreKey("4")),
48 key("t", additionalMoreKey("5")),
49 key("y", additionalMoreKey("6")),
50 key("u", additionalMoreKey("7")),
51 key("i", additionalMoreKey("8")),
52 key("o", additionalMoreKey("9")),
53 key("
[all...]
H A DQwerty.java40 key("q", additionalMoreKey("1")),
41 key("w", additionalMoreKey("2")),
42 key("e", additionalMoreKey("3")),
43 key("r", additionalMoreKey("4")),
44 key("t", additionalMoreKey("5")),
45 key("y", additionalMoreKey("6")),
46 key("u", additionalMoreKey("7")),
47 key("i", additionalMoreKey("8")),
48 key("o", additionalMoreKey("9")),
49 key("
[all...]
H A DQwertz.java37 key("q", additionalMoreKey("1")),
38 key("w", additionalMoreKey("2")),
39 key("e", additionalMoreKey("3")),
40 key("r", additionalMoreKey("4")),
41 key("t", additionalMoreKey("5")),
42 key("z", additionalMoreKey("6")),
43 key("u", additionalMoreKey("7")),
44 key("i", additionalMoreKey("8")),
45 key("o", additionalMoreKey("9")),
46 key("
[all...]
H A DSpanish.java39 key("q", additionalMoreKey("1")),
40 key("w", additionalMoreKey("2")),
41 key("e", additionalMoreKey("3")),
42 key("r", additionalMoreKey("4")),
43 key("t", additionalMoreKey("5")),
44 key("y", additionalMoreKey("6")),
45 key("u", additionalMoreKey("7")),
46 key("i", additionalMoreKey("8")),
47 key("o", additionalMoreKey("9")),
48 key("
[all...]
H A DSwiss.java41 key("q", additionalMoreKey("1")),
42 key("w", additionalMoreKey("2")),
43 key("e", additionalMoreKey("3")),
44 key("r", additionalMoreKey("4")),
45 key("t", additionalMoreKey("5")),
46 key("z", additionalMoreKey("6")),
47 key("u", additionalMoreKey("7")),
48 key("i", additionalMoreKey("8")),
49 key("o", additionalMoreKey("9")),
50 key("
[all...]
H A DThai.java62 private static final ExpectedKey THAI_ALPHABET_KEY = key(
66 private static final ExpectedKey CURRENCY_BAHT = key("\u0E3F",
107 key("/", joinMoreKeys("1", "\u0E51")),
109 key("_", joinMoreKeys("2", "\u0E52")),
112 key("\u0E20", joinMoreKeys("3", "\u0E53")),
115 key("\u0E16", joinMoreKeys("4", "\u0E54")),
117 key(" \u0E38", "\u0E38"),
119 key(" \u0E36", "\u0E36"),
122 key("\u0E04", joinMoreKeys("5", "\u0E55")),
125 key("\u0E1
[all...]
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
H A DMockSharedPreferences.java40 public boolean contains(String key) { argument
41 return mValues.containsKey(key);
48 public boolean getBoolean(String key, boolean defValue) { argument
49 if (mValues.containsKey(key)) {
50 return ((Boolean)mValues.get(key)).booleanValue();
55 public float getFloat(String key, float defValue) { argument
56 if (mValues.containsKey(key)) {
57 return ((Float)mValues.get(key)).floatValue();
62 public int getInt(String key, int defValue) { argument
63 if (mValues.containsKey(key)) {
69 getLong(String key, long defValue) argument
76 getString(String key, String defValue) argument
83 getStringSet(String key, Set<String> defValues) argument
100 putBoolean(String key, boolean value) argument
105 putFloat(String key, float value) argument
110 putInt(String key, int value) argument
115 putLong(String key, long value) argument
120 putString(String key, String value) argument
125 putStringSet(String key, Set<String> values) argument
130 remove(String key) argument
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
H A DMockSharedPreferences.java40 public boolean contains(String key) { argument
41 return mValues.containsKey(key);
48 public boolean getBoolean(String key, boolean defValue) { argument
49 if (mValues.containsKey(key)) {
50 return ((Boolean)mValues.get(key)).booleanValue();
55 public float getFloat(String key, float defValue) { argument
56 if (mValues.containsKey(key)) {
57 return ((Float)mValues.get(key)).floatValue();
62 public int getInt(String key, int defValue) { argument
63 if (mValues.containsKey(key)) {
69 getLong(String key, long defValue) argument
76 getString(String key, String defValue) argument
83 getStringSet(String key, Set<String> defValues) argument
100 putBoolean(String key, boolean value) argument
105 putFloat(String key, float value) argument
110 putInt(String key, int value) argument
115 putLong(String key, long value) argument
120 putString(String key, String value) argument
125 putStringSet(String key, Set<String> values) argument
130 remove(String key) argument
[all...]
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/
H A DSparseIntArray.java38 public void put(final int key, final int value) { argument
39 mArray.put(key, value);
42 public int get(final int key) { argument
43 return get(key, 0);
46 public int get(final int key, final int valueIfKeyNotFound) { argument
47 return mArray.get(key, valueIfKeyNotFound);
50 public int indexOfKey(final int key) { argument
51 return mArray.indexOfKey(key);
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/
H A Dsuggest_options.h45 AK_FORCE_INLINE bool getAdditionalFeaturesBoolOption(const int key) const {
46 return getBoolOption(key + ADDITIONAL_FEATURES_OPTIONS);
65 AK_FORCE_INLINE bool isValidKey(const int key) const {
66 return 0 <= key && key < mLength;
69 AK_FORCE_INLINE bool getBoolOption(const int key) const {
70 if (isValidKey(key)) {
71 return mOptions[key] != 0;
76 AK_FORCE_INLINE int getIntOption(const int key) const {
77 if (isValidKey(key)) {
[all...]
/packages/apps/LegacyCamera/src/com/android/camera/
H A DComboPreferences.java75 private static boolean isGlobal(String key) { argument
76 return key.equals(CameraSettings.KEY_VIDEO_TIME_LAPSE_FRAME_INTERVAL)
77 || key.equals(CameraSettings.KEY_CAMERA_ID)
78 || key.equals(CameraSettings.KEY_RECORD_LOCATION)
79 || key.equals(CameraSettings.KEY_CAMERA_FIRST_USE_HINT_SHOWN)
80 || key.equals(CameraSettings.KEY_VIDEO_FIRST_USE_HINT_SHOWN)
81 || key.equals(CameraSettings.KEY_VIDEO_EFFECT);
84 public String getString(String key, String defValue) { argument
85 if (isGlobal(key) || !mPrefLocal.contains(key)) {
92 getInt(String key, int defValue) argument
100 getLong(String key, long defValue) argument
108 getFloat(String key, float defValue) argument
116 getBoolean(String key, boolean defValue) argument
125 getStringSet(String key, Set<String> defValues) argument
129 contains(String key) argument
162 remove(String key) argument
168 putString(String key, String value) argument
177 putInt(String key, int value) argument
186 putLong(String key, long value) argument
195 putFloat(String key, float value) argument
204 putBoolean(String key, boolean value) argument
214 putStringSet(String key, Set<String> values) argument
235 onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) argument
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DKeysCache.java30 public Key get(final Key key) { argument
31 final Key existingKey = mMap.get(key);
33 // Reuse the existing element that equals to "key" without adding "key" to the map.
36 mMap.put(key, key);
37 return key;

Completed in 531 milliseconds

1234567891011>>