/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...] |
tracks.c | 37 if (track->album != NULL) 38 printf(" Album: %s\n", track->album);
|
/external/chromium/chrome/browser/resources/picasaweb_uploader/js/ |
upload_page.js | 64 this.albumDiv_ = document.querySelector('.album-div'); 67 this.albumSelect_ = document.getElementById('album-select'); 70 this.albumTitleInput_ = document.getElementById('album-title-input'); 73 this.albumLocationInput_ = document.getElementById('album-location-input'); 77 document.getElementById('album-description-textarea'); 167 * Shows the "choose album" page. 170 this.title_.textContent = 'Choose an Album'; 220 * @param {Array.<picasa.Album>} albums Albums list. 223 // Adding fake album with id=null. 225 new picasa.Album(null, 'Create New Album', '', '', '')) [all...] |
picasa_client.js | 63 * Album constructor. 65 * Album object stores information about picasa album. 67 picasa.Album = function(id, title, location, description, link) { 105 * @type {Array.<picasa.Album>} 142 * @type {Array.<picasa.Album>} 290 * @param {Function(Array.<picasa.Album>)} callback Callback. 310 * Returns album object created from entry. 311 * @param {*} entry The feed entry corresponding to album. 312 * @return {picasa.Album} The album object [all...] |
/external/markdown/markdown/extensions/ |
imagelinks.py | 90 new_block += ALBUM_LINK % (album_urls[0], "complete album") 94 "album %d" % (i + 1) ) 105 album, photo = line.split("/") 106 photo_url = url.get_photo(album, photo, 111 if not album in albums : 112 albums.append(album)
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
ClusterAlbumSet.java | 113 ClusterAlbum album = (ClusterAlbum) dataManager.peekMediaObject( local 115 if (album == null) { 116 album = new ClusterAlbum(childPath, dataManager, this); 118 album.setMediaItems(clustering.getCluster(i)); 119 album.setName(childName); 120 album.setCoverMediaItem(clustering.getClusterCover(i)); 121 mAlbums.add(album);
|
LocalAlbumSet.java | 69 // "album" to be the collection of images/videos which have the same value 74 // sort them by the timestamp of the latest image/video in each of the album. 213 MediaSet album = getLocalAlbum(dataManager, local 215 albums.add(album); 283 for (MediaSet album : mAlbums) { 284 album.reload();
|
/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/Gallery2/src/com/android/gallery3d/ui/ |
AlbumSetSlidingWindow.java | 70 public MediaSet album; field in class:AlbumSetSlidingWindow.AlbumSetEntry 243 MediaSet album = mSource.getMediaSet(slotIndex); local 247 entry.album = album; 248 entry.setDataVersion = getDataVersion(album); 249 entry.cacheFlag = identifyCacheFlag(album); 250 entry.cacheStatus = identifyCacheStatus(album); 251 entry.setPath = (album == null) ? null : album.getPath(); 253 String title = (album == null) ? "" : Utils.ensureNotNull(album.getName()) [all...] |
/packages/apps/Mms/src/com/android/mms/model/ |
AudioModel.java | 81 String album = c.getString(c.getColumnIndexOrThrow("album")); local 82 if (!TextUtils.isEmpty(album)) { 83 mExtras.put("album", album);
|
/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...] |
/packages/apps/Music/src/com/android/music/ |
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...] |
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; 286 intent.setDataAndType(Uri.EMPTY, "vnd.android.cursor.dir/album"); 289 } else if ("album".equals(selectedType)) { 293 intent.putExtra("album", Long.valueOf(id).toString()); 321 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...] |
MediaPlaybackService.java | 130 MediaStore.Audio.Media.ALBUM, 774 * "album" - String: the name of the album 1177 String album = getAlbumName(); local [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...] |
/frameworks/base/media/java/android/media/ |
MediaScanner.java | 596 } else if (name.equalsIgnoreCase("album") || name.startsWith("album;")) { 764 map.put(Video.Media.ALBUM, (mAlbum != null && mAlbum.length() > 0 777 map.put(Audio.Media.ALBUM, (mAlbum != null && mAlbum.length() > 0) ? 797 // use album artist if artist is missing 808 String album = values.getAsString(Audio.Media.ALBUM); 809 if (MediaStore.UNKNOWN_STRING.equals(album)) { 810 album = values.getAsString(MediaStore.MediaColumns.DATA); 812 int lastSlash = album.lastIndexOf('/') [all...] |
/external/libmtp/src/ |
libmtp.c | 364 register_filetype("Abstract Album file", LIBMTP_FILETYPE_ALBUM, PTP_OFC_MTP_AbstractAudioAlbum); 549 register_property("Album Name", LIBMTP_PROPERTY_AlbumName, PTP_OPC_AlbumName); 550 register_property("Album Artist", LIBMTP_PROPERTY_AlbumArtist, PTP_OPC_AlbumArtist); [all...] |
libmtp.h | 596 /** Default Album folder */ 632 char *album; /**< Album name for track */ member in struct:LIBMTP_track_struct 664 * MTP Album structure 669 uint32_t storage_id; /**< ID of storage holding this album */ 670 char *name; /**< Name of album */ 671 char *artist; /**< Name of album artist */ 673 char *genre; /**< Genre of album */ 674 uint32_t *tracks; /**< The tracks in this album */ 675 uint32_t no_tracks; /**< The number of tracks in this album */ [all...] |
libmtp.h.in | 595 /** Default Album folder */ 631 char *album; /**< Album name for track */ 663 * MTP Album structure 668 uint32_t storage_id; /**< ID of storage holding this album */ 669 char *name; /**< Name of album */ 670 char *artist; /**< Name of album artist */ 672 char *genre; /**< Genre of album */ 673 uint32_t *tracks; /**< The tracks in this album */ 674 uint32_t no_tracks; /**< The number of tracks in this album */ [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
AlbumPage.java | 192 // | Camera |---------->| Fullscreen |--->| Album |--->| AlbumSet | 347 // Enable auto-select-all for mtp album 516 inflater.inflate(R.menu.album, menu); 593 // data could be null, if there is no images in the album 657 // show error toast only if the album is empty
|