/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 | 124 protected Entry getEntry(String mimeType, Intent intent) { argument 125 Entry entry = mCache.get(mimeType); 129 if (SipAddress.CONTENT_ITEM_TYPE.equals(mimeType) 155 mCache.put(mimeType, entry); 200 public boolean hasResolve(String mimeType, Intent intent) { argument 201 return getEntry(mimeType, intent).bestResolve != null; 209 public Drawable getIcon(String mimeType, Intent intent) { argument 210 return getEntry(mimeType, intent).icon;
|
/packages/apps/StorageManager/src/com/android/storagemanager/utils/ |
H A D | IconUtils.java | 30 * @param mimeType The MIME type of the file. 33 public static Drawable loadMimeIcon(Context context, String mimeType) { argument 34 return context.getContentResolver().getTypeDrawable(mimeType);
|
/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/apps/TV/usbtuner/src/com/google/android/exoplayer/ |
H A D | MediaFormatUtil.java | 33 String mimeType = format.getString(android.media.MediaFormat.KEY_MIME); 55 MediaFormat mediaFormat = new MediaFormat(null, mimeType, MediaFormat.NO_VALUE, 67 public static MediaFormat createAudioMediaFormat(String mimeType, long durationUs, argument 69 return MediaFormat.createAudioFormat(null, mimeType, MediaFormat.NO_VALUE, 76 public static MediaFormat createTextMediaFormat(String mimeType, long durationUs) { argument 77 return new MediaFormat(null, mimeType, 0, MediaFormat.NO_VALUE, durationUs,
|
/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/TV/usbtuner/src/com/android/usbtuner/exoplayer/ |
H A D | MpegTsVideoTrackRenderer.java | 39 protected DecoderInfo getDecoderInfo(MediaCodecSelector codecSelector, String mimeType, argument 44 mimeType, requiresSecureDecoder); 51 return super.getDecoderInfo(codecSelector, mimeType,requiresSecureDecoder); 56 mCodecIsSwPreferred = MIMETYPE_MPEG2.equalsIgnoreCase(holder.format.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 | 53 public final String mimeType; field in class:DownloadScanner.ScanRequest 56 public ScanRequest(long id, String path, String mimeType) { argument 59 this.mimeType = mimeType; 64 conn.scanFile(path, mimeType); 82 public static void requestScanBlocking(Context context, long id, String path, String mimeType) { argument 85 scanner.requestScan(new ScanRequest(id, 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/Contacts/src/com/android/contacts/editor/ |
H A D | EditorUiUtils.java | 71 // Maps DataKind.mimeType to editor view layouts. 181 * Return an icon that represents {@param mimeType}. 183 public static Drawable getMimeTypeDrawable(Context context, String mimeType) { argument 184 switch (mimeType) {
|
/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);
|