Searched refs:visibleMediaIndex (Results 1 – 2 of 2) sorted by relevance
107 var visibleMediaIndex: Int = 0 variable in com.android.systemui.media.MediaCarouselScrollHandler135 var newRelativeScroll = visibleMediaIndex * playerWidthPlusPadding474 if (newIndex != visibleMediaIndex || wasScrolledIn != nowScrolledIn) { in onMediaScrollingChanged()475 val oldIndex = visibleMediaIndex in onMediaScrollingChanged()476 visibleMediaIndex = newIndex in onMediaScrollingChanged()477 if (oldIndex != visibleMediaIndex && visibleToUser) { in onMediaScrollingChanged()483 val relativeLocation = visibleMediaIndex.toFloat() + if (playerWidthPlusPadding > 0) in onMediaScrollingChanged()521 val visible = (i == visibleMediaIndex) || ((i == (visibleMediaIndex + 1)) && scrolledIn) in updatePlayerVisibilities()535 val beforeActive = removedIndex <= visibleMediaIndex in onPrePlayerRemoved()537 visibleMediaIndex = Math.max(0, visibleMediaIndex - 1) in onPrePlayerRemoved()
260 mediaCarouselScrollHandler.visibleMediaIndex == in <lambda>()358 .elementAtOrNull(mediaCarouselScrollHandler.visibleMediaIndex) in <lambda>()417 .elementAtOrNull(mediaCarouselScrollHandler.visibleMediaIndex) in <lambda>()687 val visibleMediaIndex = mediaCarouselScrollHandler.visibleMediaIndex in <lambda>() constant688 if (MediaPlayerData.players().size > visibleMediaIndex) { in <lambda>()689 val mediaControlPanel = MediaPlayerData.players().elementAt(visibleMediaIndex) in <lambda>()710 rank: Int = mediaCarouselScrollHandler.visibleMediaIndex in <lambda>()745 val visibleMediaIndex = mediaCarouselScrollHandler.visibleMediaIndex in <lambda>() constant746 if (MediaPlayerData.players().size > visibleMediaIndex) { in <lambda>()747 val player = MediaPlayerData.players().elementAt(visibleMediaIndex) in <lambda>()