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

1 2

  /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 124 public static final Uri EMPTY = new HierarchicalUri(null, Part.NULL,
125 PathPart.EMPTY, Part.NULL, Part.NULL);
134 * Absolute URIs are hierarchical if the scheme-specific part starts with
141 * scheme-specific part of an opaque URI cannot start with a '/'.
173 * Gets the scheme-specific part of this URI, i.e. everything between the
179 * @return the decoded scheme-specific-part
184 * Gets the scheme-specific part of this URI, i.e. everything between the
191 * @return the decoded scheme-specific-part
196 * 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/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*) {}
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
MimeUtility.java 25 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 69 struct Part {
78 Vector<Part> parts;
  /packages/providers/TelephonyProvider/src/com/android/providers/telephony/
MmsSmsDatabaseHelper.java 40 import android.provider.Telephony.Mms.Part;
152 // When a part is inserted, if it is not text/plain or application/smil
157 " AFTER INSERT ON part " +
161 " (SELECT pdu.thread_id FROM part JOIN pdu ON pdu._id=part.mid " +
162 " WHERE part._id=new._id LIMIT 1); " +
165 // When the 'mid' column in the part table is updated, we need to run the trigger to update
166 // the threads table's has_attachment column, if the part is an attachment.
169 " AFTER UPDATE of " + Part.MSG_ID + " ON part "
    [all...]
MmsProvider.java 36 import android.provider.Telephony.Mms.Part;
55 static final String TABLE_PART = "part";
111 qb.appendWhere(Part.MSG_ID + "=" + uri.getPathSegments().get(0));
115 qb.appendWhere(Part._ID + "=" + uri.getPathSegments().get(1));
195 finalSortOrder = Part.SEQ;
236 TABLE_PART, new String[] { Part.CONTENT_TYPE },
237 Part._ID + " = ?", new String[] { uri.getLastPathSegment() },
377 finalValues.put(Part.MSG_ID, uri.getPathSegments().get(0));
387 // Generate the '_data' field of the part with default
392 finalValues.put(Part._DATA, path)
    [all...]
  /frameworks/base/core/java/com/google/android/mms/pdu/
PduPersister.java 39 import android.provider.Telephony.Mms.Part;
73 "content://mms/" + Long.MAX_VALUE + "/part";
156 Part._ID,
157 Part.CHARSET,
158 Part.CONTENT_DISPOSITION,
159 Part.CONTENT_ID,
160 Part.CONTENT_LOCATION,
161 Part.CONTENT_TYPE,
162 Part.FILENAME,
163 Part.NAME
362 PduPart part = new PduPart(); local
983 PduPart part = body.getPart(i); local
1142 PduPart part = body.getPart(i); local
    [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 34 import android.provider.Telephony.Mms.Part;
80 path = c.getString(c.getColumnIndexOrThrow(Part._DATA));
81 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(
  /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();
  /frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
BandwidthTestUtil.java 23 import com.android.internal.http.multipart.Part;
138 Part[] parts = {
  /frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/
MultipartTest.java 32 String filepartStr = "this is file part";
45 Part[] parts = new Part[3];

Completed in 827 milliseconds

1 2