Home
last modified time | relevance | path

Searched refs:favorites (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DAuxiliaryPersistenceWrapper.kt54 var favorites: List<StructureInfo> = emptyList() variable
76 favorites = if (persistenceWrapper.fileExists) { in initialize()
95 val (comp, noComp) = favorites.partition { it.componentName == componentName } in getCachedFavoritesAndRemoveFor()
97 favorites = noComp in getCachedFavoritesAndRemoveFor()
98 if (favorites.isNotEmpty()) { in getCachedFavoritesAndRemoveFor()
DControlsController.kt224 favorites: List<String>, in createLoadDataObject()
229 override val favoritesIds = favorites in createLoadDataObject()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DAllModelTest.kt146 model.favorites.zip(expectedFavorites).forEach { in <lambda>()
159 model.favorites.zip(expectedFavorites).forEach { in <lambda>()
188 assertEquals(expectedFavorites.size, model.favorites.size) in <lambda>()
189 model.favorites.zip(expectedFavorites).forEach { in <lambda>()
205 model.favorites.zip(expectedFavorites).forEach { in <lambda>()
234 model.favorites.zip(expectedFavorites).forEach { in <lambda>()
DFavoritesModelTest.kt84 assertEquals(model.favorites, model.elements.take(dividerIndex).map { in <lambda>()
99 assertEquals(INITIAL_FAVORITES, model.favorites) in <lambda>()
109 assertTrue(model.favorites.none { it.controlId == id }) in <lambda>()
212 assertEquals(id, model.favorites.last().controlId) in <lambda>()
282 model.favorites.map(ControlInfo::controlId) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DAppAdapter.kt96 private val favorites: TextView = itemView.requireViewById(R.id.favorites) constant
106 favorites.text = text in bindData()
107 favorites.visibility = if (text == null) View.GONE else View.VISIBLE in bindData()
DFavoritesModel.kt39 favorites: List<ControlInfo>,
80 override val favorites: List<ControlInfo> constant
85 override val elements: List<ElementWrapper> = favorites.map { in <lambda>()
DControlsRequestDialog.kt134 val favorites = controller.getFavoritesForComponent(controlComponent) in isCurrentFavorite() constant
135 return favorites.any { it.controls.any { it.controlId == control.controlId } } in isCurrentFavorite()
DControlsModel.kt39 val favorites: List<ControlInfo> constant
DAllModel.kt53 override val favorites: List<ControlInfo> in <lambda>() constant
DControlsEditingActivity.kt154 StructureInfo(component, structure, model.favorites)) in saveFavorites()
DControlsFavoritingActivity.kt327 val favoritesForStorage = it.model.favorites in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DAuxiliaryPersistenceWrapperTest.kt79 assertEquals(expected, auxiliaryFileWrapper.favorites) in testInitialStructures()
86 assertTrue(auxiliaryFileWrapper.favorites.isEmpty()) in testInitialize_fileDoesNotExist()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt24464 field public static final java.lang.String FAVORITES = "favorites";
/frameworks/base/api/
Dcurrent.txt39562 field public static final String FAVORITES = "favorites";