Searched refs:rendition (Results 1 – 6 of 6) sorted by relevance
478 public Uri getUriForRendition(int rendition) { in getUriForRendition() argument480 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() argument674 int shift = attachmentIndex * 2 + rendition; in updatePreviewStates()694 public static boolean getPreviewState(int previewStates, int attachmentIndex, int rendition) { in getPreviewState() argument699 if (rendition == AttachmentRendition.SIMPLE) { in getPreviewState()702 } else if (rendition == AttachmentRendition.BEST) { in getPreviewState()
2195 public static int parseRendition(String rendition) { in parseRendition() argument2196 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() argument2206 if (rendition == BEST) { in toString()2208 } else if (rendition == SIMPLE) { in toString()2212 throw new IllegalArgumentException(String.format("Unknown rendition %d", rendition)); in toString()
118 int destination, int rendition, int additionalPriority, boolean delayDownload) { in startDownloadingAttachment() argument120 mAttachment, destination, rendition, additionalPriority, delayDownload); in startDownloadingAttachment()124 Attachment attachment, int destination, int rendition, int additionalPriority, in startDownloadingAttachment() argument129 params.put(AttachmentContentValueKeys.RENDITION, rendition); in startDownloadingAttachment()
1dictionary=main:en_us,locale=en_US,description=English (US),date ...
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en,locale=en,description=English,date=1402373178, ...