Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/
DTemporaryViewDisplayController.kt114 internal val activeViews: MutableList<DisplayInfo> = mutableListOf() in <lambda>() constant in com.android.systemui.temporarydisplay.TemporaryViewDisplayController
117 return activeViews.getOrNull(0) in <lambda>()
180 activeViews.add(newDisplayInfo) in <lambda>()
193 while (insertIndex < activeViews.size && in <lambda>()
194 activeViews[insertIndex].info.priority > newInfo.priority) { in <lambda>()
197 activeViews.add(insertIndex, newDisplayInfo) in <lambda>()
205 activeViews.add(0, newDisplayInfo) in <lambda>()
330 val displayInfo = activeViews.firstOrNull { it.info.id == id } in <lambda>()
336 val currentlyDisplayedView = activeViews[0] in <lambda>()
340 activeViews.remove(displayInfo) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/
DTemporaryViewDisplayControllerTest.kt370 assertThat(underTest.activeViews.size).isEqualTo(0) in multipleViewsWithDifferentIds_newViewRemoved_previousViewIsDisplayed()
403 assertThat(underTest.activeViews.size).isEqualTo(0) in multipleViewsWithDifferentIds_oldViewRemoved_recentViewIsDisplayed()
442 assertThat(underTest.activeViews.size).isEqualTo(0) in multipleViewsWithDifferentIds_threeDifferentViews_recentActiveViewIsDisplayed()
466 assertThat(underTest.activeViews[0].info.name).isEqualTo("New name") in multipleViewsWithDifferentIds_oneViewStateChanged_stackHasRecentState()
472 assertThat(underTest.activeViews.size).isEqualTo(0) in multipleViewsWithDifferentIds_oneViewStateChanged_stackHasRecentState()
490 assertThat(underTest.activeViews.size).isEqualTo(0) in multipleViews_mostRecentViewRemoved_otherViewsTimedOutAndNotDisplayed()
509 assertThat(underTest.activeViews.size).isEqualTo(0) in multipleViews_mostRecentViewRemoved_viewWithShortTimeLeftNotDisplayed()
626 assertThat(underTest.activeViews).isEmpty() in lowerThenHigherPriority_lowerPriorityNotRedisplayedBecauseTimedOut()
659 assertThat(underTest.activeViews.size).isEqualTo(2) in higherThenLowerPriority_higherStaysDisplayed()
695 assertThat(underTest.activeViews.size).isEqualTo(2) in higherThenLowerPriority_lowerEventuallyDisplayed()
[all …]
/frameworks/base/core/java/android/widget/
DAbsListView.java7265 final View[] activeViews = mActiveViews; in fillActiveViews() local
7273 activeViews[i] = child; in fillActiveViews()
7294 final View[] activeViews = mActiveViews; in getActiveView() local
7295 if (index >=0 && index < activeViews.length) { in getActiveView()
7296 final View match = activeViews[index]; in getActiveView()
7297 activeViews[index] = null; in getActiveView()
7463 final View[] activeViews = mActiveViews; in scrapActiveViews() local
7468 final int count = activeViews.length; in scrapActiveViews()
7470 final View victim = activeViews[i]; in scrapActiveViews()
7476 activeViews[i] = null; in scrapActiveViews()
[all …]