Home
last modified time | relevance | path

Searched refs:widgetIdToPriorityMap (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DContentListState.kt62 private val onReorderWidgets: (widgetIdToPriorityMap: Map<Int, Int>) -> Unit,
100 val widgetIdToPriorityMap: Map<Int, Int> = in onSaveList() constant
111 onReorderWidgets(widgetIdToPriorityMap) in onSaveList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/repository/
DCommunalWidgetRepository.kt76 fun updateWidgetOrder(widgetIdToPriorityMap: Map<Int, Int>) {} in <lambda>()
207 override fun updateWidgetOrder(widgetIdToPriorityMap: Map<Int, Int>) { in updateWidgetOrder()
209 communalWidgetDao.updateWidgetOrder(widgetIdToPriorityMap) in updateWidgetOrder()
211 str1 = widgetIdToPriorityMap.toString() in updateWidgetOrder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/db/
DCommunalWidgetDao.kt125 fun updateWidgetOrder(widgetIdToPriorityMap: Map<Int, Int>) { in getWidgets()
126 widgetIdToPriorityMap.forEach { (id, priority) -> in getWidgets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/ui/viewmodel/
DCommunalEditModeViewModel.kt103 override fun onReorderWidgets(widgetIdToPriorityMap: Map<Int, Int>) = in <lambda>()
104 communalInteractor.updateWidgetOrder(widgetIdToPriorityMap) in <lambda>()
DBaseCommunalViewModel.kt128 open fun onReorderWidgets(widgetIdToPriorityMap: Map<Int, Int>) {} in onReorderWidgets()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/
DCommunalWidgetRepositoryImplTest.kt387 val widgetIdToPriorityMap = mapOf(104 to 1, 103 to 2, 101 to 3) in reorderWidgets_queryDb() constant
388 underTest.updateWidgetOrder(widgetIdToPriorityMap) in reorderWidgets_queryDb()
391 verify(communalWidgetDao).updateWidgetOrder(widgetIdToPriorityMap) in reorderWidgets_queryDb()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/interactor/
DCommunalInteractor.kt349 fun updateWidgetOrder(widgetIdToPriorityMap: Map<Int, Int>) = in <lambda>()
350 widgetRepository.updateWidgetOrder(widgetIdToPriorityMap) in <lambda>()