Searched refs:key (Results 226 - 250 of 749) sorted by relevance

1234567891011>>

/packages/apps/Messaging/src/android/support/v7/mms/
H A DApnsXmlParser.java53 final String key = mInputParser.getAttributeName(i);
54 if (key != null) {
55 mValues.put(key, mInputParser.getAttributeValue(i));
H A DDefaultCarrierConfigValuesLoader.java103 public void process(String type, String key, String value) {
106 values.putInt(key, Integer.parseInt(value));
108 values.putBoolean(key, Boolean.parseBoolean(value));
110 values.putString(key, value);
114 + "invalid " + key + "," + value + "," + type);
/packages/apps/Settings/src/com/android/settings/enterprise/
H A DExposureChangesCategoryPreferenceController.java68 public void onPreferenceAvailabilityUpdated(String key, boolean available) { argument
70 mAvailablePrefs.add(key);
72 mAvailablePrefs.remove(key);
/packages/apps/Settings/src/com/android/settings/location/
H A DScanningSettings.java70 String key = preference.getKey();
71 if (KEY_WIFI_SCAN_ALWAYS_AVAILABLE.equals(key)) {
75 } else if (KEY_BLUETOOTH_SCAN_ALWAYS_AVAILABLE.equals(key)) {
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/
H A DPresetSettingsListener.java33 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { argument
34 if (!TextUtils.equals(key, "preset")) {
37 final String preset = sharedPreferences.getString(key, "standard");
H A DQuickSettingsPreferenceFragment.java53 public void onCreatePreferences(Bundle savedInstanceState, String key) { argument
54 setPreferencesFromResource(R.xml.quick_settings, key);
120 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { argument
121 switch (key) {
141 final String key = preference.getKey();
144 final int pos = keys.indexOf(key);
145 switch (key) {
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
H A DMockRespondMatrixCursor.java57 for (String key : bundleKeys) {
58 final Object responseData = rowData.get(MOCK_RESPOND_PREFIX + key);
60 response.putParcelable(key, (Parcelable)responseData);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/
H A DGeneralPrefsFragment.java119 final String key = preference.getKey();
121 if (PreferenceKeys.REMOVAL_ACTION.equals(key)) {
124 } else if (AUTO_ADVANCE_WIDGET.equals(key)) {
128 } else if (!PreferenceKeys.CONVERSATION_LIST_SWIPE.equals(key) &&
129 !PreferenceKeys.SHOW_SENDER_IMAGES.equals(key) &&
130 !PreferenceKeys.DEFAULT_REPLY_ALL.equals(key) &&
131 !PreferenceKeys.CONVERSATION_OVERVIEW_MODE.equals(key) &&
132 !PreferenceKeys.CONFIRM_DELETE.equals(key) &&
133 !PreferenceKeys.CONFIRM_ARCHIVE.equals(key) &&
134 !PreferenceKeys.CONFIRM_SEND.equals(key)) {
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DRankedComparator.java60 final K key = mRankExtractorFunction.apply(object);
62 if (mRankOrder.containsKey(key)) {
63 return mRankOrder.get(key);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/customizer/
H A DNepaliCustomizer.java38 return joinKeys(LANGUAGE_SWITCH_KEY, SPACE_KEY, key(ZWNJ_KEY, ZWJ_KEY));
44 final ExpectedKey periodKey = key("\u0964", getPunctuationMoreKeys(isPhone));
55 private static final ExpectedKey CURRENCY_NEPALI = key("\u0930\u0941\u002E",
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/
H A DTestsFrenchCH.java48 .replaceKeyOfLabel(Swiss.ROW1_11, key("\u00E8", moreKey("\u00FC")))
51 .replaceKeyOfLabel(Swiss.ROW2_10, key("\u00E9", moreKey("\u00F6")))
54 .replaceKeyOfLabel(Swiss.ROW2_11, key("\u00E0", moreKey("\u00E4")));
H A DTestsGermanCH.java48 .replaceKeyOfLabel(Swiss.ROW1_11, key("\u00FC", moreKey("\u00E8")))
51 .replaceKeyOfLabel(Swiss.ROW2_10, key("\u00F6", moreKey("\u00E9")))
54 .replaceKeyOfLabel(Swiss.ROW2_11, key("\u00E4", moreKey("\u00E0")));
H A DTestsItalianCH.java48 .replaceKeyOfLabel(Swiss.ROW1_11, key("\u00FC", moreKey("\u00E8")))
51 .replaceKeyOfLabel(Swiss.ROW2_10, key("\u00F6", moreKey("\u00E9")))
54 .replaceKeyOfLabel(Swiss.ROW2_11, key("\u00E4", moreKey("\u00E0")));
H A DTestsKazakh.java62 .replaceKeyOfLabel(EastSlavic.ROW1_9, key("\u0449", additionalMoreKey("9")))
65 .replaceKeyOfLabel(EastSlavic.ROW2_2, key("\u044B", moreKey("\u0456")))
74 .replaceKeyOfLabel(EastSlavic.ROW2_11, key("\u044D", moreKey("\u04BB")))
H A DTestsUkrainian.java60 private static final ExpectedKey CURRENCY_HRYVNIA = key("\u20B4",
70 .replaceKeyOfLabel(EastSlavic.ROW1_9, key("\u0449", additionalMoreKey("9")))
73 .replaceKeyOfLabel(EastSlavic.ROW2_2, key("\u0456", moreKey("\u0457")))
/packages/services/Car/service/src/com/android/car/
H A DCarInfoService.java46 public String getStringInfo(String key) { argument
47 switch (key) {
61 throw new IllegalArgumentException("Unsupported key:" + key);
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
H A DKeyboardView.java66 * detecting key presses and touch movements.
85 * Called when the user presses a key. This is sent before the {@link #onKey} is called.
87 * @param primaryCode the unicode of the key being pressed. If the touch is not on a valid
88 * key, the value will be zero.
93 * Called when the user releases a key. This is sent after the {@link #onKey} is called.
95 * @param primaryCode the code of the key that was released
100 * Send a key press to the listener.
101 * @param primaryCode this is the key that was pressed
103 * with the primary code being the first. If the primary key code is
105 * will include other characters that may be on the same key o
972 getPreviewText(Key key) argument
[all...]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
H A DExpectedKey.java27 * This class represents an expected key.
32 // A key that has a string label and may have "more keys".
37 // A key that has a string label and a different output text and may have "more keys".
44 // A key that has a string label and a code point output and may have "more keys".
51 // A key that has an icon and an output text and may have "more keys".
58 // A key that has an icon and a code point output and may have "more keys".
70 // The more keys are the extra keys that the main keyboard key may have in its long press
103 // The expected visual outlook of this key.
105 // The expected output of this key.
117 // This key ha
163 equalsTo(final Key key) argument
213 newInstance(final ExpectedKey key) argument
277 equalsTo(final Key key) argument
[all...]
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/
H A DCursorToSearchResultConverterTest.java61 private static final String KEY = "key";
154 mSiteMapManager, getDummyCursor("noIcon" /* key */, "" /* className */), BASE_RANK);
218 final String intentKey = "key";
260 final String key = "main_toggle_wifi";
261 final Cursor cursor = getDummyCursor(key, WifiSettings.class.getName());
272 final String key = "main_toggle_bluetooth";
273 final Cursor cursor = getDummyCursor(key, WifiSettings.class.getName());
284 final String key = "toggle_airplane";
285 final Cursor cursor = getDummyCursor(key, WifiSettings.class.getName());
294 final String key
370 getDummyCursor(String key, String className) argument
[all...]
/packages/apps/TV/src/com/android/tv/tuner/
H A DTunerPreferences.java328 private static synchronized void setPreference(Context context, String key, String value) { argument
329 sPreferenceValues.putString(key, value);
330 savePreference(context, key, value);
333 private static synchronized void setPreference(Context context, String key, int value) { argument
334 sPreferenceValues.putInt(key, value);
335 savePreference(context, key, Integer.toString(value));
338 private static synchronized void setPreference(Context context, String key, long value) { argument
339 sPreferenceValues.putLong(key, value);
340 savePreference(context, key, Long.toString(value));
343 private static synchronized void setPreference(Context context, String key, boolea argument
348 savePreference(final Context context, final String key, final String value) argument
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DMainKeyboardView.java70 * A view that is responsible for detecting key presses and touch movements.
119 /* Space key and its icon and background. */
354 // Update the visual of alt-code-key-while-typing.
360 for (final Key key : keyboard.mAltCodeKeysWhileTyping) {
361 invalidateKey(key);
391 // Remove any pending messages, except dismissing preview and key repeat.
414 * Enables or disables the key preview popup. This is a popup that shows a magnified
415 * version of the depressed key. By default the preview is enabled.
416 * @param previewEnabled whether or not to enable the key feedback preview
424 * Enables or disables the key previe
466 onKeyPressed(@onnull final Key key, final boolean withPreview) argument
474 showKeyPreview(@onnull final Key key) argument
491 dismissKeyPreviewWithoutDelay(@onnull final Key key) argument
498 onKeyReleased(@onnull final Key key, final boolean withAnimation) argument
510 dismissKeyPreview(@onnull final Key key) argument
596 showMoreKeysKeyboard(@onnull final Key key, @Nonnull final PointerTracker tracker) argument
805 onDrawKeyTopVisuals(final Key key, final Canvas canvas, final Paint paint, final KeyDrawParams params) argument
862 drawLanguageOnSpacebar(final Key key, final Canvas canvas, final Paint paint) argument
[all...]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
H A DInputTestsBase.java159 protected boolean setBooleanPreference(final String key, final boolean value, argument
162 final boolean previousSetting = prefs.getBoolean(key, defaultValue);
164 editor.putBoolean(key, value);
169 protected boolean getBooleanPreference(final String key, final boolean defaultValue) { argument
171 .getBoolean(key, defaultValue);
174 protected String setStringPreference(final String key, final String value, argument
177 final String previousSetting = prefs.getString(key, defaultValue);
179 editor.putString(key, value);
288 final Key key = mKeyboard.getKey(codePoint);
290 if (key
[all...]
/packages/apps/DocumentsUI/src/com/android/documentsui/prefs/
H A DLocalPreferences.java82 * <p>It uses a shared preferences, whose key is:
92 final String key = getScopedAccessDenialsKey(packageName, uuid, directory);
93 return getPrefs(context).getInt(key, PERMISSION_ASK);
98 final String key = getScopedAccessDenialsKey(packageName, uuid, directory);
99 getPrefs(context).edit().putInt(key, status).apply();
106 for (final String key : prefs.getAll().keySet()) {
107 if (key.contains(keySubstring)) {
111 editor.remove(key);
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
H A DAction.java126 protected Action(final String key) { argument
127 this.actionKey = key;
256 * This helper can be used to generate a unique key used to identify an action.
257 * @param baseKey - key generated to identify the action parameters
258 * @return - composite key generated by appending unique index
261 final StringBuilder key = new StringBuilder();
263 key.append(baseKey);
265 key.append(":");
266 key.append(getActionIdx());
267 return key
[all...]
/packages/apps/Messaging/src/com/android/messaging/sms/
H A DBugleCarrierConfigValuesLoader.java137 public void process(final String mccMnc, final String key, final String value,
139 update(values, type, key, value);
179 * Add or update a carrier config key/value pair to the Bundle
183 * @param key the key
186 public static void update(final Bundle values, final String type, final String key, argument
190 values.putInt(key, Integer.parseInt(value));
192 values.putBoolean(key, Boolean.parseBoolean(value));
194 values.putString(key, value);
198 + "invalid " + key
[all...]

Completed in 446 milliseconds

1234567891011>>