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.kt115 private fun updateDividerNone(oldDividerPosition: Int, show: Boolean) { in updateDividerNone()
116 (elements[oldDividerPosition] as DividerWrapper).showNone = show in updateDividerNone()
120 private fun updateDividerShow(oldDividerPosition: Int, show: Boolean) { in updateDividerShow()
121 (elements[oldDividerPosition] as DividerWrapper).showDivider = show in updateDividerShow()
167 val oldDividerPosition = dividerPosition in updateDivider() constant
171 updateDividerNone(oldDividerPosition, true) in updateDivider()
175 updateDividerShow(oldDividerPosition, true) in updateDivider()
181 updateDividerNone(oldDividerPosition, false) in updateDivider()
185 updateDividerShow(oldDividerPosition, false) in updateDivider()
190 adapter?.notifyItemChanged(oldDividerPosition) in updateDivider()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DFavoritesModelTest.kt143 val oldDividerPosition = getDividerPosition() in <lambda>() constant
148 assertEquals(oldDividerPosition - 1, getDividerPosition()) in <lambda>()
155 val oldDividerPosition = getDividerPosition() in <lambda>() constant
161 verify(adapter).notifyItemChanged(oldDividerPosition) in <lambda>()