/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
H A D | ActionMultiMap.java | 27 public void put(String mimeType, Action info) { argument 28 put(mimeType, info, false); 32 * Puts the (mimeType,Action) tuple into the multimap at the front if 35 public void put(String mimeType, Action info, boolean front) { argument 37 ArrayList<Action> collectList = get(mimeType); 42 put(mimeType, collectList);
|
H A D | ResolveCache.java | 123 protected Entry getEntry(String mimeType, Intent intent) { argument 124 Entry entry = mCache.get(mimeType); 128 if (SipAddress.CONTENT_ITEM_TYPE.equals(mimeType) 154 mCache.put(mimeType, entry); 199 public boolean hasResolve(String mimeType, Intent intent) { argument 200 return getEntry(mimeType, intent).bestResolve != null; 208 public Drawable getIcon(String mimeType, Intent intent) { argument 209 return getEntry(mimeType, intent).icon;
|
/packages/apps/Camera2/src/com/android/camera/session/ |
H A D | StackSaver.java | 37 * @param mimeType the mime type of the image 42 int imageOrientation, long captureTimeEpoch, String mimeType); 41 saveStackedImage(File inputImagePath, String title, int width, int height, int imageOrientation, long captureTimeEpoch, String mimeType) argument
|
H A D | StackSaverImpl.java | 63 int imageOrientation, long captureTimeEpoch, String mimeType) { 65 Storage.generateFilepath(mStackDirectory.getAbsolutePath(), title, mimeType); 74 mimeType); 62 saveStackedImage(File inputImagePath, String title, int width, int height, int imageOrientation, long captureTimeEpoch, String mimeType) argument
|
H A D | PlaceholderManager.java | 132 * @param mimeType the mime type of the image 136 ExifInterface exif, byte[] jpeg, int width, int height, String mimeType) throws IOException { 139 height, mimeType); 135 finishPlaceholder(Placeholder placeholder, Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, int height, String mimeType) argument
|
/packages/services/Telephony/src/com/android/phone/vvm/omtp/imap/ |
H A D | VoicemailPayload.java | 26 public VoicemailPayload(String mimeType, byte[] bytes) { argument 27 mMimeType = mimeType;
|
/packages/apps/Camera2/src/com/android/camera/data/ |
H A D | VideoItemData.java | 31 public VideoItemData(long contentId, String title, String mimeType, Date creationDate, argument 35 super(contentId, title, mimeType, creationDate, lastModifiedDate, filePath, uri, dimensions,
|
H A D | FilmstripItemUtils.java | 39 * @param mimeType The MIME type to check. 42 public static boolean isMimeTypeVideo(String mimeType) { argument 43 return mimeType != null && mimeType.startsWith("video/"); 49 * @param mimeType The MIME type to check. 52 public static boolean isMimeTypeImage(String mimeType) { argument 53 return mimeType != null && mimeType.startsWith("image/");
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | PendingAddItemInfo.java | 57 String mimeType; field in class:PendingAddWidgetInfo 65 mimeType = dataMimeType; 74 mimeType = copy.mimeType;
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/ |
H A D | DrmConvertSession.java | 45 * @param mimeType Mimetype of content that shall be converted. 48 public static DrmConvertSession open(Context context, String mimeType) { argument 51 if (context != null && mimeType != null && !mimeType.equals("")) { 55 convertSessionId = drmClient.openConvertSession(mimeType); 57 Log.w(TAG, "Conversion of Mimetype: " + mimeType
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | MmsFileProvider.java | 108 public void writeDataToPipe(ParcelFileDescriptor output, Uri uri, String mimeType, argument
|
/packages/apps/Camera2/src/com/android/camera/app/ |
H A D | MediaSaver.java | 70 * with <code>image/jpeg</code> as <code>mimeType</code>. 106 * @param mimeType The mimeType of the image. 109 int orientation, ExifInterface exif, OnMediaSavedListener l, String mimeType); 108 addImage(byte[] data, String title, long date, Location loc, int width, int height, int orientation, ExifInterface exif, OnMediaSavedListener l, String mimeType) argument
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
H A D | CertInstallerMain.java | 123 private void startInstallActivity(String mimeType, Uri uri) { argument 124 if (mimeType == null) { 125 mimeType = getContentResolver().getType(uri); 128 String target = MIME_MAPPINGS.get(mimeType); 130 throw new IllegalArgumentException("Unknown MIME type: " + mimeType); 134 startWifiInstallActivity(mimeType, uri); 160 private void startWifiInstallActivity(String mimeType, Uri uri) { argument 167 intent.putExtra(WIFI_CONFIG, mimeType);
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
H A D | MimeRecord.java | 42 private MimeRecord(String mimeType, byte[] content) { argument 43 mType = Preconditions.checkNotNull(mimeType);
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
H A D | Part.java | 45 public boolean isMimeType(String mimeType) throws MessagingException; argument
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | MimeType.java | 125 * @param mimeType original mime type of the attachment. 128 public static String inferMimeType(String name, String mimeType) { argument 133 return mimeType; 135 final boolean isTextPlain = TEXT_PLAIN.equalsIgnoreCase(mimeType); 137 isTextPlain || GENERIC_MIMETYPE.equalsIgnoreCase(mimeType); 140 if (isGenericType || TextUtils.isEmpty(mimeType)) { 150 return !TextUtils.isEmpty(mimeType) ? mimeType : GENERIC_MIMETYPE; 158 * @param mimeType the mime type to check 161 public static boolean isEmlMimeType(String mimeType) { argument [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | DownloadScanner.java | 51 public final String mimeType; field in class:DownloadScanner.ScanRequest 54 public ScanRequest(long id, String path, String mimeType) { argument 57 this.mimeType = mimeType; 62 conn.scanFile(path, mimeType);
|
/packages/services/Telephony/src/com/android/phone/common/mail/ |
H A D | Part.java | 44 public boolean isMimeType(String mimeType) throws MessagingException; argument
|
/packages/apps/Camera2/src/com/android/camera/ |
H A D | MediaSaverImpl.java | 78 String mimeType) { 85 width, height, orientation, mimeType, exif, mContentResolver, l); 144 private final String mimeType; field in class:MediaSaverImpl.ImageSaveTask 150 int width, int height, int orientation, String mimeType, 160 this.mimeType = mimeType; 184 mimeType); 76 addImage(final byte[] data, String title, long date, Location loc, int width, int height, int orientation, ExifInterface exif, OnMediaSavedListener l, String mimeType) argument 149 ImageSaveTask(byte[] data, String title, long date, Location loc, int width, int height, int orientation, String mimeType, ExifInterface exif, ContentResolver resolver, OnMediaSavedListener listener) argument
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/ |
H A D | DataItem.java | 60 final String mimeType = values.getAsString(Data.MIMETYPE); 61 if (GroupMembership.CONTENT_ITEM_TYPE.equals(mimeType)) { 63 } else if (StructuredName.CONTENT_ITEM_TYPE.equals(mimeType)) { 65 } else if (Phone.CONTENT_ITEM_TYPE.equals(mimeType)) { 67 } else if (Email.CONTENT_ITEM_TYPE.equals(mimeType)) { 69 } else if (StructuredPostal.CONTENT_ITEM_TYPE.equals(mimeType)) { 71 } else if (Im.CONTENT_ITEM_TYPE.equals(mimeType)) { 73 } else if (Organization.CONTENT_ITEM_TYPE.equals(mimeType)) { 75 } else if (Nickname.CONTENT_ITEM_TYPE.equals(mimeType)) { 77 } else if (Note.CONTENT_ITEM_TYPE.equals(mimeType)) { 123 setMimeType(String mimeType) argument [all...] |
H A D | DataKind.java | 44 public String mimeType; field in class:DataKind 91 public DataKind(String mimeType, int titleRes, int weight, boolean editable) { argument 92 this.mimeType = mimeType; 109 sb.append(" mimeType=").append(mimeType);
|
/packages/apps/Email/tests/src/com/android/emailcommon/mail/ |
H A D | MessageTestUtils.java | 72 * @param mimeType MIME type of body part 77 public static BodyPart bodyPart(String mimeType, String contentId) throws MessagingException { argument 78 final MimeBodyPart bp = new MimeBodyPart(null, mimeType); 88 * @param mimeType MIME type of text 93 public static BodyPart textPart(String mimeType, String text) throws MessagingException { argument 96 textPart.setHeader(MimeHeader.HEADER_CONTENT_TYPE, mimeType); 114 * @param mimeType MIME type of this Multipart 116 public MultipartBuilder(String mimeType) { argument 117 this(mimeType, "this_is_boundary"); 123 * @param mimeType MIM 126 MultipartBuilder(String mimeType, String boundary) argument [all...] |
/packages/apps/Gallery/src/com/android/camera/gallery/ |
H A D | Image.java | 47 String mimeType, long dateTaken, String title, 50 mimeType, dateTaken, title); 71 String mimeType = getMimeType(); 72 return !"image/jpeg".equals(mimeType) && !"image/png".equals(mimeType); 45 Image(BaseImageList container, ContentResolver cr, long id, int index, Uri uri, String dataPath, String mimeType, long dateTaken, String title, int rotation) argument
|
H A D | VideoObject.java | 47 String mimeType, long dateTaken, String title) { 49 mimeType, dateTaken, title); 45 VideoObject(BaseImageList container, ContentResolver cr, long id, int index, Uri uri, String dataPath, String mimeType, long dateTaken, String title) argument
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | BitmapUtils.java | 247 public static boolean isSupportedByRegionDecoder(String mimeType) { argument 248 if (mimeType == null) return false; 249 mimeType = mimeType.toLowerCase(); 250 return mimeType.startsWith("image/") && 251 (!mimeType.equals("image/gif") && !mimeType.endsWith("bmp")); 254 public static boolean isRotationSupported(String mimeType) { argument 255 if (mimeType == null) return false; 256 mimeType [all...] |