Home
last modified time | relevance | path

Searched refs:parts (Results 1 – 25 of 37) 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.java2422 int parts; field in BluetoothMapContentObserver.PushMsgInfo
2553 ArrayList<String> parts = smsMng.divideMessage(msgBody); in pushMessage() local
2554 int smsParts = parts.size(); in pushMessage()
2974 ArrayList<String> parts = smsMng.divideMessage(msgBody); in sendMessage() local
2975 msgInfo.parts = parts.size(); in sendMessage()
2981 ArrayList<PendingIntent> deliveryIntents = new ArrayList<PendingIntent>(msgInfo.parts); in sendMessage()
2982 ArrayList<PendingIntent> sentIntents = new ArrayList<PendingIntent>(msgInfo.parts); in sendMessage()
2991 if (parts != null && parts.size() > 0) { in sendMessage()
2992 for (int i = 0; i < msgInfo.parts; i++) { in sendMessage()
3028 smsMng.sendMultipartTextMessage(msgInfo.phone, null, parts, sentIntents, in sendMessage()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DWallpaperManagerCompatVL.java151 String[] parts = value.split(","); in parseValue() local
152 Integer wallpaperId = Integer.parseInt(parts[1]); in parseValue()
153 if (parts.length == 2) { in parseValue()
158 int primary = parts.length > 2 ? Integer.parseInt(parts[2]) : 0; in parseValue()
159 int secondary = parts.length > 3 ? Integer.parseInt(parts[3]) : 0; in parseValue()
160 int tertiary = parts.length > 4 ? Integer.parseInt(parts[4]) : 0; in parseValue()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DCityDAO.java153 final String[] parts = formattedName.split("[=:]"); in createCity() local
154 final String name = parts[1]; in createCity()
157 final String indexString = TextUtils.isEmpty(parts[0]) in createCity()
158 ? name.substring(0, 1) : parts[0]; in createCity()
159 final String phoneticName = parts.length == 3 ? parts[2] : name; in createCity()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/utils/
DUtility.java31 public static String combine(Object[] parts, char separator) { in combine() argument
32 if (parts == null) { in combine()
36 for (int i = 0; i < parts.length; i++) { in combine()
37 sb.append(parts[i].toString()); in combine()
38 if (i < parts.length - 1) { in combine()
/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/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/services/Car/tools/
Dupdate-obd2-sensors.py59 parts = string.split('\n')
60 parts = [indent + part for part in parts]
61 return '\n'.join(parts) + "\n"
/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/Launcher3/tests/src/com/android/launcher3/touch/
DSwipeDetectorTest.java43 public static void L(String s, Object... parts) { in L() argument
44 Log.d(TAG, (parts.length == 0) ? s : String.format(s, parts)); in L()
/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/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/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/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/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeUtility.java186 String[] parts = unfold(header).split(";"); in getHeaderParameter() local
188 return parts[0].trim(); in getHeaderParameter()
191 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/Settings/src/com/android/settings/vpn2/
DConfigDialog.java388 String[] parts = address.split("/", 2); in validateAddresses() local
389 address = parts[0]; in validateAddresses()
390 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/UnifiedEmail/src/com/android/mail/widget/
DWidgetService.java445 private SpannableStringBuilder elideParticipants(List<SpannableString> parts) {
457 for (SpannableString sender : parts) {

12