Home
last modified time | relevance | path

Searched refs:mediaType (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DFilterUtils.java177 int mediaType; in newFilterPath() local
180 mediaType = MediaObject.MEDIA_TYPE_IMAGE; in newFilterPath()
183 mediaType = MediaObject.MEDIA_TYPE_VIDEO; in newFilterPath()
189 return "/filter/mediatype/" + mediaType + "/{" + base + "}"; in newFilterPath()
DGalleryActivity.java180 int mediaType = intent.getIntExtra(KEY_MEDIA_TYPES, 0); in startViewAction() local
181 if (mediaType != 0) { in startViewAction()
183 KEY_MEDIA_TYPES, String.valueOf(mediaType)) in startViewAction()
DPhotoPage.java1513 final String mediaType = getMediaTypeString(mCurrentPhoto); in onShareTargetSelected() local
1516 mediaType, in onShareTargetSelected()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java3042 …private long insertFile(DatabaseHelper helper, Uri uri, ContentValues initialValues, int mediaType, in insertFile() argument
3047 switch (mediaType) { in insertFile()
3172 if (mediaType == FileColumns.MEDIA_TYPE_PLAYLIST) { in insertFile()
3199 if (mediaType == FileColumns.MEDIA_TYPE_NONE && !MediaScanner.isNoMediaPath(path)) { in insertFile()
3202 mediaType = FileColumns.MEDIA_TYPE_AUDIO; in insertFile()
3204 mediaType = FileColumns.MEDIA_TYPE_VIDEO; in insertFile()
3206 mediaType = FileColumns.MEDIA_TYPE_IMAGE; in insertFile()
3208 mediaType = FileColumns.MEDIA_TYPE_PLAYLIST; in insertFile()
3212 values.put(FileColumns.MEDIA_TYPE, mediaType); in insertFile()
3215 if (mediaType == FileColumns.MEDIA_TYPE_PLAYLIST) { in insertFile()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DFilterSource.java66 int mediaType = mMatcher.getIntVar(0); in createMediaObject() local
69 return new FilterTypeSet(path, dataManager, sets[0], mediaType); in createMediaObject()
DFilterTypeSet.java33 int mediaType) { in FilterTypeSet() argument
37 mMediaType = mediaType; in FilterTypeSet()
DLocalSource.java132 int mediaType = getMediaType( in getAlbumPath() local
143 switch (mediaType) { in getAlbumPath()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumSlidingWindow.java52 public int mediaType; field in AlbumSlidingWindow.AlbumEntry
267 entry.mediaType = (item == null) in prepareSlotContent()
DAlbumSlotRenderer.java126 if (entry.mediaType == MediaObject.MEDIA_TYPE_VIDEO) { in renderSlot()