/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
D | BodyDescriptor.java | 73 name = name.trim().toLowerCase(); in addField() 78 value = value.trim().toLowerCase(); in addField() 86 value = value.trim(); in addField() 104 main = main.toLowerCase().trim(); in addField() 108 String type = main.substring(0, index).trim(); in addField() 109 String subtype = main.substring(index + 1).trim(); in addField() 135 c = c.trim(); in addField() 244 paramName.toString().trim().toLowerCase(), in getHeaderParams() 245 paramValue.toString().trim()); in getHeaderParams() 280 paramName.toString().trim().toLowerCase(), in getHeaderParams() [all …]
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastChannelManager.java | 68 String[] pairs = channelRange.substring(colonIndex + 1).trim().split(","); in CellBroadcastChannelRange() 70 pair = pair.trim(); in CellBroadcastChannelRange() 73 String key = tokens[0].trim(); in CellBroadcastChannelRange() 74 String value = tokens[1].trim(); in CellBroadcastChannelRange() 85 channelRange = channelRange.substring(0, colonIndex).trim(); in CellBroadcastChannelRange() 92 mStartId = Integer.decode(channelRange.substring(0, dashIndex).trim()); in CellBroadcastChannelRange() 93 mEndId = Integer.decode(channelRange.substring(dashIndex + 1).trim()); in CellBroadcastChannelRange()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapbMessage.java | 256 line = line.trim(); in parseVcard() 562 if (arg[1].trim().equals("READ")) { in parse() 564 } else if (arg[1].trim().equals("UNREAD")) { in parse() 576 String value = arg[1].trim(); in parse() 584 String value = arg[1].trim(); in parse() 616 folder = arg[1].trim(); in parse() 690 mPartId = Long.parseLong(arg[1].trim()); in parseBody() 701 mEncoding = arg[1].trim(); in parseBody() 710 mCharset = arg[1].trim(); in parseBody() 719 mLanguage = arg[1].trim(); in parseBody() [all …]
|
D | BluetoothMapbMessageMime.java | 504 if(header.trim() == "") in parseMimeHeaders() 517 String headerValue = headerParts[1].trim(); in parseMimeHeaders() 559 boundary = contentTypeParts[j].split("boundary[\\s]*=", 2)[1].trim(); in parseMimeHeaders() 566 mCharset = contentTypeParts[j].split("charset[\\s]*=", 2)[1].trim(); in parseMimeHeaders() 593 || (header.trim().isEmpty()) in parseMimePart() 594 || header.trim().equals("--")) in parseMimePart() 604 String headerValue = headerParts[1].trim(); in parseMimePart() 613 newPart.mCharsetName = value.split("charset[\\s]*=", 2)[1].trim(); in parseMimePart()
|
D | BluetoothMapConvoListingElement.java | 175 if(value.trim().equalsIgnoreCase("yes")) { in setRead() 294 String attributeName = parser.getAttributeName(i).trim(); in createFromXml() 321 String name = parser.getName().trim(); in createFromXml()
|
D | BluetoothMapFolderElement.java | 350 if(name.trim().equalsIgnoreCase("folder") == false) { in readFolders() 357 if(parser.getAttributeName(i).trim().equalsIgnoreCase("name")) { in readFolders() 360 addFolder(parser.getAttributeValue(i).trim()); in readFolders()
|
/packages/apps/Settings/src/com/android/settings/ |
D | ProxySelector.java | 97 String hostname = mHostnameField.getText().toString().trim(); in onCreateDialog() 98 String portStr = mPortField.getText().toString().trim(); in onCreateDialog() 99 String exclList = mExclusionListField.getText().toString().trim(); in onCreateDialog() 215 String hostname = mHostnameField.getText().toString().trim(); in saveToDb() 216 String portStr = mPortField.getText().toString().trim(); in saveToDb() 217 String exclList = mExclusionListField.getText().toString().trim(); in saveToDb()
|
/packages/apps/TV/src/com/android/tv/tuner/cc/ |
D | CaptionWindowLayout.java | 581 SpannableStringBuilder trim = new SpannableStringBuilder(); in updateText() local 582 trim.append(mBuilder); in updateText() 584 trim.delete(end + 1, last + 1); in updateText() 587 trim.delete(0, start); in updateText() 589 mSubtitleView.setPrefixSpaces(getPrefixSpaces(trim)); in updateText() 590 mSubtitleView.setText(trim); in updateText()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSetupIncomingFragment.java | 429 mCacheLoginCredential = mUsernameView.getText().toString().trim(); in validateFields() 557 final String userName = mUsernameView.getText().toString().trim(); in collectUserInputInternal() 565 final String serverAddress = mServerView.getText().toString().trim(); in collectUserInputInternal() 568 serverPort = Integer.parseInt(mPortView.getText().toString().trim()); in collectUserInputInternal() 577 final String prefix = mImapPathPrefixView.getText().toString().trim(); in collectUserInputInternal() 622 intent.putExtra(CertificateRequestor.EXTRA_HOST, mServerView.getText().toString().trim()); in onCertificateRequested() 625 Integer.parseInt(mPortView.getText().toString().trim())); in onCertificateRequested()
|
D | AccountSetupOutgoingFragment.java | 382 final String userName = mUsernameView.getText().toString().trim(); in collectUserInputInternal() 389 final String serverAddress = mServerView.getText().toString().trim(); in collectUserInputInternal() 392 serverPort = Integer.parseInt(mPortView.getText().toString().trim()); in collectUserInputInternal()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | RecapitalizeStatusTests.java | 33 status.trim(); in testTrim() 39 status.trim(); in testTrim() 45 status.trim(); in testTrim() 51 status.trim(); in testTrim()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | NameConverter.java | 144 sb.append(family.trim()).append(' '); in buildPhoneticName() 147 sb.append(middle.trim()).append(' '); in buildPhoneticName() 150 sb.append(given.trim()).append(' '); in buildPhoneticName()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | ApnSettings.java | 97 apnName = apnName != null ? apnName.trim() : null; in load() 178 return value != null ? value.trim() : null; in trimWithNullCheck() 210 type = type.trim(); in isValidApnType()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | NameSplitter.java | 312 set.add(split[i].trim().toUpperCase()); in convertToSet() 561 prefix = prefix == null ? null: prefix.trim(); in join() 562 part1 = part1 == null ? null: part1.trim(); in join() 563 part2 = part2 == null ? null: part2.trim(); in join() 564 part3 = part3 == null ? null: part3.trim(); in join() 565 suffix = suffix == null ? null: suffix.trim(); in join()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | ConfigDialog.java | 442 profile.server = mServer.getText().toString().trim(); in getProfile() 445 profile.searchDomains = mSearchDomains.getText().toString().trim(); in getProfile() 446 profile.dnsServers = mDnsServers.getText().toString().trim(); in getProfile() 447 profile.routes = mRoutes.getText().toString().trim(); in getProfile()
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
D | MimeUtility.java | 198 return parts[0].trim(); in getHeaderParameter() 202 if (part.trim().toLowerCase().startsWith(lowerCaseName)) { in getHeaderParameter() 207 String parameter = parameterParts[1].trim(); in getHeaderParameter()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
D | MimeUtility.java | 188 return parts[0].trim(); in getHeaderParameter() 192 if (part.trim().toLowerCase().startsWith(lowerCaseName)) { in getHeaderParameter() 197 String parameter = parameterParts[1].trim(); in getHeaderParameter()
|
/packages/apps/Email/src/com/android/email/mail/transport/ |
D | SmtpSender.java | 197 executeSimpleCommand("RCPT TO:" + "<" + address.getAddress().trim() + ">"); in sendMessage() 200 executeSimpleCommand("RCPT TO:" + "<" + address.getAddress().trim() + ">"); in sendMessage() 203 executeSimpleCommand("RCPT TO:" + "<" + address.getAddress().trim() + ">"); in sendMessage()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | AtPhonebook.java | 241 String pb = args[1].trim(); in handleCpbsCommand() 329 indices[i] = indices[i].replace(';', ' ').trim(); in handleCpbrCommand() 540 name = name.trim(); in processCpbrCommand() 551 number = number.trim(); in processCpbrCommand()
|
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/ |
D | RecurrencePickerDialog.java | 1035 intervalString.length()).trim()); 1036 mIntervalPreText.setText(intervalString.substring(0, markerStart).trim()); 1056 endString.length()).trim()); 1265 item.setText(mEndDateString.substring(0, markerStart).trim()); 1286 endString.length()).trim()); 1294 item.setText(endString.substring(0, markerStart).trim());
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
D | SearchFeatureProviderImplTest.java | 67 assertThat(loader.mQueryText).isEqualTo(query.trim()); in getDatabaseSearchLoader_shouldCleanupQuery() 76 assertThat(loader.mQuery).isEqualTo(query.trim()); in getInstalledAppSearchLoader_shouldCleanupQuery()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ |
D | EmailAddress.java | 73 name = Html.fromHtml(name.trim()).toString(); in getEmailAddress() 85 name = tokenizedName != null ? Html.fromHtml(tokenizedName.trim()).toString() : ""; in getEmailAddress()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | WidgetItem.java | 36 label = Utilities.trim(info.getLabel(pm)); in WidgetItem() 46 label = Utilities.trim(info.getLabel()); in WidgetItem()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarEventModel.java | 352 email = email.trim(); in CalendarEventModel() 372 if (mTitle != null && mTitle.trim().length() > 0) { in isEmpty() 376 if (mLocation != null && mLocation.trim().length() > 0) { in isEmpty() 380 if (mDescription != null && mDescription.trim().length() > 0) { in isEmpty()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/ |
D | CreateCustomSmsDialogFragment.java | 68 .customSmsCreated(editText.getText().toString().trim()); in onCreateDialog() 110 sendButton.setEnabled(editable != null && editable.toString().trim().length() != 0); in onCreateDialog()
|