Home
last modified time | relevance | path

Searched refs:AttachmentState (Results 1 – 14 of 14) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DAttachment.java35 import com.android.mail.providers.UIProvider.AttachmentState;
269 state = AttachmentState.SAVED; in Attachment()
435 return state == AttachmentState.SAVED; in isPresentLocally()
447 return state == AttachmentState.DOWNLOADING || state == AttachmentState.PAUSED; in isDownloading()
451 return state == AttachmentState.SAVED && destination == AttachmentDestination.EXTERNAL; in isSavedToExternal()
459 return (state == AttachmentState.DOWNLOADING || state == AttachmentState.PAUSED) in shouldShowProgress()
464 return state == AttachmentState.FAILED; in isDownloadFailed()
468 return state == AttachmentState.FAILED || state == AttachmentState.SAVED; in isDownloadFinishedOrFailed()
539 if (state == AttachmentState.FAILED || state == AttachmentState.NOT_SAVED) { in setState()
DUIProvider.java1992 public static final class AttachmentState { class in UIProvider
2053 private AttachmentState() {} in AttachmentState() method in UIProvider.AttachmentState
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DAttachmentActionHandler.java39 import com.android.mail.providers.UIProvider.AttachmentState;
127 params.put(AttachmentColumns.STATE, AttachmentState.DOWNLOADING); in startDownloadingAttachment()
138 params.put(AttachmentColumns.STATE, AttachmentState.NOT_SAVED); in cancelAttachment()
145 params.put(AttachmentColumns.STATE, AttachmentState.REDOWNLOADING); in startRedownloadingAttachment()
199 if (mAttachment.state == AttachmentState.SAVED && mViewOnFinish) { in updateStatus()
DAttachmentProgressDialogFragment.java28 import com.android.mail.providers.UIProvider.AttachmentState;
96 params.put(AttachmentColumns.STATE, AttachmentState.NOT_SAVED); in cancelAttachment()
DMessageAttachmentBar.java47 import com.android.mail.providers.UIProvider.AttachmentState;
420 if (mAttachment.state == AttachmentState.FAILED) { in updateSubtitleText()
/packages/apps/Email/provider_src/com/android/email/service/
DPop3Service.java56 import com.android.mail.providers.UIProvider.AttachmentState;
83 if (att == null || att.mUiState != AttachmentState.DOWNLOADING) return;
395 AttachmentColumns.UI_STATE + "=" + AttachmentState.DOWNLOADING, in synchronizePop3Mailbox()
400 values.put(AttachmentColumns.UI_STATE, UIProvider.AttachmentState.SAVED); in synchronizePop3Mailbox()
422 values.put(AttachmentColumns.UI_STATE, AttachmentState.SAVED); in synchronizePop3Mailbox()
DAttachmentService.java49 import com.android.mail.providers.UIProvider.AttachmentState;
516 values.put(AttachmentColumns.UI_STATE, AttachmentState.DOWNLOADING); in getAttachmentUpdateValues()
817 cv.put(AttachmentColumns.UI_STATE, AttachmentState.FAILED); in markAttachmentAsFailed()
829 cv.put(AttachmentColumns.UI_STATE, AttachmentState.SAVED); in markAttachmentAsCompleted()
DEmailServiceStub.java147 && attachment.mUiState == UIProvider.AttachmentState.SAVED) { in loadAttachment()
239 cv.put(AttachmentColumns.UI_STATE, UIProvider.AttachmentState.FAILED); in loadAttachment()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DAttachmentUtilities.java457 cv.put(AttachmentColumns.UI_STATE, UIProvider.AttachmentState.SAVED); in saveAttachment()
460 cv.put(AttachmentColumns.UI_STATE, UIProvider.AttachmentState.FAILED); in saveAttachment()
/packages/apps/UnifiedEmail/src/com/android/mail/photo/
DMailPhotoViewController.java259 if (attachment.state == UIProvider.AttachmentState.PAUSED) { in onFragmentVisible()
/packages/apps/Email/tests/src/com/android/email/service/
DAttachmentServiceTests.java493 UIProvider.AttachmentState.DOWNLOADING); in testServiceCallbackAttachmentInProgressUpdate()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java4303 att.mUiState == UIProvider.AttachmentState.SAVED && in AttachmentsCursor()
5158 if (state == UIProvider.AttachmentState.NOT_SAVED in uiUpdateAttachment()
5159 || state == UIProvider.AttachmentState.REDOWNLOADING) { in uiUpdateAttachment()
5161 values.put(AttachmentColumns.UI_STATE, UIProvider.AttachmentState.NOT_SAVED); in uiUpdateAttachment()
5167 if (state == UIProvider.AttachmentState.DOWNLOADING in uiUpdateAttachment()
5168 || state == UIProvider.AttachmentState.REDOWNLOADING) { in uiUpdateAttachment()
5170 values.put(AttachmentColumns.UI_STATE, UIProvider.AttachmentState.DOWNLOADING); in uiUpdateAttachment()
5186 if (state == UIProvider.AttachmentState.SAVED) { in uiUpdateAttachment()
DDBHelper.java1147 AttachmentColumns.UI_STATE + "=" + UIProvider.AttachmentState.SAVED + in onUpgrade()
1860 "=" + UIProvider.AttachmentState.SAVED + " where " + in upgradeToEmail2()
/packages/apps/Email/provider_src/com/android/email/
DLegacyConversions.java360 cv.put(AttachmentColumns.UI_STATE, UIProvider.AttachmentState.SAVED); in saveAttachmentBody()