Searched refs:mediaType (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | FilterUtils.java | 177 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()
|
D | GalleryActivity.java | 180 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()
|
D | PhotoPage.java | 1513 final String mediaType = getMediaTypeString(mCurrentPhoto); in onShareTargetSelected() local 1516 mediaType, in onShareTargetSelected()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 3042 …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/ |
D | FilterSource.java | 66 int mediaType = mMatcher.getIntVar(0); in createMediaObject() local 69 return new FilterTypeSet(path, dataManager, sets[0], mediaType); in createMediaObject()
|
D | FilterTypeSet.java | 33 int mediaType) { in FilterTypeSet() argument 37 mMediaType = mediaType; in FilterTypeSet()
|
D | LocalSource.java | 132 int mediaType = getMediaType( in getAlbumPath() local 143 switch (mediaType) { in getAlbumPath()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | AlbumSlidingWindow.java | 52 public int mediaType; field in AlbumSlidingWindow.AlbumEntry 267 entry.mediaType = (item == null) in prepareSlotContent()
|
D | AlbumSlotRenderer.java | 126 if (entry.mediaType == MediaObject.MEDIA_TYPE_VIDEO) { in renderSlot()
|