Searched refs:favorites (Results 1 – 14 of 14) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/ |
D | AuxiliaryPersistenceWrapper.kt | 54 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()
|
D | ControlsController.kt | 224 favorites: List<String>, in createLoadDataObject() 229 override val favoritesIds = favorites in createLoadDataObject()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/ |
D | AllModelTest.kt | 146 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>()
|
D | FavoritesModelTest.kt | 84 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/ |
D | AppAdapter.kt | 96 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()
|
D | FavoritesModel.kt | 39 favorites: List<ControlInfo>, 80 override val favorites: List<ControlInfo> constant 85 override val elements: List<ElementWrapper> = favorites.map { in <lambda>()
|
D | ControlsRequestDialog.kt | 134 val favorites = controller.getFavoritesForComponent(controlComponent) in isCurrentFavorite() constant 135 return favorites.any { it.controls.any { it.controlId == control.controlId } } in isCurrentFavorite()
|
D | ControlsModel.kt | 39 val favorites: List<ControlInfo> constant
|
D | AllModel.kt | 53 override val favorites: List<ControlInfo> in <lambda>() constant
|
D | ControlsEditingActivity.kt | 154 StructureInfo(component, structure, model.favorites)) in saveFavorites()
|
D | ControlsFavoritingActivity.kt | 327 val favoritesForStorage = it.model.favorites in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/ |
D | AuxiliaryPersistenceWrapperTest.kt | 79 assertEquals(expected, auxiliaryFileWrapper.favorites) in testInitialStructures() 86 assertTrue(auxiliaryFileWrapper.favorites.isEmpty()) in testInitialize_fileDoesNotExist()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 24464 field public static final java.lang.String FAVORITES = "favorites";
|
/frameworks/base/api/ |
D | current.txt | 39562 field public static final String FAVORITES = "favorites";
|