Home
last modified time | relevance | path

Searched refs:parts (Results 1 – 25 of 32) sorted by relevance

12

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapbMessageMime.java149 private ArrayList<MimePart> parts = null; field in BluetoothMapbMessageMime
168 return parts; in getMimeParts()
176 if(parts != null) { in getMessageAsText()
177 for(MimePart part : parts) { in getMessageAsText()
186 if(parts == null) in addMimePart()
187 parts = new ArrayList<BluetoothMapbMessageMime.MimePart>(); in addMimePart()
189 parts.add(newPart); in addMimePart()
300 if(parts != null) { in updateCharset()
302 for(MimePart part : parts) { in updateCharset()
314 if(parts != null) { in getSize()
[all …]
DBluetoothMapbMessage.java252 String[] parts; in parseVcard() local
258 parts = line.split("[^\\\\]:"); // Split on "un-escaped" ':' in parseVcard()
259 if(parts.length == 2) { in parseVcard()
260 name = parts[1]; in parseVcard()
265 parts = line.split("[^\\\\]:"); // Split on "un-escaped" ':' in parseVcard()
266 if(parts.length == 2) { in parseVcard()
267 formattedName = parts[1]; in parseVcard()
272 parts = line.split("[^\\\\]:"); // Split on "un-escaped" ':' in parseVcard()
273 if(parts.length == 2) { in parseVcard()
274 String[] subParts = parts[1].split("[^\\\\];"); in parseVcard()
[all …]
DBluetoothMapContentObserver.java2406 int parts; field in BluetoothMapContentObserver.PushMsgInfo
2529 ArrayList<String> parts = smsMng.divideMessage(msgBody); in pushMessage() local
2530 int smsParts = parts.size(); in pushMessage()
2950 ArrayList<String> parts = smsMng.divideMessage(msgBody); in sendMessage() local
2951 msgInfo.parts = parts.size(); in sendMessage()
2957 ArrayList<PendingIntent> deliveryIntents = new ArrayList<PendingIntent>(msgInfo.parts); in sendMessage()
2958 ArrayList<PendingIntent> sentIntents = new ArrayList<PendingIntent>(msgInfo.parts); in sendMessage()
2967 if (parts != null && parts.size() > 0) { in sendMessage()
2968 for (int i = 0; i < msgInfo.parts; i++) { in sendMessage()
3004 smsMng.sendMultipartTextMessage(msgInfo.phone, null, parts, sentIntents, in sendMessage()
[all …]
/packages/services/Telephony/src/com/android/phone/common/mail/utils/
DUtility.java35 public static String combine(Object[] parts, char separator) { in combine() argument
36 if (parts == null) { in combine()
40 for (int i = 0; i < parts.length; i++) { in combine()
41 sb.append(parts[i].toString()); in combine()
42 if (i < parts.length - 1) { in combine()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DCityDAO.java139 final String[] parts = formattedName.split("[=:]"); in createCity() local
140 final String name = parts[1]; in createCity()
143 final String indexString = TextUtils.isEmpty(parts[0]) in createCity()
144 ? String.valueOf(name.charAt(0)) : parts[0]; in createCity()
145 final String phoneticName = parts.length == 3 ? parts[2] : name; in createCity()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DDetailsAddressResolver.java86 String parts[] = { in updateLocation() local
99 for (int i = 0; i < parts.length; i++) { in updateLocation()
100 if (parts[i] == null || parts[i].isEmpty()) continue; in updateLocation()
104 addressText += parts[i]; in updateLocation()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPicasaSource.java180 String[] parts = id.split(":"); in findImages() local
181 if (parts.length > 2) { in findImages()
184 albumIds.add(parts[1]); in findImages()
283 String[] parts = id.split(":"); in resolveAlbumIds() local
284 if (parts.length < 3) { in resolveAlbumIds()
291 String selection = (PICASA_ALBUM_USER + " = '" + parts[2] + "' AND " + in resolveAlbumIds()
292 PICASA_ALBUM_TYPE + " = '" + parts[1] + "'"); in resolveAlbumIds()
DLocalSource.java196 String[] parts = id.split(":"); in findImages() local
197 if (parts.length > 1) { in findImages()
201 selection += MediaStore.Images.Media.BUCKET_ID + " = '" + parts[1] + "'"; in findImages()
/packages/apps/Protips/src/com/android/protips/
DProtipWidget.java212 String[] parts = sNewlineRegex.split(mTips[mMessage], 2); in buildUpdate() local
213 String title = parts[0]; in buildUpdate()
214 String text = parts.length > 1 ? parts[1] : ""; in buildUpdate()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DConversationMessageData.java282 final List<MessagePartData> parts = new LinkedList<MessagePartData>();
284 parts.add(makePartData(
294 parts,
304 return parts;
309 final List<MessagePartData> parts,
327 parts.add(makePartData(
337 if (parts.size() != partsCount) {
338 LogUtil.wtf(TAG, "Only unpacked " + parts.size() + " parts from message (id="
DMessageData.java910 public static String toString(String messageId, List<MessagePartData> parts) { in toString() argument
916 for (MessagePartData part : parts) { in toString()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DSavedWallpaperImages.java130 String[] parts = extraStr.split(",");
131 extras = new Float[parts.length];
132 for (int i = 0; i < parts.length; i++) {
134 extras[i] = Float.parseFloat(parts[i]);
/packages/apps/Camera2/src/com/android/camera/settings/
DSettingsUtil.java409 String[] parts = sizeSettingString.split(SIZE_SETTING_STRING_DIMENSION_DELIMITER); in sizeFromSettingString() local
410 if (parts.length != 2) { in sizeFromSettingString()
415 int width = Integer.parseInt(parts[0]); in sizeFromSettingString()
416 int height = Integer.parseInt(parts[1]); in sizeFromSettingString()
/packages/experimental/procstatlog/
Dprocstatreport.py647 parts = line.split(None, 2)
648 if len(parts) < 2 or parts[1] not in "+-=":
652 name, op = parts[:2]
666 current_state[name] = "".join(parts[2:]).strip()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeUtility.java196 String[] parts = unfold(header).split(";"); in getHeaderParameter() local
198 return parts[0].trim(); in getHeaderParameter()
201 for (String part : parts) { in getHeaderParameter()
/packages/services/Telephony/src/com/android/phone/common/mail/internet/
DMimeUtility.java195 String[] parts = unfold(header).split(";"); in getHeaderParameter() local
197 return parts[0].trim(); in getHeaderParameter()
200 for (String part : parts) { in getHeaderParameter()
/packages/apps/Messaging/src/com/android/messaging/util/
DUriUtil.java325 final String[] parts = uri.getSchemeSpecificPart().split("\\?"); in parseRecipientsFromSmsMmsUri() local
326 if (TextUtils.isEmpty(parts[0])) { in parseRecipientsFromSmsMmsUri()
331 return TextUtil.replaceUnicodeDigits(parts[0]).replace(';', ',').split(","); in parseRecipientsFromSmsMmsUri()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DUtility.java108 public static String combine(Object[] parts, char separator) { in combine() argument
109 if (parts == null) { in combine()
113 for (int i = 0; i < parts.length; i++) { in combine()
114 sb.append(parts[i].toString()); in combine()
115 if (i < parts.length - 1) { in combine()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduPersister.java377 PduPart[] parts = null; in loadParts() local
389 parts = new PduPart[partCount]; in loadParts()
488 parts[partIdx++] = part; in loadParts()
496 return parts; in loadParts()
711 final PduPart[] parts = loadParts(msgId); in loadBody() local
712 if (parts != null) { in loadBody()
713 final int partsNum = parts.length; in loadBody()
715 body.addPart(parts[i]); in loadBody()
/packages/apps/Settings/src/com/android/settings/vpn2/
DConfigDialog.java355 String[] parts = address.split("/", 2); in validateAddresses() local
356 address = parts[0]; in validateAddresses()
357 prefixLength = Integer.parseInt(parts[1]); in validateAddresses()
/packages/apps/Email/provider_src/com/android/email/mail/store/
DPop3Store.java242 String[] parts = response.split(" "); in open() local
243 if (parts.length < 2) { in open()
246 mMessageCount = Integer.parseInt(parts[1]); in open()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/
DTestDataFactory.java159 final List<MessagePartData> parts = ConversationMessageData.makeParts( in getMessageText() local
169 for (final MessagePartData part : parts) { in getMessageText()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTask.java981 String[] parts = s.split("#");
982 widgetMinSize.put(parts[0], parsePoint(parts[1]));
/packages/apps/UnifiedEmail/src/com/android/mail/widget/
DWidgetService.java445 private SpannableStringBuilder elideParticipants(List<SpannableString> parts) {
457 for (SpannableString sender : parts) {
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java1010 String[] parts = headerLine.split(":", 2); in insertRequestHeaders() local
1011 rowValues.put(Downloads.Impl.RequestHeaders.COLUMN_HEADER, parts[0].trim()); in insertRequestHeaders()
1012 rowValues.put(Downloads.Impl.RequestHeaders.COLUMN_VALUE, parts[1].trim()); in insertRequestHeaders()

12