Home
last modified time | relevance | path

Searched refs:indexToRemove (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DAllModelTest.kt198 val indexToRemove = 3 in <lambda>() constant
201 val expectedFavorites = (favoritesIndices.filterNot { it == indexToRemove }) in <lambda>()
214 val indexToRemove = 3 in <lambda>() constant
229 val indexToRemove = 4 in <lambda>() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleData.java471 int indexToRemove = indexForKey(key); in doRemove() local
472 if (indexToRemove == -1) { in doRemove()
494 Bubble bubbleToRemove = mBubbles.get(indexToRemove); in doRemove()
502 if (indexToRemove < mBubbles.size() - 1) { in doRemove()
506 mBubbles.remove(indexToRemove); in doRemove()
517 int newIndex = Math.min(indexToRemove, mBubbles.size() - 1); in doRemove()