Searched refs:currentTrack (Results 1 – 3 of 3) sorted by relevance
45 private var currentTrack = -1 variable82 playbackStateBuilder.setState(state, 0, 1.0f).setActiveQueueItemId(currentTrack.toLong()) in getAvailableActions()111 if (currentTrack == -1 || currentTrack == QUEUE_SIZE) currentTrack = QUEUE_START_INDEX in play()112 else currentTrack += 1 in play()114 mediaSession.setMetadata(metadataItems.get("" + currentTrack)) in play()135 if (currentTrack == QUEUE_SIZE || currentTrack == -1) currentTrack = QUEUE_START_INDEX in forward()136 else currentTrack += 1 in forward()138 mediaSession.setMetadata(metadataItems.get("" + currentTrack)) in forward()143 if (currentTrack == QUEUE_START_INDEX || currentTrack == -1) currentTrack = QUEUE_SIZE in backward()144 else currentTrack -= 1 in backward()[all …]
436 Metadata currentTrack = null; in getNowPlayingList() local442 currentTrack = metadata; in getNowPlayingList()452 if (currentTrack != null) { in getNowPlayingList()453 imageHandle = mAvrcpCoverArtService.storeImage(currentTrack.image); in getNowPlayingList()455 currentTrack.image.setImageHandle(imageHandle); in getNowPlayingList()
354 AvrcpItem currentTrack = getCurrentTrack(); in removeUnusedArtwork()355 String currentTrackUuid = currentTrack != null ? currentTrack.getCoverArtUuid() : null; in removeUnusedArtwork()371 AvrcpItem currentTrack = getCurrentTrack(); in removeUnusedArtworkFromBrowseTree()372 String currentTrackUuid = currentTrack != null ? currentTrack.getCoverArtUuid() : null; in removeUnusedArtworkFromBrowseTree()