Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DFavoritesModel.kt113 private fun updateDividerNone(oldDividerPosition: Int, show: Boolean) { in updateDividerNone()
114 (elements[oldDividerPosition] as DividerWrapper).showNone = show in updateDividerNone()
118 private fun updateDividerShow(oldDividerPosition: Int, show: Boolean) { in updateDividerShow()
119 (elements[oldDividerPosition] as DividerWrapper).showDivider = show in updateDividerShow()
165 val oldDividerPosition = dividerPosition in updateDivider() constant
169 updateDividerNone(oldDividerPosition, true) in updateDivider()
173 updateDividerShow(oldDividerPosition, true) in updateDivider()
179 updateDividerNone(oldDividerPosition, false) in updateDivider()
183 updateDividerShow(oldDividerPosition, false) in updateDivider()
188 adapter?.notifyItemChanged(oldDividerPosition) in updateDivider()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DFavoritesModelTest.kt140 val oldDividerPosition = getDividerPosition() in <lambda>() constant
145 assertEquals(oldDividerPosition - 1, getDividerPosition()) in <lambda>()
152 val oldDividerPosition = getDividerPosition() in <lambda>() constant
158 verify(adapter).notifyItemChanged(oldDividerPosition) in <lambda>()