/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
FetchProfile.java | 29 * Part: Indicates that the given Part should be fetched. The provider 69 * @return the first {@link Part} in this collection, or null if it doesn't contain {@link Part}. 71 public Part getFirstPart() { 73 if (o instanceof Part) { 74 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 {
|
/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 {
|
/external/libcxx/benchmarks/ |
filesystem.bench.cpp | 17 for (auto& Part : in) 18 PP /= Part; 34 for (auto& Part : in) 35 PP /= Part; 52 for (auto& Part : in) 53 PP /= Part; 83 for (auto& Part : in) 84 PP /= Part; 102 for (auto& Part : in) 103 PP /= Part; [all...] |
/frameworks/base/core/java/android/net/ |
Uri.java | 131 public static final Uri EMPTY = new HierarchicalUri(null, Part.NULL, 132 PathPart.EMPTY, Part.NULL, Part.NULL); 141 * Absolute URIs are hierarchical if the scheme-specific part starts with 148 * scheme-specific part of an opaque URI cannot start with a '/'. 180 * Gets the scheme-specific part of this URI, i.e. everything between 186 * @return the decoded scheme-specific-part 191 * Gets the scheme-specific part of this URI, i.e. everything between 198 * @return the decoded scheme-specific-part 203 * 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 | 23 //Note: Minimize ICU dependencies, only use a very small part of the ICU core. 46 * For every _START "part", {@link #getLimitPartIndex(int)} efficiently returns 47 * the index of the corresponding _LIMIT "part". 67 * between parts of a message, from one part's getLimit() to the next part's getIndex(). 68 * <li><code>ARG_START.CHOICE</code> stands for an ARG_START Part with ArgType CHOICE. 71 * <li>In the pluralStyle, the first, optional numeric Part has the "offset:" value. 72 * The optional numeric Part between each (ARG_SELECTOR, message) pair 75 * <li>The REPLACE_NUMBER Part can occur only in an immediate sub-message of the pluralStyle. 383 Part part local 490 Part part=parts.get(pluralStart); local [all...] |
SelectFormat.java | 215 * @param partIndex the index of the first SelectFormat argument style part. 217 * @return the sub-message start part index. 224 MessagePattern.Part part=pattern.getPart(partIndex++); local 225 MessagePattern.Part.Type type=part.getType(); 226 if(type==MessagePattern.Part.Type.ARG_LIMIT) { 229 assert type==MessagePattern.Part.Type.ARG_SELECTOR; 230 // part is an ARG_SELECTOR followed by a message 231 if(pattern.partSubstringMatches(part, keyword)) 270 MessagePattern.Part part = msgPattern.getPart(++i); local [all...] |
PluralFormat.java | 424 * @param partIndex the index of the first PluralFormat argument style part. 429 * @return the sub-message start part index. 436 MessagePattern.Part part=pattern.getPart(partIndex); local 437 if(part.getType().hasNumericValue()) { 438 offset=pattern.getNumericValue(part); 466 part=pattern.getPart(partIndex++); 467 MessagePattern.Part.Type type=part.getType(); 468 if(type==MessagePattern.Part.Type.ARG_LIMIT) 616 MessagePattern.Part part = msgPattern.getPart(++partIndex); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
MessagePattern.java | 22 //Note: Minimize ICU dependencies, only use a very small part of the ICU core. 45 * For every _START "part", {@link #getLimitPartIndex(int)} efficiently returns 46 * the index of the corresponding _LIMIT "part". 66 * between parts of a message, from one part's getLimit() to the next part's getIndex(). 67 * <li><code>ARG_START.CHOICE</code> stands for an ARG_START Part with ArgType CHOICE. 70 * <li>In the pluralStyle, the first, optional numeric Part has the "offset:" value. 71 * The optional numeric Part between each (ARG_SELECTOR, message) pair 74 * <li>The REPLACE_NUMBER Part can occur only in an immediate sub-message of the pluralStyle. 406 Part part local 522 Part part=parts.get(pluralStart); local [all...] |
SelectFormat.java | 219 * @param partIndex the index of the first SelectFormat argument style part. 221 * @return the sub-message start part index. 228 MessagePattern.Part part=pattern.getPart(partIndex++); local 229 MessagePattern.Part.Type type=part.getType(); 230 if(type==MessagePattern.Part.Type.ARG_LIMIT) { 233 assert type==MessagePattern.Part.Type.ARG_SELECTOR; 234 // part is an ARG_SELECTOR followed by a message 235 if(pattern.partSubstringMatches(part, keyword)) 275 MessagePattern.Part part = msgPattern.getPart(++i); local [all...] |
PluralFormat.java | 439 * @param partIndex the index of the first PluralFormat argument style part. 444 * @return the sub-message start part index. 451 MessagePattern.Part part=pattern.getPart(partIndex); local 452 if(part.getType().hasNumericValue()) { 453 offset=pattern.getNumericValue(part); 481 part=pattern.getPart(partIndex++); 482 MessagePattern.Part.Type type=part.getType(); 483 if(type==MessagePattern.Part.Type.ARG_LIMIT) 633 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 | 33 MessagePattern.Part prevPart=null; 37 MessagePattern.Part part=msg.getPart(i); local 38 assert prevPart==null || prevPart.getLimit()<=part.getIndex(); 39 String partString=part.toString(); 40 MessagePattern.Part.Type type=part.getType(); 41 if(type==MessagePattern.Part.Type.MSG_START) { 42 indent=manySpaces.substring(0, part.getValue()*2); 44 if(part.getLength()>0) [all...] |
/external/icu/icu4c/source/common/unicode/ |
messagepattern.h | 97 * MessagePattern::Part type constants. 107 * There is always a later MSG_LIMIT part. 123 * would be indicated with such a part. 137 * When formatting, replace this part's substring with the 148 * This part is followed by either an ARG_NUMBER or ARG_NAME, 150 * and finally an ARG_LIMIT part. 193 * The part value is the integer value. 200 * The part value is an index into an internal array of numeric values; 213 * Returned by Part.getArgType() for ARG_START and ARG_LIMIT parts. 226 * 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...] |
/prebuilts/go/darwin-x86/src/mime/multipart/ |
example_test.go | 46 fmt.Printf("Part %q: %q\n", p.Header.Get("Foo"), slurp) 51 // Part "one": "A section" 52 // Part "two": "And another"
|
/prebuilts/go/linux-x86/src/mime/multipart/ |
example_test.go | 46 fmt.Printf("Part %q: %q\n", p.Header.Get("Foo"), slurp) 51 // Part "one": "A section" 52 // Part "two": "And another"
|
/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
|