HomeSort by relevance Sort by last modified time
    Searched refs:Part (Results 1 - 25 of 59) sorted by null

1 2 3

  /packages/apps/Email/emailcommon/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 {
Part.java 22 public interface Part extends Fetchable {
  /external/chromium/webkit/glue/
webthemeengine_impl_linux.h 15 virtual WebKit::WebSize getSize(WebKit::WebThemeEngine::Part);
18 WebKit::WebThemeEngine::Part,
webthemeengine_impl_linux.cc 22 static gfx::NativeTheme::Part NativeThemePart(
23 WebKit::WebThemeEngine::Part part) {
24 switch (part) {
81 WebKit::WebThemeEngine::Part part,
85 switch (part) {
162 WebKit::WebSize WebThemeEngineImpl::getSize(WebKit::WebThemeEngine::Part part) {
163 return gfx::NativeTheme::instance()->GetPartSize(NativeThemePart(part));
    [all...]
  /frameworks/base/core/java/android/net/
Uri.java 127 public static final Uri EMPTY = new HierarchicalUri(null, Part.NULL,
128 PathPart.EMPTY, Part.NULL, Part.NULL);
137 * Absolute URIs are hierarchical if the scheme-specific part starts with
144 * scheme-specific part of an opaque URI cannot start with a '/'.
176 * Gets the scheme-specific part of this URI, i.e. everything between the
182 * @return the decoded scheme-specific-part
187 * Gets the scheme-specific part of this URI, i.e. everything between the
194 * @return the decoded scheme-specific-part
199 * Gets the decoded authority part of this URI. Fo
    [all...]
  /frameworks/base/core/java/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);
PartBase.java 35 * Provides setters and getters for the basic Part properties.
39 public abstract class PartBase extends Part {
41 /** Name of the file part. */
44 /** Content type of the file part. */
47 /** Content encoding of the file part. */
56 * @param name The name of the part
75 * @see Part#getName()
83 * Returns the content type of this part.
92 * Return the character encoding of this part.
101 * Returns the transfer encoding of this part
    [all...]
Part.java 2 * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/java/org/apache/commons/httpclient/methods/multipart/Part.java,v 1.16 2005/01/14 21:16:40 olegk Exp $
42 * Abstract class for one Part of a multipart post object.
52 public abstract class Part {
55 private static final Log LOG = LogFactory.getLog(Part.class);
138 * Return the name of this part.
144 * Returns the content type of this part.
150 * Return the character encoding of this part.
157 * Return the transfer encoding of this part.
163 * Gets the part boundary to be used.
164 * @return the part boundary as an array of bytes
    [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) */
314 final Part cid1bp = MessageTestUtils.bodyPart("image/gif", cid1);
316 final Part cid2bp = MessageTestUtils.bodyPart("image/gif", "<" + cid2 + ">");
324 // found cid1 part
325 final Part actual1_1 = MimeUtility.findPartByContentId(msg1, cid1);
326 assertEquals("could not found expected content-id part", cid1bp, actual1_1)
    [all...]
  /external/compiler-rt/lib/tsan/rtl/
tsan_sync.h 10 // This file is a part of ThreadSanitizer (TSan), a race detector.
89 struct Part {
93 Part();
98 Part tab_[kPartCount];
tsan_sync.cc 10 // This file is a part of ThreadSanitizer (TSan), a race detector.
32 SyncTab::Part::Part()
77 Part *p = &tab_[PartIdx(addr)];
144 Part *p = &tab_[PartIdx(addr)];
179 Part *p = &tab_[i];
  /external/webkit/Source/WebKit/chromium/public/linux/
WebThemeEngine.h 44 // The UI part which is being accessed.
45 enum Part {
68 // The current state of the associated Part.
79 // The bounds of the entire track, as opposed to the part being painted.
142 // Gets the size of the given theme part. For variable sized items
145 virtual WebSize getSize(Part) { return WebSize(); }
146 // Paint the given the given theme part.
148 WebCanvas*, Part, State, const WebRect&, const ExtraParams*) {}
  /external/icu4c/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
153 * This part is followed by either an ARG_NUMBER or ARG_NAME,
155 * 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/emailcommon/src/com/android/emailcommon/internet/
MimeUtility.java 30 import com.android.emailcommon.mail.Part;
200 for (String part : parts) {
201 if (part.trim().toLowerCase().startsWith(lowerCaseName)) {
202 String[] parameterParts = part.split("=", 2);
217 public static Part findFirstPartByMimeType(Part part, String mimeType)
219 if (part.getBody() instanceof Multipart) {
220 Multipart multipart = (Multipart)part.getBody();
223 Part ret = findFirstPartByMimeType(bodyPart, mimeType)
    [all...]
MimeMessage.java 25 import com.android.emailcommon.mail.Part;
520 expect(Part.class);
523 ((Part)stack.peek()).setBody(m);
537 expect(Part.class);
541 expect(Part.class);
544 ((Part)stack.peek()).addHeader(tokens[0], tokens[1].trim());
551 expect(Part.class);
555 expect(Part.class);
557 Part e = (Part)stack.peek()
    [all...]
  /frameworks/base/cmds/bootanimation/
BootAnimation.h 68 struct Part {
78 Vector<Part> parts;
  /packages/providers/TelephonyProvider/src/com/android/providers/telephony/
MmsSmsDatabaseHelper.java 42 import android.provider.Telephony.Mms.Part;
154 // When a part is inserted, if it is not text/plain or application/smil
159 " AFTER INSERT ON part " +
163 " (SELECT pdu.thread_id FROM part JOIN pdu ON pdu._id=part.mid " +
164 " WHERE part._id=new._id LIMIT 1); " +
167 // When the 'mid' column in the part table is updated, we need to run the trigger to update
168 // the threads table's has_attachment column, if the part is an attachment.
171 " AFTER UPDATE of " + Part.MSG_ID + " ON part "
    [all...]
  /packages/apps/Email/tests/src/com/android/email/
LegacyConversionsTests.java 35 import com.android.emailcommon.mail.Part;
173 * This tests that a null body part simply results in null text, and does not crash
181 ArrayList<Part> viewables = new ArrayList<Part>();
182 Part emptyTextPart = new MimeBodyPart(null, "text/plain");
185 // a "null" body part of type text/plain should result in a null mTextContent
218 ArrayList<Part> viewables = new ArrayList<Part>();
219 ArrayList<Part> attachments = new ArrayList<Part>();
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
ConversionUtilities.java 22 import com.android.emailcommon.mail.Part;
61 EmailContent.Message localMessage, ArrayList<Part> viewables)
72 for (Part viewable : viewables) {
114 // write the combined data to the body part
  /packages/apps/Mms/src/com/android/mms/model/
AudioModel.java 31 import android.provider.Telephony.Mms.Part;
72 path = c.getString(c.getColumnIndexOrThrow(Part._DATA));
73 mContentType = c.getString(c.getColumnIndexOrThrow(Part.CONTENT_TYPE));
  /external/chromium/chrome/browser/ui/views/location_bar/
suggested_text_view.cc 72 parts.push_back(ui::MultiAnimation::Part(
74 parts.push_back(ui::MultiAnimation::Part(
  /external/icu4c/common/
messagepattern.cpp 131 class MessagePatternPartsList : public MessagePatternList<MessagePattern::Part, 32> {
342 const Part &part=getPart(--i); local
343 if(part.getType()==UMSGPAT_PART_TYPE_INSERT_CHAR) {
344 modified.insert(part.index, (UChar)part.value);
351 MessagePattern::getNumericValue(const Part &part) const {
352 UMessagePatternPartType type=part.type;
354 return part.value
370 const Part &part=getPart(pluralStart); local
1187 const MessagePattern::Part &part=msgPattern.getPart(++i); local
    [all...]
  /frameworks/base/core/java/com/google/android/util/
SmileyParser.java 62 // should have only one part since we parse smiley only
63 Part part = getPart(0); local
64 ArrayList<Token> tokens = part.getTokens();

Completed in 449 milliseconds

1 2 3