Home
last modified time | relevance | path

Searched refs:trim (Results 1 – 25 of 135) sorted by relevance

123456

/packages/services/Telephony/src/org/apache/james/mime4j/
DBodyDescriptor.java73 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 …]
DMimeStreamParser.java283 String fieldName = field.substring(0, index).trim(); in parseHeader()
299 + ": Ignoring invalid field: '" + field.trim() + "'"); in parseHeader()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/
DBodyDescriptor.java73 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/Settings/src/com/android/settings/
DProxySelector.java96 String hostname = mHostnameField.getText().toString().trim(); in onCreateDialog()
97 String portStr = mPortField.getText().toString().trim(); in onCreateDialog()
98 String exclList = mExclusionListField.getText().toString().trim(); in onCreateDialog()
209 String hostname = mHostnameField.getText().toString().trim(); in saveToDb()
210 String portStr = mPortField.getText().toString().trim(); in saveToDb()
211 String exclList = mExclusionListField.getText().toString().trim(); in saveToDb()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapbMessage.java256 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()
689 mPartId = Long.parseLong(arg[1].trim()); in parseBody()
700 mEncoding = arg[1].trim(); in parseBody()
709 mCharset = arg[1].trim(); in parseBody()
718 mLanguage = arg[1].trim(); in parseBody()
[all …]
DBluetoothMapbMessageMime.java504 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()
DBluetoothMapConvoListingElement.java175 if(value.trim().equalsIgnoreCase("yes")) { in setRead()
294 String attributeName = parser.getAttributeName(i).trim(); in createFromXml()
321 String name = parser.getName().trim(); in createFromXml()
DBluetoothMapFolderElement.java352 if(name.trim().equalsIgnoreCase("folder") == false) { in readFolders()
359 if(parser.getAttributeName(i).trim().equalsIgnoreCase("name")) { in readFolders()
362 addFolder(parser.getAttributeValue(i).trim()); in readFolders()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastConfigService.java72 int startId = Integer.decode(channelRange.substring(0, dashIndex).trim()); in setChannelRange()
73 int endId = Integer.decode(channelRange.substring(dashIndex + 1).trim()); in setChannelRange()
84 int messageId = Integer.decode(channelRange.trim()); in setChannelRange()
141 int startId = Integer.decode(channelRange.substring(0, dashIndex).trim()); in isEmergencyAlertMessage()
142 int endId = Integer.decode(channelRange.substring(dashIndex + 1).trim()); in isEmergencyAlertMessage()
147 int emergencyMessageId = Integer.decode(channelRange.trim()); in isEmergencyAlertMessage()
/packages/apps/Launcher3/src/com/android/launcher3/
DShortcutInfo.java162 this.title = Utilities.trim(title); in ShortcutInfo()
170 title = Utilities.trim(info.title); in ShortcutInfo()
187 title = Utilities.trim(info.title); in ShortcutInfo()
293 shortcut.title = Utilities.trim(info.getLabel()); in fromActivityInfo()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DRecapitalizeStatusTests.java33 status.trim(); in testTrim()
39 status.trim(); in testTrim()
45 status.trim(); in testTrim()
51 status.trim(); in testTrim()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupIncomingFragment.java429 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()
DAccountSetupNamesFragment.java138 return mDescription.getText().toString().trim(); in getDescription()
142 return mName.getText().toString().trim(); in getSenderName()
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DNameConverter.java226 sb.append(family.trim()).append(' '); in buildPhoneticName()
229 sb.append(middle.trim()).append(' '); in buildPhoneticName()
232 sb.append(given.trim()).append(' '); in buildPhoneticName()
/packages/services/Mms/src/com/android/mms/service/
DApnSettings.java97 apnName = apnName != null ? apnName.trim() : null; in load()
178 return value != null ? value.trim() : null; in trimWithNullCheck()
210 type = type.trim(); in isValidApnType()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/cc/
DCaptionWindowLayout.java545 SpannableStringBuilder trim = new SpannableStringBuilder(); in updateText() local
546 trim.append(mBuilder); in updateText()
548 trim.delete(end + 1, last + 1); in updateText()
551 trim.delete(0, start); in updateText()
553 mSubtitleView.setText(trim); in updateText()
/packages/services/Telephony/src/com/android/phone/vvm/omtp/sms/
DOmtpSmsParser.java75 keyValues.put(keyValue[0].trim(), keyValue[1].trim()); in parseSmsBody()
/packages/apps/UnifiedEmail/src/com/android/mail/
DEmailAddress.java73 name = Html.fromHtml(name.trim()).toString(); in getEmailAddress()
85 name = tokenizedName != null ? Html.fromHtml(tokenizedName.trim()).toString() : ""; in getEmailAddress()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DGroupNameDialogFragment.java58 onCompleted(editText.getText().toString().trim()); in onCreateDialog()
93 okButton.setEnabled(!TextUtils.isEmpty(editText.getText().toString().trim())); in updateOkButtonState()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DWidgetsAndShortcutNameComparator.java93 return Utilities.trim(mManager.loadLabel(widgetInfo)); in getLabel()
97 return Utilities.trim(shortcutInfo.loadLabel(mPackageManager)); in getLabel()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeUtility.java198 return parts[0].trim(); in getHeaderParameter()
202 if (part.trim().toLowerCase().startsWith(lowerCaseName)) { in getHeaderParameter()
207 String parameter = parameterParts[1].trim(); in getHeaderParameter()
/packages/services/Telephony/src/com/android/phone/common/mail/internet/
DMimeUtility.java197 return parts[0].trim(); in getHeaderParameter()
201 if (part.trim().toLowerCase().startsWith(lowerCaseName)) { in getHeaderParameter()
206 String parameter = parameterParts[1].trim(); in getHeaderParameter()
/packages/apps/Email/src/com/android/email/mail/transport/
DSmtpSender.java197 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/Settings/src/com/android/settings/vpn2/
DConfigDialog.java409 profile.server = mServer.getText().toString().trim(); in getProfile()
412 profile.searchDomains = mSearchDomains.getText().toString().trim(); in getProfile()
413 profile.dnsServers = mDnsServers.getText().toString().trim(); in getProfile()
414 profile.routes = mRoutes.getText().toString().trim(); in getProfile()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DNameSplitter.java312 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()

123456