/external/chromium_org/chrome/common/media_galleries/ |
iphoto_library.h | 32 typedef std::map<std::string /*album name*/, Album> Albums; 36 Library(const Albums& albums, const std::set<Photo>& all_photos); 39 Albums albums; member in struct:iphoto::parser::Library
|
itunes_library.h | 29 typedef std::map<std::string /*album name*/, Album> Albums; 30 typedef std::map<std::string /*artist name*/, Albums> Library;
|
iphoto_library.cc | 28 Library::Library(const Albums& albums, 30 : albums(albums),
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_Artists_AlbumsTest.java | 26 import android.provider.MediaStore.Audio.Artists.Albums; 43 Uri contentUri = MediaStore.Audio.Artists.Albums.getContentUri( 48 contentUri = MediaStore.Audio.Artists.Albums.getContentUri( 55 assertNull(mContentResolver.query(MediaStore.Audio.Artists.Albums.getContentUri(volume, 1), 77 Uri artistsAlbumsUri = MediaStore.Audio.Artists.Albums.getContentUri(isInternal ? 80 // do not support insert operation of the albums 94 assertEquals(Audio1.ALBUM, c.getString(c.getColumnIndex(Albums.ALBUM))); 95 assertNull(c.getString(c.getColumnIndex(Albums.ALBUM_ART))); 96 assertNotNull(c.getString(c.getColumnIndex(Albums.ALBUM_KEY))); 97 assertEquals(Audio1.ARTIST, c.getString(c.getColumnIndex(Albums.ARTIST))) [all...] |
MediaStore_Audio_AlbumsTest.java | 28 import android.provider.MediaStore.Audio.Albums; 50 Albums.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME), null, null, 54 Albums.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME), null, null, 60 assertNull(mContentResolver.query(Albums.getContentUri(volume), null, null, null, null)); 72 // do not support direct insert operation of the albums 73 Uri audioAlbumsUri = isInternal? Albums.INTERNAL_CONTENT_URI : Albums.EXTERNAL_CONTENT_URI; 86 String selection = Albums.ALBUM +"=?"; 94 long id = c.getLong(c.getColumnIndex(Albums._ID)); 96 assertEquals(Audio1.ALBUM, c.getString(c.getColumnIndex(Albums.ALBUM))) [all...] |
/packages/apps/Gallery2/src/com/android/photos/data/ |
PhotoDatabase.java | 23 import com.android.photos.data.PhotoProvider.Albums; 48 // Photos.ALBUM_ID is a foreign key to Albums._ID 57 { Albums._ID, "INTEGER PRIMARY KEY AUTOINCREMENT" }, 58 // Albums.ACCOUNT_ID is a foreign key to Accounts._ID 59 { Albums.ACCOUNT_ID, "INTEGER NOT NULL" }, 60 // Albums.PARENT_ID is a foreign key to Albums._ID 61 { Albums.PARENT_ID, "INTEGER" }, 62 { Albums.ALBUM_TYPE, "TEXT" }, 63 { Albums.VISIBILITY, "INTEGER NOT NULL" } [all...] |
PhotoProvider.java | 41 * videos. Use Albums.CONTENT_URI to query all albums. Use Metadata.CONTENT_URI 132 public static interface Albums extends BaseColumns { 134 public static final String TABLE = "albums"; 160 // Privacy values for Albums.VISIBILITY 217 protected static final String SELECT_ALBUM_ID = "SELECT " + Albums._ID + " FROM " 218 + Albums.TABLE; 260 sUriMatcher.addURI(AUTHORITY, Albums.TABLE, MATCH_ALBUM); 261 // match against Albums._ID 262 sUriMatcher.addURI(AUTHORITY, Albums.TABLE + "/#", MATCH_ALBUM_ID) [all...] |
/external/chromium_org/chrome/utility/media_galleries/ |
itunes_library_parser_unittest.cc | 51 void CompareAlbums(const parser::Albums& a, const parser::Albums& b) { 54 parser::Albums::const_iterator a_it; 55 parser::Albums::const_iterator b_it;
|
iphoto_library_parser_unittest.cc | 18 " <key>List of Albums</key>" \ 125 void CompareAlbums(const parser::Albums& a, const parser::Albums& b) { 128 parser::Albums::const_iterator a_it; 129 parser::Albums::const_iterator b_it; 139 CompareAlbums(a.albums, b.albums); 170 expected_library_.albums[album].insert(id); 218 TEST_F(IPhotoLibraryParserTest, Albums) {
|
/packages/apps/Music/src/com/android/music/ |
AlbumBrowserActivity.java | 260 mAlbumCursor.getColumnIndex(MediaStore.Audio.Albums.ARTIST)); 280 mCurrentAlbumId = mAlbumCursor.getString(mAlbumCursor.getColumnIndexOrThrow(MediaStore.Audio.Albums._ID)); 281 mCurrentAlbumName = mAlbumCursor.getString(mAlbumCursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.ALBUM)); 283 mAlbumCursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.ARTIST)); 374 i.putExtra(MediaStore.EXTRA_MEDIA_FOCUS, MediaStore.Audio.Albums.ENTRY_CONTENT_TYPE); 453 MediaStore.Audio.Albums._ID, 454 MediaStore.Audio.Albums.ARTIST, 455 MediaStore.Audio.Albums.ALBUM, 456 MediaStore.Audio.Albums.ALBUM_ART 462 Uri uri = MediaStore.Audio.Artists.Albums.getContentUri("external" [all...] |
ArtistAlbumBrowserActivity.java | 272 String album = c.getString(c.getColumnIndex(MediaStore.Audio.Albums.ALBUM)); 363 mCurrentAlbumName = c.getString(c.getColumnIndexOrThrow(MediaStore.Audio.Albums.ALBUM)); 487 i.putExtra(MediaStore.EXTRA_MEDIA_FOCUS, MediaStore.Audio.Albums.ENTRY_CONTENT_TYPE); 701 String name = cursor.getString(cursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.ALBUM)); 709 int numsongs = cursor.getInt(cursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.NUMBER_OF_SONGS)); 710 int numartistsongs = cursor.getInt(cursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.NUMBER_OF_SONGS_FOR_ARTIST)); 739 MediaStore.Audio.Albums.ALBUM_ART)); 766 MediaStore.Audio.Albums._ID, 767 MediaStore.Audio.Albums.ALBUM, 768 MediaStore.Audio.Albums.NUMBER_OF_SONGS [all...] |
QueryBrowserActivity.java | 110 } else if (path.startsWith("content://media/external/audio/albums/")) { 119 // This is an artist, show the albums for that artist 138 } else if (focus.equals(MediaStore.Audio.Albums.ENTRY_CONTENT_TYPE)) { 326 MediaStore.Audio.Albums.ALBUM, 420 MediaStore.Audio.Albums.ALBUM)); 449 MediaStore.Audio.Albums.ALBUM));
|
MediaPlaybackActivity.java | 328 mime = MediaStore.Audio.Albums.ENTRY_CONTENT_TYPE; [all...] |
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
iphoto_data_provider.cc | 67 for (parser::Albums::const_iterator album_it = library.albums.begin(); 68 album_it != library.albums.end(); album_it++) { 90 for (parser::Albums::const_iterator album_it = library.albums.begin(); 91 album_it != library.albums.end(); album_it++) {
|
itunes_data_provider.cc | 291 for (parser::Albums::const_iterator album_it = artist_it->second.begin();
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaProvider.java | 187 MediaStore.Audio.Albums.ALBUM, 555 sArtistAlbumsMap.put(MediaStore.Audio.Albums._ID, "audio.album_id AS " + 556 MediaStore.Audio.Albums._ID); 557 sArtistAlbumsMap.put(MediaStore.Audio.Albums.ALBUM, "album"); 558 sArtistAlbumsMap.put(MediaStore.Audio.Albums.ALBUM_KEY, "album_key"); 559 sArtistAlbumsMap.put(MediaStore.Audio.Albums.FIRST_YEAR, "MIN(year) AS " + 560 MediaStore.Audio.Albums.FIRST_YEAR); 561 sArtistAlbumsMap.put(MediaStore.Audio.Albums.LAST_YEAR, "MAX(year) AS " + 562 MediaStore.Audio.Albums.LAST_YEAR); 566 sArtistAlbumsMap.put(MediaStore.Audio.Albums.NUMBER_OF_SONGS, "count(*) AS " [all...] |
MediaDocumentsProvider.java | 40 import android.provider.MediaStore.Audio.Albums; 263 cursor = resolver.query(Albums.EXTERNAL_CONTENT_URI, 353 // include all albums under artist 354 cursor = resolver.query(Artists.Albums.getContentUri("external", ident.id), [all...] |
/external/chromium/chrome/browser/resources/picasaweb_uploader/js/ |
upload_page.js | 219 * Callback from picasa client after getting albums list. 220 * @param {Array.<picasa.Album>} albums Albums list. 222 getAlbumsCallback_: function(albums) { 224 this.client_.albums.push( 226 albums = this.client_.albums; 228 for (var album, i = 0; album = albums[i]; i++) { 231 this.albumSelect_.selectedIndex = albums.length - 1; 232 albums[albums.length - 1].title = '' [all...] |