Searched refs:hasQueue (Results 1 – 3 of 3) sorted by relevance
657 getPlaybackViewModel().hasQueue().observe(getViewLifecycleOwner(), hasQueue -> { in initQueue()658 boolean enableQueue = (hasQueue != null) && hasQueue; in initQueue()707 private void updateAppBarMenu(boolean hasQueue) { in updateAppBarMenu() argument708 if (hasQueue && mQueueMenuItem == null) { in updateAppBarMenu()716 hasQueue ? Collections.singletonList(mQueueMenuItem) : Collections.emptyList()); in updateAppBarMenu()719 private void setQueueState(boolean hasQueue, boolean visible) { in setQueueState() argument720 if (mHasQueue != hasQueue) { in setQueueState()721 mHasQueue = hasQueue; in setQueueState()722 updateAppBarMenu(hasQueue); in setQueueState()
160 mPlaybackViewModel.hasQueue().observe(mLifecycleOwner, observer); in testGetHasQueue_null()175 mPlaybackViewModel.hasQueue().observe(mLifecycleOwner, observer); in testGetHasQueue_empty()191 mPlaybackViewModel.hasQueue().observe(mLifecycleOwner, observer); in testGetHasQueue_true()
194 public LiveData<Boolean> hasQueue() { in hasQueue() method in PlaybackViewModel