Home
last modified time | relevance | path

Searched refs:rendition (Results 1 – 4 of 4) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DAttachment.java478 public Uri getUriForRendition(int rendition) { in getUriForRendition() argument
480 switch (rendition) { in getUriForRendition()
488 throw new IllegalArgumentException("invalid rendition: " + rendition); in getUriForRendition()
671 public static int updatePreviewStates(int previewStates, int attachmentIndex, int rendition, in updatePreviewStates() argument
674 int shift = attachmentIndex * 2 + rendition; in updatePreviewStates()
694 public static boolean getPreviewState(int previewStates, int attachmentIndex, int rendition) { in getPreviewState() argument
699 if (rendition == AttachmentRendition.SIMPLE) { in getPreviewState()
702 } else if (rendition == AttachmentRendition.BEST) { in getPreviewState()
DUIProvider.java2195 public static int parseRendition(String rendition) { in parseRendition() argument
2196 if (TextUtils.equals(rendition, SIMPLE_STRING)) { in parseRendition()
2198 } else if (TextUtils.equals(rendition, BEST_STRING)) { in parseRendition()
2202 throw new IllegalArgumentException(String.format("Unknown rendition %s", rendition)); in parseRendition()
2205 public static String toString(int rendition) { in toString() argument
2206 if (rendition == BEST) { in toString()
2208 } else if (rendition == SIMPLE) { in toString()
2212 throw new IllegalArgumentException(String.format("Unknown rendition %d", rendition)); in toString()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DAttachmentActionHandler.java118 int destination, int rendition, int additionalPriority, boolean delayDownload) { in startDownloadingAttachment() argument
120 mAttachment, destination, rendition, additionalPriority, delayDownload); in startDownloadingAttachment()
124 Attachment attachment, int destination, int rendition, int additionalPriority, in startDownloadingAttachment() argument
129 params.put(AttachmentContentValueKeys.RENDITION, rendition); in startDownloadingAttachment()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz