/external/libmtp/examples/ |
albums.c | 26 static void dump_albuminfo(LIBMTP_album_t *album) 28 printf("Album ID: %d\n",album->album_id); 29 printf(" Parent ID: %d\n",album->parent_id); 30 printf(" Name: %s\n",album->name); 31 printf(" Artist: %s\n", album->artist); 32 printf(" Composer: %s\n", album->composer); 33 printf(" Genre: %s\n", album->genre); 34 printf(" Tracks: %d\n\n",album->no_tracks); 73 LIBMTP_album_t *album_list, *album, *tmp local [all...] |
albumart.c | 3 * Example program to send album art. 88 printf("You need to supply an album name.\n"); 132 LIBMTP_album_t *album = LIBMTP_new_album_t(); local 133 album->name = albumname; 134 album->no_tracks = idcount; 135 album->tracks = ids; 136 album->parent_id = 0; 137 album->storage_id = 0; 138 int ret = LIBMTP_Create_New_Album(device,album); 140 ret = LIBMTP_Send_Representative_Sample(device,album->album_id, albumart) [all...] |
sendtr.c | 58 fprintf(stderr, "-t <title> -a <artist> -A <Album artist> -w <writer or composer>\n"); 59 fprintf(stderr, " -l <album> -c <codec> -g <genre> -n <track number> -y <year>\n"); 94 LIBMTP_album_t *album; local 98 /* Look for the album */ 99 album = LIBMTP_Get_Album_List(device); 100 while(album != NULL) { 101 if ((album->name != NULL && 102 album->artist != NULL && 103 !strcmp(album->name, albuminfo->name) && 104 !strcmp(album->artist, albuminfo->artist)) | 167 char artist[80], albumartist[80], title[80], genre[80], album[80], composer[80]; local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocalAlbumSet.java | 128 MediaSet album = getLocalAlbum(dataManager, local 130 albums.add(album); 175 for (MediaSet album : mAlbums) { 176 album.reload();
|
ClusterAlbumSet.java | 116 ClusterAlbum album; local 118 album = (ClusterAlbum) dataManager.peekMediaObject(childPath); 119 if (album == null) { 120 album = new ClusterAlbum(childPath, dataManager, this); 123 album.setMediaItems(clustering.getCluster(i)); 124 album.setName(childName); 125 album.setCoverMediaItem(clustering.getClusterCover(i)); 126 mAlbums.add(album);
|
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
MusicRetriever.java | 81 int albumColumn = cur.getColumnIndex(MediaStore.Audio.Media.ALBUM); 116 String album; field in class:MusicRetriever.Item 119 public Item(long id, String artist, String title, String album, long duration) { 123 this.album = album; 140 return album;
|
/packages/apps/Mms/src/com/android/mms/model/ |
AudioModel.java | 80 String album = c.getString(c.getColumnIndexOrThrow("album")); local 81 if (!TextUtils.isEmpty(album)) { 82 mExtras.put("album", album);
|
/packages/apps/Music/src/com/android/music/ |
QueryBrowserActivity.java | 111 // This is an album, show the songs on it 114 i.putExtra("album", uri.getLastPathSegment()); 121 i.setDataAndType(Uri.EMPTY, "vnd.android.cursor.dir/album"); 133 String album = intent.getStringExtra(MediaStore.EXTRA_MEDIA_ALBUM); local 139 if (album != null) { 140 mFilterString = album; 288 intent.setDataAndType(Uri.EMPTY, "vnd.android.cursor.dir/album"); 291 } else if ("album".equals(selectedType)) { 295 intent.putExtra("album", Long.valueOf(id).toString()); 323 BaseColumns._ID, // this will be the artist, album or track I [all...] |
ArtistAlbumBrowserActivity.java | 270 intent.putExtra("album", mCurrentAlbumId); 272 String album = c.getString(c.getColumnIndex(MediaStore.Audio.Albums.ALBUM)); local 273 if (album == null || album.equals(MediaStore.UNKNOWN_STRING)) { 274 // unknown album, so we should include the artist ID to limit the songs to songs only by that artist 335 Log.d("Artist/Album", "no group"); 356 Log.d("Artist/Album", "no child"); 363 mCurrentAlbumName = c.getString(c.getColumnIndexOrThrow(MediaStore.Audio.Albums.ALBUM)); 701 String name = cursor.getString(cursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.ALBUM)); [all...] |
MediaPlaybackActivity.java | 102 mAlbumArtWorker = new Worker("album art worker"); 111 mAlbum = (ImageView) findViewById(R.id.album); 269 String album; local 275 album = mService.getAlbumName(); 285 if (MediaStore.UNKNOWN_STRING.equals(album) && 315 (album != null) && !MediaStore.UNKNOWN_STRING.equals(album); 322 title = album; 324 query = artist + " " + album; 326 query = album; [all...] |
TrackBrowserActivity.java | 124 mAlbumId = icicle.getString("album"); 130 mAlbumId = intent.getStringExtra("album"); 131 // If we have an album, show everything on the album, not just stuff 143 MediaStore.Audio.Media.ALBUM, 152 MediaStore.Audio.Media.ALBUM, 182 // don't set the album art until after the view has been layed out 354 outcicle.putString("album", mAlbumId); 447 int idx = mTrackCursor.getColumnIndexOrThrow(MediaStore.Audio.Media.ALBUM); 449 // For compilation albums show only the album title 629 String album = c.getString(albumidx); local [all...] |
MediaPlaybackService.java | 130 MediaStore.Audio.Media.ALBUM, 774 * "album" - String: the name of the album 1195 String album = getAlbumName(); local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
AlbumSetSlidingWindow.java | 75 public MediaSet album; field in class:AlbumSetSlidingWindow.AlbumSetEntry 247 MediaSet album = mSource.getMediaSet(slotIndex); local 251 entry.album = album; 252 entry.setDataVersion = getDataVersion(album); 253 entry.cacheFlag = identifyCacheFlag(album); 254 entry.cacheStatus = identifyCacheStatus(album); 255 entry.setPath = (album == null) ? null : album.getPath(); 257 String title = (album == null) ? "" : Utils.ensureNotNull(album.getName()) [all...] |
/frameworks/base/core/java/com/google/android/util/ |
AbstractMessageParser.java | 952 /** Represents a link to a Picasa photo or album. */ 954 /** Pattern for an album or photo URL. */ 961 private String album; field in class:AbstractMessageParser.Photo 964 public Photo(String user, String album, String photo, String text) { 967 this.album = album; 972 public String getAlbum() { return album; } 978 /** Returns a Photo object if the given url is to a photo or album. */ 1003 "?category=album&alt=rss"; 1006 /** Returns the URL for an album. * [all...] |
/external/libmtp/src/ |
libmtp.h | 597 /** Default Album folder */ 633 char *album; /**< Album name for track */ member in struct:LIBMTP_track_struct 665 * MTP Album structure 670 uint32_t storage_id; /**< ID of storage holding this album */ 671 char *name; /**< Name of album */ 672 char *artist; /**< Name of album artist */ 674 char *genre; /**< Genre of album */ 675 uint32_t *tracks; /**< The tracks in this album */ 676 uint32_t no_tracks; /**< The number of tracks in this album */ [all...] |