Home
last modified time | relevance | path

Searched refs:destIndex (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/
DMediaCarouselScrollHandler.kt442 var destIndex = if (flungTowardEnd) currentIndex + 1 else currentIndex in onFling() variable
443 destIndex = Math.max(0, destIndex) in onFling()
444 destIndex = Math.min(mediaContent.getChildCount() - 1, destIndex) in onFling()
445 val view = mediaContent.getChildAt(destIndex) in onFling()
577 fun scrollToPlayer(sourceIndex: Int = -1, destIndex: Int) { in scrollToPlayer()
581 val destIndex = Math.min(mediaContent.getChildCount() - 1, destIndex) in scrollToPlayer() constant
582 val view = mediaContent.getChildAt(destIndex) in scrollToPlayer()
/frameworks/base/core/java/android/os/
DWorkSource.java231 int destIndex = 1; in clearNames() local
237 mUids[destIndex] = mUids[sourceIndex]; in clearNames()
238 destIndex++; in clearNames()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaCarouselController.kt776 destIndex = 0 in <lambda>()
888 ?: mediaCarouselScrollHandler.scrollToPlayer(destIndex = mediaIndex) in <lambda>()
892 mediaCarouselScrollHandler.scrollToPlayer(destIndex = 0) in <lambda>()