Home
last modified time | relevance | path

Searched refs:key (Results 1 – 25 of 2256) sorted by relevance

12345678910>>...91

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/
DBengaliAkkhor.java58 key("\u09A7", joinMoreKeys("\u09E7", "\u09A7\u09CD\u09AC", "\u09A7\u09CD\u09AF",
66 key("\u09A5", joinMoreKeys("\u09E8", "\u09A5\u09CD\u09AF",
71 key("\u09C7", joinMoreKeys("\u09E9", "\u098F")),
74 key("\u09B0", joinMoreKeys("\u09EA")),
86 key("\u09A4", joinMoreKeys("\u09EB", "\u09CE", "\u09A4\u09CD\u09A4",
90 key("\u09DF", joinMoreKeys("\u09EC")),
94 key("\u09C1", joinMoreKeys("\u09ED", "\u0989")),
98 key("\u09Bf", joinMoreKeys("\u09EE", "\u0987")),
102 key("\u09CB", joinMoreKeys("\u09EF", "\u0993")),
119 key("\u09AA", joinMoreKeys("\u09E6", "\u09AA\u09CD\u09A4", "\u09AA\u09CD\u09A8",
[all …]
DHindi.java55 key(VOWEL_SIGN_AU, "\u094C", joinMoreKeys(
61 key(VOWEL_SIGN_AI, "\u0948", joinMoreKeys(
68 key(VOWEL_SIGN_AA, "\u093E", joinMoreKeys(
75 key(VOWEL_SIGN_II, "\u0940", joinMoreKeys(
82 key(VOWEL_SIGN_UU, "\u0942", joinMoreKeys(
89 key("\u092C", joinMoreKeys("\u092C\u0952", "\u096C", "6")),
92 key("\u0939", joinMoreKeys("\u096D", "7")),
99 key("\u0917", joinMoreKeys("\u091C\u094D\u091E", "\u0917\u093C", "\u0917\u0952",
103 key("\u0926", joinMoreKeys("\u096F", "9")),
110 key("\u091C", joinMoreKeys("\u091C\u0952", "\u091C\u094D\u091E", "\u091C\u093C",
[all …]
DSymbols.java38 builder.replaceKeyOfLabel(DOUBLE_QUOTE, key("\"", joinMoreKeys( in getLayout()
40 builder.replaceKeyOfLabel(SINGLE_QUOTE, key("'", joinMoreKeys( in getLayout()
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 …]
DNepaliTraditional.java66 key("\u091F", joinMoreKeys("\u0967", "1")),
69 key("\u0927", joinMoreKeys("\u0968", "2")),
72 key("\u092D", joinMoreKeys("\u0969", "3")),
75 key("\u091A", joinMoreKeys("\u096A", "4")),
78 key("\u0924", joinMoreKeys("\u096B", "5")),
81 key("\u0925", joinMoreKeys("\u096C", "6")),
84 key("\u0917", joinMoreKeys("\u096D", "7")),
87 key("\u0937", joinMoreKeys("\u096E", "8")),
90 key("\u092F", joinMoreKeys("\u096F", "9")),
93 key("\u0909", joinMoreKeys("\u0966", "0")),
[all …]
DMalayalam.java64 private static final ExpectedKey MALAYALAM_ALPHABET_KEY = key(
68 private static final ExpectedKey CURRENCY_RUPEE = key("\u20B9",
84 key("\u0D4D", joinMoreKeys("\u0D05", "1")),
87 key("\u0D3E", joinMoreKeys("\u0D06", "2")),
90 key("\u0D3F", joinMoreKeys("\u0D07", "3")),
93 key("\u0D40", joinMoreKeys("\u0D08", "4")),
96 key("\u0D41", joinMoreKeys("\u0D09", "5")),
99 key("\u0D42", joinMoreKeys("\u0D0A", "6")),
102 key("\u0D43", joinMoreKeys("\u0D0B", "7")),
107 key("\u0D46", joinMoreKeys("\u0D0E", "\u0D10", "\u0D48", "8")),
[all …]
DTelugu.java65 return joinKeys(LANGUAGE_SWITCH_KEY, SPACE_KEY, key(ZWNJ_KEY, ZWJ_KEY)); in getSpaceKeys()
71 private static final ExpectedKey TELUGU_ALPHABET_KEY = key(
75 private static final ExpectedKey CURRENCY_RUPEE = key("\u20B9",
91 key("\u0C4C", joinMoreKeys("\u0C14", "1")),
94 key("\u0C48", joinMoreKeys("\u0C10", "2")),
97 key("\u0C3E", joinMoreKeys("\u0C06", "3")),
100 key("\u0C40", joinMoreKeys("\u0C08", "4")),
103 key("\u0C42", joinMoreKeys("\u0C0A", "5")),
106 key("\u0C2C", joinMoreKeys("\u0C2D", "6")),
109 key("\u0C39", joinMoreKeys("\u0C03", "7")),
[all …]
DFarsi.java72 return joinKeys(key("\u060C", SETTINGS_KEY)); in getKeysLeftToSpacebar()
77 return joinKeys(key("\u060C", joinMoreKeys( in getKeysLeftToSpacebar()
87 return joinKeys(key(".", getPunctuationMoreKeys(isPhone))); in getKeysRightToSpacebar()
92 return joinKeys(LANGUAGE_SWITCH_KEY, SPACE_KEY, key(ZWNJ_KEY, ZWJ_KEY)); in getSpaceKeys()
104 private static final ExpectedKey FARSI_ALPHABET_KEY = key(
110 private static final ExpectedKey FARSI_SYMBOLS_KEY = key(
112 private static final ExpectedKey FARSI_BACK_TO_SYMBOLS_KEY = key(
115 private static final ExpectedKey CURRENCY_RIAL = key("\uFDFC",
162 key("\u0636", joinMoreKeys("\u06F1", "1")),
165 key("\u0635", joinMoreKeys("\u06F2", "2")),
[all …]
DBengali.java49 key("\u0994", joinMoreKeys("\u09CC", "\u09E7", "1")),
53 key("\u0990", joinMoreKeys("\u09C8", "\u09E8", "2")),
57 key("\u0986", joinMoreKeys("\u09BE", "\u09E9", "3")),
61 key("\u0988", joinMoreKeys("\u09C0", "\u09EA", "4")),
65 key("\u098A", joinMoreKeys("\u09C2", "\u09EB", "5")),
69 key("\u09AC", joinMoreKeys("\u09AD", "\u09EC", "6")),
72 key("\u09B9", joinMoreKeys("\u09ED", "7")),
76 key("\u0997", joinMoreKeys("\u0998", "\u09EE", "8")),
80 key("\u09A6", joinMoreKeys("\u09A7", "\u09EF", "9")),
86 key("\u099C", joinMoreKeys("\u099D", "\u099C\u09CD\u099E", "\u09E6", "0")),
[all …]
DKannada.java65 return joinKeys(LANGUAGE_SWITCH_KEY, SPACE_KEY, key(ZWNJ_KEY, ZWJ_KEY)); in getSpaceKeys()
71 private static final ExpectedKey KANNADA_ALPHABET_KEY = key(
75 private static final ExpectedKey CURRENCY_RUPEE = key("\u20B9",
92 key("\u0CCC", joinMoreKeys("\u0C94", "\u0CE7", "1")),
96 key("\u0CC8", joinMoreKeys("\u0C90", "\u0CE8", "2")),
100 key("\u0CBE", joinMoreKeys("\u0C86", "\u0CE9", "3")),
104 key("\u0CC0", joinMoreKeys("\u0C88", "\u0CEA", "4")),
108 key("\u0CC2", joinMoreKeys("\u0C8A", "\u0CEB", "5")),
112 key("\u0CAC", joinMoreKeys("\u0CAD", "\u0CEC", "6")),
116 key("\u0CB9", joinMoreKeys("\u0C99", "\u0CED", "7")),
[all …]
DArabic.java74 return joinKeys(key("\u060C", SETTINGS_KEY)); in getKeysLeftToSpacebar()
79 return joinKeys(key("\u060C", joinMoreKeys( in getKeysLeftToSpacebar()
91 return joinKeys(key(".", getPunctuationMoreKeys(isPhone))); in getKeysRightToSpacebar()
103 private static final ExpectedKey ARABIC_ALPHABET_KEY = key(
109 private static final ExpectedKey ARABIC_SYMBOLS_KEY = key(
111 private static final ExpectedKey ARABIC_BACK_TO_SYMBOLS_KEY = key(
159 key("\u0636", joinMoreKeys("1", "\u0661")),
162 key("\u0635", joinMoreKeys("2", "\u0662")),
165 key("\u062B", joinMoreKeys("3", "\u0663")),
169 key("\u0642", joinMoreKeys("4", "\u0664", "\u06A8")),
[all …]
DKhmer.java58 private static final ExpectedKey KHMER_ALPHABET_KEY = key(
62 private static final ExpectedKey CURRENCY_DOLLAR_WITH_RIEL = key(Symbols.DOLLAR_SIGN,
90 key("\u17E1", joinMoreKeys("1", "\u17F1")),
93 key("\u17E2", joinMoreKeys("2", "\u17F2")),
96 key("\u17E3", joinMoreKeys("3", "\u17F3")),
99 key("\u17E4", joinMoreKeys("4", "\u17F4")),
102 key("\u17E5", joinMoreKeys("5", "\u17F5")),
105 key("\u17E6", joinMoreKeys("6", "\u17F6")),
108 key("\u17E7", joinMoreKeys("7", "\u17F7")),
111 key("\u17E8", joinMoreKeys("8", "\u17F8")),
[all …]
DGeorgian.java55 private static final ExpectedKey GEORGIAN_ALPHABET_KEY = key(
76 key("\u10E5", moreKey("1")),
78 key("\u10EC", moreKey("2")),
81 key("\u10D4", joinMoreKeys("3", "\u10F1")),
83 key("\u10E0", moreKey("4")),
85 key("\u10E2", moreKey("5")),
88 key("\u10E7", joinMoreKeys("6", "\u10F8")),
90 key("\u10E3", moreKey("7")),
93 key("\u10D8", joinMoreKeys("8", "\u10F2")),
95 key("\u10DD", moreKey("9")),
[all …]
DMarathi.java63 private static final ExpectedKey CURRENCY_RUPEE = key("\u20B9",
80 key(VOWEL_SIGN_AU, "\u094C", joinMoreKeys("\u0914", "\u0967", "1")),
84 key(VOWEL_SIGN_AI, "\u0948", joinMoreKeys("\u0910", "\u0968", "2")),
88 key(VOWEL_SIGN_AA, "\u093E", joinMoreKeys("\u0906", "\u0969", "3")),
92 key(VOWEL_SIGN_II, "\u0940", joinMoreKeys("\u0908", "\u096A", "4")),
96 key(VOWEL_SIGN_UU, "\u0942", joinMoreKeys("\u090A", "\u096B", "5")),
100 key("\u092C", joinMoreKeys("\u092D", "\u096C", "6")),
103 key("\u0939", joinMoreKeys("\u096D", "7")),
107 key("\u0917", joinMoreKeys("\u0918", "\u096E", "8")),
111 key("\u0926", joinMoreKeys("\u0927", "\u096F", "9")),
[all …]
/packages/modules/Bluetooth/system/common/
Dlru_unittest.cc162 for (int key = 0; key <= 30; key++) { in TEST() local
163 cache.Put(key, key * 100); in TEST()
165 for (int key = 0; key <= 20; key++) { in TEST() local
166 EXPECT_FALSE(cache.HasKey(key)); in TEST()
168 for (int key = 21; key <= 30; key++) { in TEST() local
169 EXPECT_TRUE(cache.HasKey(key)); in TEST()
171 for (int key = 21; key <= 30; key++) { in TEST() local
172 EXPECT_TRUE(cache.Remove(key)); in TEST()
174 for (int key = 21; key <= 30; key++) { in TEST() local
175 EXPECT_FALSE(cache.HasKey(key)); in TEST()
[all …]
/packages/apps/LegacyCamera/src/com/android/camera/
DComboPreferences.java75 private static boolean isGlobal(String key) { in isGlobal() argument
76 return key.equals(CameraSettings.KEY_VIDEO_TIME_LAPSE_FRAME_INTERVAL) in isGlobal()
77 || key.equals(CameraSettings.KEY_CAMERA_ID) in isGlobal()
78 || key.equals(CameraSettings.KEY_RECORD_LOCATION) in isGlobal()
79 || key.equals(CameraSettings.KEY_CAMERA_FIRST_USE_HINT_SHOWN) in isGlobal()
80 || key.equals(CameraSettings.KEY_VIDEO_FIRST_USE_HINT_SHOWN) in isGlobal()
81 || key.equals(CameraSettings.KEY_VIDEO_EFFECT); in isGlobal()
84 public String getString(String key, String defValue) { in getString() argument
85 if (isGlobal(key) || !mPrefLocal.contains(key)) { in getString()
86 return mPrefGlobal.getString(key, defValue); in getString()
[all …]
/packages/apps/Camera2/src/com/android/camera/settings/
DSettingsManager.java177 public void onSettingChanged(SettingsManager settingsManager, String key); in onSettingChanged() argument
185 SharedPreferences sharedPreferences, String key) { in getSharedPreferenceListener()
186 listener.onSettingChanged(SettingsManager.this, key); in getSharedPreferenceListener()
298 public void setDefaults(String key, String defaultValue, String[] possibleValues) {
300 mDefaultsStore.storeDefaults(key, defaultValue, possibleValues);
309 public void setDefaults(String key, int defaultValue, int[] possibleValues) {
316 mDefaultsStore.storeDefaults(key, defaultValueString, possibleValuesString);
325 public void setDefaults(String key, boolean defaultValue) {
329 mDefaultsStore.storeDefaults(key, defaultValueString, possibleValues);
336 public String getStringDefault(String key) {
[all …]
/packages/modules/Bluetooth/system/test/mock/
Dmock_device_iot_config.h27 std::function<bool(const std::string& section, const std::string& key,
29 body{[this](const std::string& section, const std::string& key,
31 bool operator()(const std::string& section, const std::string& key, in operator()
33 return body(section, key, value); in operator()
43 std::function<bool(const std::string& section, const std::string& key,
45 body{[this](const std::string& section, const std::string& key,
47 bool operator()(const std::string& section, const std::string& key, in operator()
49 return body(section, key, value); in operator()
59 std::function<bool(const std::string& section, const std::string& key)> body{
60 [this](const std::string& section, const std::string& key) {
[all …]
Dmock_btif_config.h50 std::function<bool(const std::string& section, const std::string& key)> body{
51 [](const std::string& section, const std::string& key) { return false; }};
52 bool operator()(const std::string& section, const std::string& key) { in operator()
53 return body(section, key); in operator()
61 std::function<bool(const std::string& section, const std::string& key,
63 body{[](const std::string& section, const std::string& key, int* value) {
66 bool operator()(const std::string& section, const std::string& key, in operator()
68 return body(section, key, value); in operator()
76 std::function<bool(const std::string& section, const std::string& key,
78 body{[](const std::string& section, const std::string& key, int value) {
[all …]
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DFakeSharedPreferences.java40 public boolean contains(String key) { in contains() argument
41 return mValues.containsKey(key); in contains()
50 public boolean getBoolean(String key, boolean defValue) { in getBoolean() argument
51 if (mValues.containsKey(key)) { in getBoolean()
52 return ((Boolean) mValues.get(key)).booleanValue(); in getBoolean()
58 public float getFloat(String key, float defValue) { in getFloat() argument
59 if (mValues.containsKey(key)) { in getFloat()
60 return ((Float) mValues.get(key)).floatValue(); in getFloat()
66 public int getInt(String key, int defValue) { in getInt() argument
67 if (mValues.containsKey(key)) { in getInt()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DMockSharedPreferences.java40 public boolean contains(String key) { in contains() argument
41 return mValues.containsKey(key); in contains()
48 public boolean getBoolean(String key, boolean defValue) { in getBoolean() argument
49 if (mValues.containsKey(key)) { in getBoolean()
50 return ((Boolean)mValues.get(key)).booleanValue(); in getBoolean()
55 public float getFloat(String key, float defValue) { in getFloat() argument
56 if (mValues.containsKey(key)) { in getFloat()
57 return ((Float)mValues.get(key)).floatValue(); in getFloat()
62 public int getInt(String key, int defValue) { in getInt() argument
63 if (mValues.containsKey(key)) { in getInt()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DMockSharedPreferences.java40 public boolean contains(String key) { in contains() argument
41 return mValues.containsKey(key); in contains()
48 public boolean getBoolean(String key, boolean defValue) { in getBoolean() argument
49 if (mValues.containsKey(key)) { in getBoolean()
50 return ((Boolean)mValues.get(key)).booleanValue(); in getBoolean()
55 public float getFloat(String key, float defValue) { in getFloat() argument
56 if (mValues.containsKey(key)) { in getFloat()
57 return ((Float)mValues.get(key)).floatValue(); in getFloat()
62 public int getInt(String key, int defValue) { in getInt() argument
63 if (mValues.containsKey(key)) { in getInt()
[all …]
/packages/services/Telephony/src/com/android/phone/vvm/
DVisualVoicemailPreferences.java58 public Editor putBoolean(String key, boolean value) { in putBoolean() argument
59 mEditor.putBoolean(getKey(key), value); in putBoolean()
64 public Editor putFloat(String key, float value) { in putFloat() argument
65 mEditor.putFloat(getKey(key), value); in putFloat()
69 public Editor putInt(String key, int value) { in putInt() argument
70 mEditor.putInt(getKey(key), value); in putInt()
75 public Editor putLong(String key, long value) { in putLong() argument
76 mEditor.putLong(getKey(key), value); in putLong()
80 public Editor putString(String key, String value) { in putString() argument
81 mEditor.putString(getKey(key), value); in putString()
[all …]
/packages/apps/Dialer/java/com/android/dialer/common/
DPerAccountSharedPreferences.java64 public Editor putBoolean(String key, boolean value) { in putBoolean() argument
65 editor.putBoolean(getKey(key), value); in putBoolean()
69 public Editor putFloat(String key, float value) { in putFloat() argument
70 editor.putFloat(getKey(key), value); in putFloat()
74 public Editor putInt(String key, int value) { in putInt() argument
75 editor.putInt(getKey(key), value); in putInt()
79 public Editor putLong(String key, long value) { in putLong() argument
80 editor.putLong(getKey(key), value); in putLong()
84 public Editor putString(String key, String value) { in putString() argument
85 editor.putString(getKey(key), value); in putString()
[all …]
/packages/apps/Calendar/tests/src/com/android/calendar/
DFakeSharedPreferences.java38 public boolean contains(String key) { in contains() argument
39 return mValues.containsKey(key); in contains()
48 public boolean getBoolean(String key, boolean defValue) { in getBoolean() argument
49 if (mValues.containsKey(key)) { in getBoolean()
50 return ((Boolean)mValues.get(key)).booleanValue(); in getBoolean()
56 public float getFloat(String key, float defValue) { in getFloat() argument
57 if (mValues.containsKey(key)) { in getFloat()
58 return ((Float)mValues.get(key)).floatValue(); in getFloat()
64 public int getInt(String key, int defValue) { in getInt() argument
65 if (mValues.containsKey(key)) { in getInt()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbSettingsStore.java116 void onSettingsChanged(@NonNull Key<T> key, @Nullable T newValue); in onSettingsChanged() argument
154 for (Key key : sKeys) { in invokeAllListeners()
155 invokeListeners(key); in invokeAllListeners()
160 private <T> void invokeListeners(@NonNull Key<T> key) { in invokeListeners() argument
162 if (!mSettings.containsKey(key.key)) return; in invokeListeners()
163 Object newValue = mSettings.get(key.key); in invokeListeners()
164 Map<OnSettingsChangedListener, Handler> listeners = mListeners.get(key.key); in invokeListeners()
170 listener.getKey().onSettingsChanged(key, newValue)); in invokeListeners()
178 private <T> void triggerSaveToStoreAndInvokeListeners(@NonNull Key<T> key) { in triggerSaveToStoreAndInvokeListeners() argument
181 invokeListeners(key); in triggerSaveToStoreAndInvokeListeners()
[all …]

12345678910>>...91