Searched refs:string (Results 1 - 25 of 1206) sorted by relevance

1234567891011>>

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
H A DActionType.java30 AGREE(R.string.agree),
31 DISAGREE(R.string.disagree),
32 EMAIL_ADDRESS(R.string.system_email_address),
33 OK(R.string.title_ok),
34 CANCEL(R.string.title_cancel),
35 ON(R.string.on),
36 OFF(R.string.off),
40 DATE_TIME_OVERVIEW(R.string.system_date_time),
41 DATE(R.string.system_date),
42 TIME(R.string
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/
H A DStrings.java35 * Returns the given string if it is non-null; the empty string otherwise.
37 * @param string the string to test and possibly return
38 * @return {@code string} itself if it is non-null; {@code ""} if it is null
40 public static String nullToEmpty(String string) { argument
41 return (string == null) ? "" : string;
45 * Returns the given string if it is nonempty; {@code null} otherwise.
47 * @param string th
51 emptyToNull(String string) argument
68 isNullOrEmpty(String string) argument
91 padStart(String string, int minLength, char padChar) argument
123 padEnd(String string, int minLength, char padChar) argument
147 repeat(String string, int count) argument
[all...]
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
H A DStrings.java35 * Returns the given string if it is non-null; the empty string otherwise.
37 * @param string the string to test and possibly return
38 * @return {@code string} itself if it is non-null; {@code ""} if it is null
40 public static String nullToEmpty(String string) { argument
41 return (string == null) ? "" : string;
45 * Returns the given string if it is nonempty; {@code null} otherwise.
47 * @param string th
51 emptyToNull(String string) argument
68 isNullOrEmpty(String string) argument
91 padStart(String string, int minLength, char padChar) argument
123 padEnd(String string, int minLength, char padChar) argument
147 repeat(String string, int count) argument
[all...]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DServiceUnavailableException.java26 public ServiceUnavailableException(String string) { argument
27 super(string);
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
H A DContactDisplayUtils.java57 * @return An appropriate string label
85 * @return An appropriate string label.
88 if (type == null) return R.string.call_other;
91 return R.string.call_home;
93 return R.string.call_mobile;
95 return R.string.call_work;
97 return R.string.call_fax_work;
99 return R.string.call_fax_home;
101 return R.string.call_pager;
103 return R.string
[all...]
/packages/apps/OMA-DM/engine/dmlib/api/native/
H A Ddmt.hpp34 #include <string.h>
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
H A DWifiFormPageType.java33 CHOOSE_NETWORK(FormPageDisplayer.DISPLAY_TYPE_LIST_CHOICE, R.string.title_select_wifi_network,
34 0, new int[] { R.string.wps_network, R.string.other_network },
36 ENTER_SSID(FormPageDisplayer.DISPLAY_TYPE_TEXT_INPUT, R.string.title_ssid, 0,
38 CHOOSE_SECURITY(FormPageDisplayer.DISPLAY_TYPE_LIST_CHOICE, R.string.security_type, 0,
39 new int[] { R.string.wifi_security_type_none, R.string.wifi_security_type_wep,
40 R.string.wifi_security_type_wpa, R.string.wifi_security_type_eap }),
42 R.string
[all...]
H A DConnectivityStatusTextGetter.java29 * Gets a text string based on the current connectivity status.
41 return new ConnectivityStatusTextGetter(context, R.string.connected,
42 R.string.not_connected, false);
46 return new ConnectivityStatusTextGetter(context, R.string.not_connected,
47 R.string.not_connected, true);
51 this(context, R.string.connectivity_ethernet, R.string.connectivity_wifi, true);
80 return mContext.getString(R.string.not_connected);
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastResources.java29 * Returns the string resource ID's for CMAS and ETWS emergency alerts.
38 * @param context a Context for resource string access
46 buf.append(context.getString(R.string.delivery_time_heading));
65 appendMessageDetail(context, buf, R.string.cmas_category_heading, categoryId);
71 appendMessageDetail(context, buf, R.string.cmas_response_heading, responseId);
77 appendMessageDetail(context, buf, R.string.cmas_severity_heading, severityId);
83 appendMessageDetail(context, buf, R.string.cmas_urgency_heading, urgencyId);
89 appendMessageDetail(context, buf, R.string.cmas_certainty_heading, certaintyId);
107 * Returns the string resource ID for the CMAS category.
108 * @return a string resourc
[all...]
/packages/apps/Calculator/src/com/android/calculator2/
H A DCalculatorExpressionTokenizer.java32 mReplacementMap.put(".", context.getString(R.string.dec_point));
34 mReplacementMap.put("0", context.getString(R.string.digit_0));
35 mReplacementMap.put("1", context.getString(R.string.digit_1));
36 mReplacementMap.put("2", context.getString(R.string.digit_2));
37 mReplacementMap.put("3", context.getString(R.string.digit_3));
38 mReplacementMap.put("4", context.getString(R.string.digit_4));
39 mReplacementMap.put("5", context.getString(R.string.digit_5));
40 mReplacementMap.put("6", context.getString(R.string.digit_6));
41 mReplacementMap.put("7", context.getString(R.string.digit_7));
42 mReplacementMap.put("8", context.getString(R.string
[all...]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DStrSegment.java20 * The information container class of segment in a string.
22 * This class defines information of a segment in a string, such as a character, a word or a clause.
28 /** The string */
29 public String string; field in class:StrSegment
45 * @param str The string
63 * @param str The string
68 this.string = str;
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DDetailsHelper.java105 return context.getString(R.string.title);
107 return context.getString(R.string.description);
109 return context.getString(R.string.time);
111 return context.getString(R.string.location);
113 return context.getString(R.string.path);
115 return context.getString(R.string.width);
117 return context.getString(R.string.height);
119 return context.getString(R.string.orientation);
121 return context.getString(R.string.duration);
123 return context.getString(R.string
[all...]
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DFallbackSource.java62 this.titleRes = R.string.account_phone;
109 R.string.nameLabelsGroup, -1, -1, true));
117 kind.fieldList.add(new EditField(StructuredName.PREFIX, R.string.name_prefix,
120 kind.fieldList.add(new EditField(StructuredName.FAMILY_NAME, R.string.name_family,
122 kind.fieldList.add(new EditField(StructuredName.MIDDLE_NAME, R.string.name_middle,
124 kind.fieldList.add(new EditField(StructuredName.GIVEN_NAME, R.string.name_given,
126 kind.fieldList.add(new EditField(StructuredName.SUFFIX, R.string.name_suffix,
129 R.string.name_phonetic_family, FLAGS_PHONETIC).setOptional(true));
131 R.string.name_phonetic_middle, FLAGS_PHONETIC).setOptional(true));
133 R.string
[all...]
/packages/apps/Launcher3/protos/
H A Dbackup.proto30 optional string name = 2; // keep this short
51 optional string title = 3;
60 optional string appWidgetProvider = 12;
61 optional string intent = 13;
62 optional string uri = 14;
64 optional string iconPackage = 16;
65 optional string iconResource = 17;
80 required string provider = 1;
81 optional string label = 2;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
H A DKeyCodeDescriptionMapper.java41 // The resource ID of the string spoken for obscured keys
42 private static final int OBSCURED_KEY_RES_ID = R.string.spoken_description_dot;
55 mKeyCodeMap.put(Constants.CODE_SPACE, R.string.spoken_description_space);
56 mKeyCodeMap.put(Constants.CODE_DELETE, R.string.spoken_description_delete);
57 mKeyCodeMap.put(Constants.CODE_ENTER, R.string.spoken_description_return);
58 mKeyCodeMap.put(Constants.CODE_SETTINGS, R.string.spoken_description_settings);
59 mKeyCodeMap.put(Constants.CODE_SHIFT, R.string.spoken_description_shift);
60 mKeyCodeMap.put(Constants.CODE_SHORTCUT, R.string.spoken_description_mic);
61 mKeyCodeMap.put(Constants.CODE_SWITCH_ALPHA_SYMBOL, R.string.spoken_description_to_symbol);
62 mKeyCodeMap.put(Constants.CODE_TAB, R.string
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/
H A DContactStatusUtil.java34 return resources.getString(R.string.status_available);
37 return resources.getString(R.string.status_away);
39 return resources.getString(R.string.status_busy);
/packages/apps/Email/src/com/android/email/mail/store/imap/
H A DImapSimpleString.java30 /* package */ ImapSimpleString(String string) { argument
31 mString = (string != null) ? string : "";
/packages/apps/OMA-DM/engine/dmlib/dmengine/oma_toolkit/hdr/
H A Dxptport.h47 * Isolate here the differences between ANSI string and memory functions and
48 * Palm string and memory functions. Note the sml tree contains similar
57 * header files like string.h and stdlib.h. These shouldn't be included
88 #define xppStrchr(string, c) StrChr(string, c)
89 #define xppStrstr(string, substr) StrStr(string, substr)
90 #define xppStrlen(string) StrLen(string)
91 #define xppAtoi(string) StrATo
[all...]
/packages/apps/OMA-DM/engine/dmlib/dmengine/oma_toolkit/sml/xpt/hdr/
H A Dxptport.h47 * Isolate here the differences between ANSI string and memory functions and
48 * Palm string and memory functions. Note the sml tree contains similar
57 * header files like string.h and stdlib.h. These shouldn't be included
88 #define xppStrchr(string, c) StrChr(string, c)
89 #define xppStrstr(string, substr) StrStr(string, substr)
90 #define xppStrlen(string) StrLen(string)
91 #define xppAtoi(string) StrATo
[all...]
/packages/apps/OMA-DM/engine/dmlib/tool-src/servercred/hdr/
H A Dxptport.h47 * Isolate here the differences between ANSI string and memory functions and
48 * Palm string and memory functions. Note the sml tree contains similar
57 * header files like string.h and stdlib.h. These shouldn't be included
88 #define xppStrchr(string, c) StrChr(string, c)
89 #define xppStrstr(string, substr) StrStr(string, substr)
90 #define xppStrlen(string) StrLen(string)
91 #define xppAtoi(string) StrATo
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactLookupKey.java122 String string = Uri.decode(lookupKey);
124 int length = string.length();
137 c = string.charAt(offset++);
165 c = string.charAt(offset++);
172 c = string.charAt(offset);
188 c = string.charAt(offset++);
194 key = string.substring(start);
196 key = string.substring(start, offset - 1);
204 c = string.charAt(offset++);
210 key = string
[all...]
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DUtils.java45 return R.string.bluetooth_connected;
47 return R.string.bluetooth_connecting;
49 return R.string.bluetooth_disconnected;
51 return R.string.bluetooth_disconnecting;
64 .setPositiveButton(android.R.string.ok, disconnectListener)
65 .setNegativeButton(android.R.string.cancel, null)
72 CharSequence okText = context.getText(android.R.string.ok);
89 showError(context, name, R.string.bluetooth_connecting_error_message);
98 .setTitle(R.string.bluetooth_error_title)
100 .setPositiveButton(android.R.string
[all...]
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DCallTypeHelper.java49 mIncomingName = resources.getString(R.string.type_incoming);
50 mOutgoingName = resources.getString(R.string.type_outgoing);
51 mMissedName = resources.getString(R.string.type_missed);
52 mIncomingVideoName = resources.getString(R.string.type_incoming_video);
53 mOutgoingVideoName = resources.getString(R.string.type_outgoing_video);
54 mMissedVideoName = resources.getString(R.string.type_missed_video);
55 mVoicemailName = resources.getString(R.string.type_voicemail);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
H A DStorageItem.java29 AVAILABLE(R.string.storage_available, R.color.storage_avail,
31 APPS(R.string.storage_apps_usage, R.color.storage_apps_usage,
33 PICTURES_VIDEO(R.string.storage_dcim_usage, R.color.storage_dcim,
35 AUDIO(R.string.storage_music_usage, R.color.storage_music, R.drawable.storage_indicator_music),
36 DOWNLOADS(R.string.storage_downloads_usage, R.color.storage_downloads,
38 CACHED_DATA(R.string.storage_media_cache_usage, R.color.storage_cache,
40 MISC(R.string.storage_media_misc_usage, R.color.storage_misc,
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DConversationListEmptyView.java61 setupIconAndText(R.drawable.empty_folders, R.string.empty_folder);
66 setupIconAndText(R.drawable.empty_inbox, R.string.empty_inbox);
68 setupIconAndText(R.drawable.empty_search, R.string.empty_search,
71 setupIconAndText(R.drawable.empty_spam, R.string.empty_spam_folder);
73 setupIconAndText(R.drawable.empty_trash, R.string.empty_trash_folder);
75 setupIconAndText(R.drawable.empty_folders, R.string.empty_folder);
87 final String text = getResources().getString(R.string.empty_search, extra);

Completed in 1620 milliseconds

1234567891011>>