/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
FetchProfile.java | 28 * Part: Indicates that the given Part should be fetched. The provider
74 * @return the first {@link Part} in this collection, or null if it doesn't contain
75 * {@link Part}.
77 public Part getFirstPart() {
79 if (o instanceof Part) {
80 return (Part) o;
|
BodyPart.java | 19 public abstract class BodyPart implements Part {
|
Multipart.java | 22 protected Part mParent;
28 public void addBodyPart(BodyPart part) throws MessagingException {
29 mParts.add(part);
32 public void addBodyPart(BodyPart part, int index) throws MessagingException {
33 mParts.add(index, part);
48 public boolean removeBodyPart(BodyPart part) throws MessagingException {
49 return mParts.remove(part);
56 public Part getParent() throws MessagingException {
60 public void setParent(Part parent) throws MessagingException {
|
/packages/services/Telephony/src/com/android/phone/common/mail/ |
FetchProfile.java | 27 * Part: Indicates that the given Part should be fetched. The provider
73 * @return the first {@link Part} in this collection, or null if it doesn't contain
74 * {@link Part}.
76 public Part getFirstPart() {
78 if (o instanceof Part) {
79 return (Part) o;
|
BodyPart.java | 18 public abstract class BodyPart implements Part {
|
Multipart.java | 21 protected Part mParent;
27 public void addBodyPart(BodyPart part) throws MessagingException {
28 mParts.add(part);
31 public void addBodyPart(BodyPart part, int index) throws MessagingException {
32 mParts.add(index, part);
47 public boolean removeBodyPart(BodyPart part) throws MessagingException {
48 return mParts.remove(part);
55 public Part getParent() throws MessagingException {
59 public void setParent(Part parent) throws MessagingException {
|
/frameworks/base/core/java/android/net/ |
Uri.java | 130 public static final Uri EMPTY = new HierarchicalUri(null, Part.NULL, 131 PathPart.EMPTY, Part.NULL, Part.NULL); 140 * Absolute URIs are hierarchical if the scheme-specific part starts with 147 * scheme-specific part of an opaque URI cannot start with a '/'. 179 * Gets the scheme-specific part of this URI, i.e. everything between 185 * @return the decoded scheme-specific-part 190 * Gets the scheme-specific part of this URI, i.e. everything between 197 * @return the decoded scheme-specific-part 202 * Gets the decoded authority part of this URI. Fo [all...] |
/external/robolectric/v1/src/main/java/android/net/ |
Uri__FromAndroid.java | 118 public static final Uri__FromAndroid EMPTY = new HierarchicalUri(null, Part.NULL, 119 PathPart.EMPTY, Part.NULL, Part.NULL); 128 * Absolute URIs are hierarchical if the scheme-specific part starts with 135 * scheme-specific part of an opaque URI cannot start with a '/'. 167 * Gets the scheme-specific part of this URI, i.e. everything between the 173 * @return the decoded scheme-specific-part 178 * Gets the scheme-specific part of this URI, i.e. everything between the 185 * @return the decoded scheme-specific-part 190 * Gets the decoded authority part of this URI. Fo [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
MimeUtilityTest.java | 27 import com.android.emailcommon.mail.Part; 309 // TODO: tests for findFirstPartByMimeType(Part part, String mimeType) 311 /** Tests for findPartByContentId(Part part, String contentId) */ 315 final Part cid1bp = MessageTestUtils.bodyPart("image/gif; name=\"im1.gif\"", cid1); 317 final Part cid2bp = MessageTestUtils.bodyPart("image/gif", cid2); 320 final Part cid3bp = MessageTestUtils.bodyPart("image/gif", cid3); 324 final Part cid4bp = MessageTestUtils.bodyPart("image/gif", cid4); // no name attr 326 final Part cid5bp = MessageTestUtils.bodyPart("image/gif", cid5) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
MessagePattern.java | 21 //Note: Minimize ICU dependencies, only use a very small part of the ICU core. 44 * For every _START "part", {@link #getLimitPartIndex(int)} efficiently returns 45 * the index of the corresponding _LIMIT "part". 65 * between parts of a message, from one part's getLimit() to the next part's getIndex(). 66 * <li><code>ARG_START.CHOICE</code> stands for an ARG_START Part with ArgType CHOICE. 69 * <li>In the pluralStyle, the first, optional numeric Part has the "offset:" value. 70 * The optional numeric Part between each (ARG_SELECTOR, message) pair 73 * <li>The REPLACE_NUMBER Part can occur only in an immediate sub-message of the pluralStyle. 381 Part part local 488 Part part=parts.get(pluralStart); local [all...] |
SelectFormat.java | 213 * @param partIndex the index of the first SelectFormat argument style part. 215 * @return the sub-message start part index. 222 MessagePattern.Part part=pattern.getPart(partIndex++); local 223 MessagePattern.Part.Type type=part.getType(); 224 if(type==MessagePattern.Part.Type.ARG_LIMIT) { 227 assert type==MessagePattern.Part.Type.ARG_SELECTOR; 228 // part is an ARG_SELECTOR followed by a message 229 if(pattern.partSubstringMatches(part, keyword)) 268 MessagePattern.Part part = msgPattern.getPart(++i); local [all...] |
PluralFormat.java | 422 * @param partIndex the index of the first PluralFormat argument style part. 427 * @return the sub-message start part index. 434 MessagePattern.Part part=pattern.getPart(partIndex); local 435 if(part.getType().hasNumericValue()) { 436 offset=pattern.getNumericValue(part); 464 part=pattern.getPart(partIndex++); 465 MessagePattern.Part.Type type=part.getType(); 466 if(type==MessagePattern.Part.Type.ARG_LIMIT) 612 MessagePattern.Part part = msgPattern.getPart(++partIndex); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
MessagePattern.java | 20 //Note: Minimize ICU dependencies, only use a very small part of the ICU core. 43 * For every _START "part", {@link #getLimitPartIndex(int)} efficiently returns 44 * the index of the corresponding _LIMIT "part". 64 * between parts of a message, from one part's getLimit() to the next part's getIndex(). 65 * <li><code>ARG_START.CHOICE</code> stands for an ARG_START Part with ArgType CHOICE. 68 * <li>In the pluralStyle, the first, optional numeric Part has the "offset:" value. 69 * The optional numeric Part between each (ARG_SELECTOR, message) pair 72 * <li>The REPLACE_NUMBER Part can occur only in an immediate sub-message of the pluralStyle. 404 Part part local 520 Part part=parts.get(pluralStart); local [all...] |
SelectFormat.java | 217 * @param partIndex the index of the first SelectFormat argument style part. 219 * @return the sub-message start part index. 226 MessagePattern.Part part=pattern.getPart(partIndex++); local 227 MessagePattern.Part.Type type=part.getType(); 228 if(type==MessagePattern.Part.Type.ARG_LIMIT) { 231 assert type==MessagePattern.Part.Type.ARG_SELECTOR; 232 // part is an ARG_SELECTOR followed by a message 233 if(pattern.partSubstringMatches(part, keyword)) 273 MessagePattern.Part part = msgPattern.getPart(++i); local [all...] |
PluralFormat.java | 437 * @param partIndex the index of the first PluralFormat argument style part. 442 * @return the sub-message start part index. 449 MessagePattern.Part part=pattern.getPart(partIndex); local 450 if(part.getType().hasNumericValue()) { 451 offset=pattern.getNumericValue(part); 479 part=pattern.getPart(partIndex++); 480 MessagePattern.Part.Type type=part.getType(); 481 if(type==MessagePattern.Part.Type.ARG_LIMIT) 629 MessagePattern.Part part = msgPattern.getPart(++partIndex); local [all...] |
/external/messageformat/java/com/ibm/icu/text/ |
MessagePattern.java | 20 //Note: Minimize ICU dependencies, only use a very small part of the ICU core. 43 * For every _START "part", {@link #getLimitPartIndex(int)} efficiently returns 44 * the index of the corresponding _LIMIT "part". 64 * between parts of a message, from one part's getLimit() to the next part's getIndex(). 65 * <li><code>ARG_START.CHOICE</code> stands for an ARG_START Part with ArgType CHOICE. 68 * <li>In the pluralStyle, the first, optional numeric Part has the "offset:" value. 69 * The optional numeric Part between each (ARG_SELECTOR, message) pair 72 * <li>The REPLACE_NUMBER Part can occur only in an immediate sub-message of the pluralStyle. 403 Part part local 519 Part part=parts.get(pluralStart); local [all...] |
SelectFormat.java | 218 * @param partIndex the index of the first SelectFormat argument style part. 220 * @return the sub-message start part index. 227 MessagePattern.Part part=pattern.getPart(partIndex++); local 228 MessagePattern.Part.Type type=part.getType(); 229 if(type==MessagePattern.Part.Type.ARG_LIMIT) { 232 assert type==MessagePattern.Part.Type.ARG_SELECTOR; 233 // part is an ARG_SELECTOR followed by a message 234 if(pattern.partSubstringMatches(part, keyword)) 274 MessagePattern.Part part = msgPattern.getPart(++i); local [all...] |
/external/apache-http/android/src/com/android/internal/http/multipart/ |
MultipartEntity.java | 57 * a series of parts. Each part is expected to contain a content-disposition 71 * Part[] parts = { 118 protected Part[] parts; 131 public MultipartEntity(Part[] parts, HttpParams params) { 142 public MultipartEntity(Part[] parts) { 153 * this part. The first call to this method will implicitly create a new 190 Part.sendParts(out, parts, getMultipartBoundary()); 208 return Part.getLengthOfParts(parts, getMultipartBoundary()); 222 Part.sendParts(baos, this.parts, this.multipartBoundary);
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/ |
MessagePatternDemo.java | 31 MessagePattern.Part prevPart=null; 35 MessagePattern.Part part=msg.getPart(i); local 36 assert prevPart==null || prevPart.getLimit()<=part.getIndex(); 37 String partString=part.toString(); 38 MessagePattern.Part.Type type=part.getType(); 39 if(type==MessagePattern.Part.Type.MSG_START) { 40 indent=manySpaces.substring(0, part.getValue()*2); 42 if(part.getLength()>0) [all...] |
/external/icu/icu4c/source/common/unicode/ |
messagepattern.h | 95 * MessagePattern::Part type constants. 105 * There is always a later MSG_LIMIT part. 121 * would be indicated with such a part. 135 * When formatting, replace this part's substring with the 146 * This part is followed by either an ARG_NUMBER or ARG_NAME, 148 * and finally an ARG_LIMIT part. 191 * The part value is the integer value. 198 * The part value is an index into an internal array of numeric values; 211 * Returned by Part.getArgType() for ARG_START and ARG_LIMIT parts. 224 * The argument has a "simple" type which is provided by the ARG_TYPE part [all...] |
/packages/apps/Email/tests/src/com/android/email/ |
LegacyConversionsTests.java | 39 import com.android.emailcommon.mail.Part; 106 ArrayList<Part> viewables = new ArrayList<Part>(); 107 ArrayList<Part> attachments = new ArrayList<Part>(); 201 ArrayList<Part> viewables = new ArrayList<Part>(); 202 ArrayList<Part> attachments = new ArrayList<Part>(); 216 viewables = new ArrayList<Part>(); [all...] |
/external/jetty/src/java/org/eclipse/jetty/server/ |
ServletRequestHttpWrapper.java | 34 import javax.servlet.http.Part; 182 public Part getPart(String name) throws IOException, ServletException 190 public Collection<Part> getParts() throws IOException, ServletException
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/ |
ConversionUtilities.java | 22 import com.android.emailcommon.mail.Part; 64 public static BodyFieldData parseBodyFields(ArrayList<Part> viewables) 70 for (Part viewable : viewables) { 83 // write the combined data to the body part
|
/cts/tests/tests/provider/src/android/provider/cts/ |
SmsBackupRestoreTest.java | 59 private static final String[] MMS_PART_TEXT_PROJECTION = new String[]{Telephony.Mms.Part.TEXT}; 60 private static final String MMS_PART_SELECTION = Telephony.Mms.Part.MSG_ID + " = ?"; 61 private static final String MMS_PART_TEXT_SELECTION = Telephony.Mms.Part.CONTENT_TYPE + " = ?"; 118 .appendPath(String.valueOf(mmsId)).appendPath("part").build(); 173 .appendPath(String.valueOf(mmsId)).appendPath("part").build(); 219 // Insert body part. 221 .appendPath(String.valueOf(mmsId)).appendPath("part").build(); 224 values.put(Telephony.Mms.Part.MSG_ID, mmsId); 225 values.put(Telephony.Mms.Part.SEQ, 0); 226 values.put(Telephony.Mms.Part.CONTENT_TYPE, ContentType.TEXT_PLAIN) [all...] |
/external/messageformat/java/com/ibm/icu/simple/ |
MessageFormat.java | 42 import com.ibm.icu.text.MessagePattern.Part; 484 * Returns the part index of the next ARG_START after partIndex, or -1 if there is none more. 485 * @param partIndex Part index of the previous ARG_START (initially 0). 492 MessagePattern.Part.Type type = msgPattern.getPartType(++partIndex); 493 if (type == MessagePattern.Part.Type.ARG_START) { 496 if (type == MessagePattern.Part.Type.MSG_LIMIT) { 503 Part part = msgPattern.getPart(partIndex); local 504 return part.getType() == MessagePattern.Part.Type.ARG_NAME 510 Part part = msgPattern.getPart(partIndex); local 1199 Part part=msgPattern.getPart(i); local 1527 Part part=msgPattern.getPart(i); local 1746 Part part=msgPattern.getPart(i); local 1796 Part part=pattern.getPart(partIndex++); local 1869 Part part = pattern.getPart(++partIndex); local 1892 MessagePattern.Part part=msgPattern.getPart(partIndex); local 1924 Part part=msgPattern.getPart(i); local 2243 Part part = msgPattern.getPart(i); local [all...] |