Lines Matching defs:Attachment

195             Attachment.initAttachment();
930 transient public ArrayList<Attachment> mAttachments = null;
1110 final Attachment a = mAttachments.get(i);
1199 for (Attachment att: mAttachments) {
1203 b = ContentProviderOperation.newInsert(Attachment.CONTENT_URI)
1318 // Content that is actually contained in the Attachment row
1330 public static final class Attachment extends EmailContent implements Parcelable {
1331 public static final String TABLE_NAME = "Attachment";
1437 public Attachment() {
1456 if (!Attachment.sUsingLegacyPrefix &&
1457 mContentUri.startsWith(Attachment.ATTACHMENT_PROVIDER_LEGACY_URI_PREFIX)) {
1465 LogUtils.e("Attachment", "Improper contentUri format: " + mContentUri);
1475 * Restore an Attachment from the database, given its unique id
1478 * @return the instantiated Attachment
1480 public static Attachment restoreAttachmentWithId(Context context, long id) {
1481 return EmailContent.restoreContentWithId(context, Attachment.class,
1482 Attachment.CONTENT_URI, Attachment.CONTENT_PROJECTION, id);
1488 public static Attachment[] restoreAttachmentsWithMessageId(Context context,
1495 Attachment[] attachments = new Attachment[count];
1498 Attachment attach = new Attachment();
1617 public Attachment(Parcel in) {
1618 mBaseUri = Attachment.CONTENT_URI;
1644 public static final Parcelable.Creator<EmailContent.Attachment> CREATOR
1645 = new Parcelable.Creator<EmailContent.Attachment>() {
1647 public EmailContent.Attachment createFromParcel(Parcel in) {
1648 return new EmailContent.Attachment(in);
1652 public EmailContent.Attachment[] newArray(int size) {
1653 return new EmailContent.Attachment[size];