Searched defs:string (Results 1 - 23 of 23) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DServiceUnavailableException.java26 public ServiceUnavailableException(String string) { argument
27 super(string);
/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;
H A DOpenWnnJAJP.java100 /** Highlight color style for the selected string */
129 /** Maximum length of input string */
290 /** Spannable string builder for displaying the composing text */
513 String delimiter = Pattern.quote(getResources().getString(R.string.en_word_separators));
1005 String prevChar = mComposingText.getStrSegment(ComposingText.LAYER1, cursor - 1).string;
1023 String search = mComposingText.getStrSegment(ComposingText.LAYER1, cursor - 1).string;
1257 if (str.string.charAt(0) != '\u0009') {
1262 commitText(str.string);
1395 /* if there is no composing string. */
1558 Matcher m = mEnglishAutoCommitDelimiter.matcher(str.string);
1999 commitTextThroughInputConnection(String string) argument
[all...]
/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/Exchange/exchange2/src/com/android/exchange/utility/
H A DSimpleIcsWriter.java40 /* package for testing */ void writeLine(String string) { argument
42 for (byte b : Utility.toUtf8(string)) {
122 * Quote a param-value string, according to RFC 5545, section 3.1
131 // It's not the smartest implementation. e.g. we don't have to wrap an empty string with
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapAuthenticator.java72 public final synchronized void setSessionKey(final String string) { argument
73 mSessionKey = string;
/packages/apps/Contacts/src/com/android/contacts/util/
H A DDateUtils.java79 * Parses the supplied string to see if it looks like a date. If so,
82 public static Date parseDate(String string) { argument
88 Date date = f.parse(string, parsePosition);
89 if (parsePosition.getIndex() == string.length()) {
106 * Parses the supplied string to see if it looks like a date. If so,
108 * the supplied string unchanged.
110 public static String formatDate(Context context, String string) { argument
111 if (string == null) {
115 string = string
[all...]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/
H A DPackedString.java35 * packed-string : [ element ] [ ELEMENT-DELIMITER [ element ] ]*
45 * Create a packed string using an already-packed string (e.g. from database)
46 * @param string packed string
48 public PackedString(String string) { argument
49 mString = string;
55 * @param tag identifier of string of interest
56 * @return returns value, or null if no string is found
68 * @return a map of the values in the packed string
[all...]
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
H A DAbstractSyncParser.java241 void userLog(String string, int num, String string2) { argument
242 mService.userLog(string, num, string2);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DContactsBinaryDictionary.java191 private static int getWordEndPosition(String string, int len, int startIndex) { argument
195 cp = string.codePointAt(end);
H A DStringUtils.java168 public static int[] toCodePointArray(final String string) { argument
169 final char[] characters = string.toCharArray();
218 // be immediately preceded by punctuation, or by a string of only letters with single
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DNameLookupBuilder.java83 String string);
82 insertNameLookup(long rawContactId, long dataId, int lookupType, String string) argument
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DNameLookupBuilderTest.java71 String string) {
72 sb.append("(").append(lookupType).append(":").append(string).append(")");
70 insertNameLookup(long rawContactId, long dataId, int lookupType, String string) argument
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DReverseGeocoder.java111 // Get current location, we decide the granularity of the string based
291 // for Res.string.around.
293 // mContext.getResources().getString(Res.string.around) + " " +
404 public static final void writeUTF(DataOutputStream dos, String string) throws IOException { argument
405 if (string == null) {
408 dos.writeUTF(string);
/packages/apps/Settings/src/com/android/settings/wifi/
H A DAccessPoint.java47 /** These values are matched in string arrays -- changes must be kept in sync */
101 return concise ? context.getString(R.string.wifi_security_short_eap) :
102 context.getString(R.string.wifi_security_eap);
106 return concise ? context.getString(R.string.wifi_security_short_wpa) :
107 context.getString(R.string.wifi_security_wpa);
109 return concise ? context.getString(R.string.wifi_security_short_wpa2) :
110 context.getString(R.string.wifi_security_wpa2);
112 return concise ? context.getString(R.string.wifi_security_short_wpa_wpa2) :
113 context.getString(R.string.wifi_security_wpa_wpa2);
116 return concise ? context.getString(R.string
305 removeDoubleQuotes(String string) argument
314 convertToQuotedString(String string) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetService.java370 * @param selection The selection string for the loader to filter the query with.
390 * This gets the selection string for the loader. This ends up doing a query in the
461 static void updateTextView(RemoteViews views, int id, int visibility, String string) { argument
464 views.setTextViewText(id, string);
/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactsRequest.java206 public void setQueryString(String string) { argument
207 mQueryString = string;
/packages/apps/Exchange/exchange2/src/com/android/exchange/
H A DAbstractSyncService.java192 public void userLog(String string, int code, String string2) { argument
194 userLog(string + code + string2);
198 public void userLog(String string, int code) { argument
200 userLog(string + code);
228 for (String string: strings) {
229 sb.append(string);
242 * @param str the string to log
/packages/apps/Browser/src/com/android/browser/provider/
H A DBrowserProvider.java435 getContext().getString(R.string.picasa) + "', '"
469 public MySuggestionCursor(Cursor hc, Cursor sc, String string) { argument
477 mString = string;
478 mIncludeWebSearch = string.length() > 0;
480 // Some web suggest providers only give suggestions and have no description string for
589 return getContext().getString(R.string.search_the_web);
724 * @return the title string to use
739 * @return the subtitle string to use, or null if none
1015 * strip "https://". If the provided string cannot be stripped, the original string
[all...]
/packages/apps/Mms/src/com/android/mms/ui/
H A DMessageUtils.java127 * a null string. Otherwise it will return the original subject string.
128 * @param context a regular context so the function can grab string resources
185 return context.getResources().getString(R.string.cannot_get_details);
189 details.append(res.getString(R.string.message_type_label));
190 details.append(res.getString(R.string.multimedia_notification));
195 details.append(res.getString(R.string.from_label));
197 res.getString(R.string.hidden_sender_address));
202 R.string.expire_on,
208 details.append(res.getString(R.string
931 isAlias(String string) argument
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DDataUsageSummary.java494 if (!TextUtils.isEmpty(helpUrl = getResources().getString(R.string.help_url_data_usage))) {
552 R.string.data_usage_metered_title, null, this, 0);
623 mTabHost.addTab(buildTabSpec(TAB_3G, R.string.data_usage_tab_3g));
624 mTabHost.addTab(buildTabSpec(TAB_4G, R.string.data_usage_tab_4g));
626 mTabHost.addTab(buildTabSpec(TAB_MOBILE, R.string.data_usage_tab_mobile));
629 mTabHost.addTab(buildTabSpec(TAB_WIFI, R.string.data_usage_tab_wifi));
632 mTabHost.addTab(buildTabSpec(TAB_ETHERNET, R.string.data_usage_tab_ethernet));
712 setPreferenceTitle(mDataEnabledView, R.string.data_usage_enable_mobile);
713 setPreferenceTitle(mDisableAtLimitView, R.string.data_usage_disable_mobile_limit);
717 setPreferenceTitle(mDataEnabledView, R.string
2382 setPreferenceSummary(View parent, CharSequence string) argument
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
H A DContactAggregator.java416 // We don't use the cached string builder (namely mSb) here, as this string can be very
1484 long rawContactId, long dataId, int lookupType, String string) {
1485 mNameLookupCandidates.add(string, lookupType);
1486 DatabaseUtils.appendEscapedSQLString(mSelection, string);
1483 insertNameLookup( long rawContactId, long dataId, int lookupType, String string) argument
/packages/apps/Calendar/src/com/android/calendar/
H A DDayView.java659 mCreateNewEventString = mResources.getString(R.string.event_create);
660 mNewEventHintString = mResources.getString(R.string.day_view_new_event_hint);
754 mResources.getString(R.string.new_event_dialog_option)
756 mLongPressTitle = mResources.getString(R.string.new_event_dialog_label);
1719 mEventCountTemplate = mContext.getString(R.string.template_announce_item_index);
3533 // Sanitize a string before passing it to drawText or else we get little
3536 private String drawTextSanitizer(String string, int maxEventTextLen) { argument
3537 Matcher m = drawTextSanitizerFilter.matcher(string);
3538 string = m.replaceAll(",");
3540 int len = string
[all...]

Completed in 8483 milliseconds