Home
last modified time | relevance | path

Searched refs:playlist (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DPlayer.java204 Playlist playlist = new Playlist(); in saveState() local
205 playlist.songs = new Song[mQueue.size()]; in saveState()
217 playlist.songs[idx] = song; in saveState()
220 playlist.currentQueueId = mQueue.get(mCurrentQueueIdx).getQueueId(); in saveState()
221 playlist.currentSongPosition = mMediaPlayer.getCurrentPosition(); in saveState()
222 playlist.name = CURRENT_PLAYLIST_KEY; in saveState()
228 String serialized = Base64.getEncoder().encodeToString(MessageNano.toByteArray(playlist)); in saveState()
234 private boolean maybeRebuildQueue(Playlist playlist) { in maybeRebuildQueue() argument
240 for (Song song : playlist.songs) { in maybeRebuildQueue()
246 if (playlist.currentQueueId == song.queueId) { in maybeRebuildQueue()
[all …]
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DAudioStore.java201 Playlist playlist = new Playlist(id); in load() local
202 playlists.add(playlist); in load()
388 boolean loadData(@NonNull Playlist playlist) { in loadData() argument
394 String[] selectionArgs = { Long.toString(playlist.getId()) }; in loadData()
404 updated |= playlist.setName(name); in loadData()
412 updated |= loadAudios(playlist); // TODO(b/123707561) Load separate from playlist in loadData()
477 boolean loadAudios(@NonNull Playlist playlist) { in loadAudios() argument
482 "external", playlist.getId()); in loadAudios()
493 updated |= playlist.addAudio(audio); in loadAudios()
533 private void addToPlaylist(@NonNull Playlist playlist, @NonNull Audio audio) { in addToPlaylist() argument
[all …]
DMediaDb.java315 public void loadData(@NonNull Playlist playlist) { in loadData() argument
317 if (playlist.isLoaded()) return; in loadData()
320 boolean updated = mAudioStore.loadData(playlist); in loadData()
322 playlist.setLoaded(); in loadData()
324 Executors.uiThreadExecutor().execute(() -> updatePlaylist(playlist)); in loadData()
448 for (Playlist playlist : mPlaylists) { in getPlaylistById()
449 if (playlist.getId() == id) { in getPlaylistById()
450 return playlist; in getPlaylistById()
684 private void updatePlaylist(@NonNull Playlist playlist) { in updatePlaylist() argument
685 int index = mPlaylists.indexOf(playlist); in updatePlaylist()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DPlaylistDetailsActivity.java55 public static void start(@NonNull Context context, @NonNull Playlist playlist) { in start() argument
58 intent.putExtra("id", playlist.getId()); // TODO Add constant key in start()
115 Playlist playlist = mMediaDb.getPlaylists().get(i); in onItemsUpdated() local
116 if (playlist.equals(mPlaylist)) { in onItemsUpdated()
212 private PlaylistAdapter(@NonNull MediaDb mediaDb, @NonNull Playlist playlist) { in PlaylistAdapter() argument
215 mPlaylist = playlist; in PlaylistAdapter()
253 private void bind(@NonNull Playlist playlist, @NonNull Audio audio) { in bind() argument
265 AudioPlayerActivity.start(view.getContext(), playlist, getAdapterPosition())); in bind() local
DAudioPlayerActivity.java91 public static void start(@NonNull Context context, @NonNull Playlist playlist) { in start() argument
94 playlist.getId()); in start()
102 public static void start(@NonNull Context context, @NonNull Playlist playlist, int position) { in start() argument
105 playlist.getId()).buildUpon() in start()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/
DPlaylistFragment.java116 Playlist playlist = mPlaylists.get(position - 1); in onBindViewHolder() local
117 mMediaDb.loadData(playlist); // TODO Where should we call this? In bind()? in onBindViewHolder()
118 ((PlaylistViewHolder) holder).bind(playlist); in onBindViewHolder()
134 return position == 0 ? R.layout.header : R.layout.playlist; in getItemViewType()
158 private void bind(@NonNull Playlist playlist) { in bind() argument
169 List<Audio> audios = playlist.getAudios(); in bind()
213 titleView.setText(playlist.getName()); in bind()
218 PlaylistDetailsActivity.start(view.getContext(), playlist)); in bind() local
/packages/providers/MediaProvider/tests/res/raw/
Dtest_pls.pls1 [playlist]
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java4990 long playlist = Long.parseLong(segments.get(3)); in updateInternal() local
4992 … int rowsChanged = movePlaylistEntry(volumeName, helper, db, playlist, oldpos, newpos); in updateInternal()
4994 updatePlaylistDateModifiedToNow(db, playlist); in updateInternal()
5043 long playlist, int from, int to) { in movePlaylistEntry() argument
5053 "playlist_id=?", new String[] {"" + playlist}, null, null, "play_order", in movePlaylistEntry()
5060 "playlist_id=?", new String[] {"" + playlist}, null, null, "play_order", in movePlaylistEntry()
5066 " AND playlist_id=" + playlist); in movePlaylistEntry()
5074 " AND playlist_id=" + playlist); in movePlaylistEntry()
5080 " AND playlist_id=" + playlist); in movePlaylistEntry()
5084 " WHERE play_order=-1 AND playlist_id=" + playlist); in movePlaylistEntry()
[all …]
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dpt_PT_wordlist.combined.gz