/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/internet/domain/model/ |
D | InternetTileModel.kt | 19 import com.android.systemui.common.shared.model.ContentDescription 29 val stateDescription: ContentDescription? 30 val contentDescription: ContentDescription? 37 override val stateDescription: ContentDescription? = null, 38 override val contentDescription: ContentDescription? = null, 46 override val stateDescription: ContentDescription? = null, 47 override val contentDescription: ContentDescription? = null,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/model/ |
D | InternetTileModel.kt | 23 import com.android.systemui.common.shared.model.ContentDescription 24 import com.android.systemui.common.shared.model.ContentDescription.Companion.loadContentDescription 36 val stateDescription: ContentDescription? 37 val contentDescription: ContentDescription? 69 override val stateDescription: ContentDescription? = null, 70 override val contentDescription: ContentDescription? = null, 78 override val stateDescription: ContentDescription? = null, 79 override val contentDescription: ContentDescription? = null,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/shared/model/ |
D | ContentDescription.kt | 26 sealed class ContentDescription { class 29 ) : ContentDescription() 33 ) : ContentDescription() 42 fun ContentDescription?.loadContentDescription(context: Context): String? { in ContentDescription() method
|
D | Icon.kt | 27 abstract val contentDescription: ContentDescription? 31 override val contentDescription: ContentDescription?, 36 override val contentDescription: ContentDescription?, 41 fun Drawable.asIcon(contentDescription: ContentDescription? = null): Icon =
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/common/ui/compose/ |
D | ContentDescription.kt | 21 import com.android.systemui.common.shared.model.ContentDescription 25 fun ContentDescription.load(): String? { in load() method 27 is ContentDescription.Loaded -> description in load() 28 is ContentDescription.Resource -> stringResource(res) in load()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/ui/binder/ |
D | ContentDescriptionViewBinder.kt | 20 import com.android.systemui.common.shared.model.ContentDescription 24 contentDescription: ContentDescription?, in bind() 30 is ContentDescription.Loaded -> contentDescription.description in bind() 31 is ContentDescription.Resource -> { in bind()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/ui/model/ |
D | SatelliteIconModel.kt | 19 import com.android.systemui.common.shared.model.ContentDescription 41 ContentDescription.Resource( in fromConnectionState() 62 ContentDescription.Resource( in fromSignalStrength() 73 ContentDescription.Resource( in fromSignalStrength() 84 ContentDescription.Resource( in fromSignalStrength()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/ |
D | InternetTileViewModel.kt | 21 import com.android.systemui.common.shared.model.ContentDescription in <lambda>() 22 import com.android.systemui.common.shared.model.ContentDescription.Companion.loadContentDescription in <lambda>() 82 contentDescription = ContentDescription.Loaded("$internetLabel,$secondary"), in <lambda>() 131 stateDescription = ContentDescription.Loaded(secondary.toString()), in <lambda>() 132 contentDescription = ContentDescription.Loaded(internetLabel), in <lambda>() 141 stateDescription = ContentDescription.Loaded(secondary), in <lambda>() 142 contentDescription = ContentDescription.Loaded(internetLabel), in <lambda>() 207 contentDescription = ContentDescription.Loaded(secondary), in <lambda>() 218 ContentDescription.Loaded("$internetLabel,$secondary") in <lambda>() 253 ContentDescription.Resource(R.string.quick_settings_networks_unavailable), in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/common/ |
D | MediaTttUtils.kt | 25 import com.android.systemui.common.shared.model.ContentDescription 69 ContentDescription.Loaded( in getIconInfoFromPackageName() 77 ContentDescription.Loaded(appName) in getIconInfoFromPackageName() 91 ContentDescription.Resource( in getIconInfoFromPackageName() 95 ContentDescription.Resource( in getIconInfoFromPackageName() 109 val contentDescription: ContentDescription,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/internet/domain/interactor/ |
D | InternetTileDataInteractor.kt | 24 import com.android.systemui.common.shared.model.ContentDescription in <lambda>() 25 import com.android.systemui.common.shared.model.ContentDescription.Companion.loadContentDescription in <lambda>() 84 contentDescription = ContentDescription.Loaded("$internetLabel,$secondary"), in <lambda>() 143 ContentDescription.Loaded(secondary.toString()), in <lambda>() 144 contentDescription = ContentDescription.Loaded(internetLabel), in <lambda>() 155 stateDescription = ContentDescription.Loaded(secondary), in <lambda>() 156 contentDescription = ContentDescription.Loaded(internetLabel), in <lambda>() 221 contentDescription = ContentDescription.Loaded(secondary), in <lambda>() 232 ContentDescription.Loaded("$internetLabel,$secondary") in <lambda>() 270 ContentDescription.Resource(R.string.quick_settings_networks_unavailable), in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/ui/model/ |
D | WifiIcon.kt | 26 import com.android.systemui.common.shared.model.ContentDescription 47 val contentDescription: ContentDescription.Loaded, in toString() 88 ContentDescription.Loaded( in fromModel() 127 ContentDescription.Loaded(context.getString(WIFI_OTHER_DEVICE_CONNECTION)), in toIcon() 137 ContentDescription.Loaded(levelDesc), in toBasicIcon() 142 ContentDescription.Loaded("$levelDesc,${context.getString(NO_INTERNET)}"), in toBasicIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/ethernet/domain/ |
D | EthernetInteractor.kt | 21 import com.android.systemui.common.shared.model.ContentDescription 46 ContentDescription.Resource( in <lambda>() 53 ContentDescription.Resource( in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/ |
D | MobileIconViewModel.kt | 21 import com.android.systemui.common.shared.model.ContentDescription in <lambda>() 53 val contentDescription: Flow<ContentDescription?> in <lambda>() 126 override val contentDescription: Flow<ContentDescription?> = 157 override val contentDescription: Flow<ContentDescription> = 158 MutableStateFlow(ContentDescription.Loaded("")) 209 override val contentDescription: Flow<ContentDescription?> = 222 ContentDescription.Resource(resId) in <lambda>() 257 ContentDescription.Resource(networkTypeIconGroup.contentDescription) in networkTypeIconGroup()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/domain/interactor/ |
D | EditTilesListInteractor.kt | 19 import com.android.systemui.common.shared.model.ContentDescription 52 ContentDescription.Resource(config.uiConfig.labelRes) in getTilesToEdit() 62 ContentDescription.Loaded(it.spec) in getTilesToEdit()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/ethernet/domain/ |
D | EthernetInteractorTest.kt | 23 import com.android.systemui.common.shared.model.ContentDescription 49 ContentDescription.Resource( in icon_default_validated() 67 ContentDescription.Resource( in icon_default_notValidated()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/panels/data/repository/ |
D | IconAndNameCustomRepositoryTest.kt | 28 import com.android.systemui.common.shared.model.ContentDescription 100 Icon.Loaded(drawable1, ContentDescription.Loaded(tileService1)), in loadDataForCurrentServices() 107 Icon.Loaded(drawable2, ContentDescription.Loaded(tileService2)), in loadDataForCurrentServices() 144 Icon.Loaded(drawable1, ContentDescription.Loaded(tileService1)), in loadDataForCurrentServices_serviceInfoWithNullIcon_notInList()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/ |
D | MobileIconViewModelTest.kt | 31 import com.android.systemui.common.shared.model.ContentDescription 254 var latest: ContentDescription? = null in contentDescription_notInService_usesNoPhone() 259 assertThat((latest as ContentDescription.Resource).res) in contentDescription_notInService_usesNoPhone() 268 var latest: ContentDescription? = null in contentDescription_inService_usesLevel() 272 assertThat((latest as ContentDescription.Resource).res) in contentDescription_inService_usesLevel() 276 assertThat((latest as ContentDescription.Resource).res) in contentDescription_inService_usesLevel() 358 ContentDescription.Resource(THREE_G.dataContentDescription) in networkType_dataEnabled_groupIsRepresented() 405 ContentDescription.Resource(THREE_G.dataContentDescription) in networkTypeIcon_notNull_whenEnabled() 425 ContentDescription.Resource(THREE_G.dataContentDescription) in networkType_nullWhenDataDisconnects() 447 ContentDescription.Resource(THREE_G.dataContentDescription) in networkType_null_changeToDisabled() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | FlashlightQuickAffordanceConfig.kt | 25 import com.android.systemui.common.shared.model.ContentDescription 52 ContentDescription.Resource(R.string.quick_settings_flashlight_label) in toLockScreenState() 63 ContentDescription.Resource(R.string.quick_settings_flashlight_label) in toLockScreenState()
|
D | GlanceableHubQuickAffordanceConfig.kt | 21 import com.android.systemui.common.shared.model.ContentDescription 48 val contentDescription = ContentDescription.Loaded(pickerName()) in pickerName()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/panels/domain/interactor/ |
D | EditTilesListInteractorTest.kt | 24 import com.android.systemui.common.shared.model.ContentDescription 132 icon = Icon.Loaded(icon, ContentDescription.Loaded(tileName)), in getTilesToEdit_customTileData_matchesService() 182 icon = Icon.Resource(android.R.drawable.star_on, ContentDescription.Loaded(spec)), in TileSpec() 192 Icon.Resource(uiConfig.iconRes, ContentDescription.Resource(uiConfig.labelRes)), in toEditTileData()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/chipbar/ |
D | ChipbarCoordinatorTest.kt | 37 import com.android.systemui.common.shared.model.ContentDescription 38 import com.android.systemui.common.shared.model.ContentDescription.Companion.loadContentDescription 138 Icon.Resource(R.drawable.ic_cake, ContentDescription.Loaded("loadedCD")), in displayView_contentDescription_iconHasDescription() 167 Icon.Resource(R.drawable.ic_cake, ContentDescription.Loaded("loadedCD")), in displayView_contentDescription_endIsLoading() 183 Icon.Resource(R.drawable.ic_cake, ContentDescription.Loaded("loadedCD")), in displayView_contentDescription_endNotLoading() 201 Icon.Loaded(drawable, contentDescription = ContentDescription.Loaded("loadedCD")), in displayView_loadedIcon_correctlyRendered() 214 val contentDescription = ContentDescription.Resource(R.string.controls_error_timeout) in displayView_resourceIcon_correctlyRendered() 518 Icon.Loaded(drawable, contentDescription = ContentDescription.Loaded("loadedCD")), in updateView_viewUpdated() 536 Icon.Loaded(newDrawable, ContentDescription.Loaded("new CD")), in updateView_viewUpdated() 557 Icon.Loaded(drawable, contentDescription = ContentDescription.Loaded("loadedCD")), in viewUpdates_logged() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/internet/domain/ |
D | InternetTileMapperTest.kt | 24 import com.android.systemui.common.shared.model.ContentDescription 63 ContentDescription.Resource(R.string.quick_settings_internet_label), in withActiveModel_mappedStateMatchesDataModel() 87 ContentDescription.Resource(R.string.quick_settings_networks_unavailable), in withInactiveModel_mappedStateMatchesDataModel()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/base/logging/ |
D | QSTileLoggerTest.kt | 22 import com.android.systemui.common.shared.model.ContentDescription 118 QSTileState.build({ Icon.Resource(0, ContentDescription.Resource(0)) }, "") {}, in testLogUserActionPipeline() 144 QSTileState.build({ Icon.Resource(0, ContentDescription.Resource(0)) }, "") {}, in testLogStateUpdate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/data/repository/ |
D | IconAndNameCustomRepository.kt | 19 import com.android.systemui.common.shared.model.ContentDescription 60 Icon.Loaded(icon, ContentDescription.Loaded(label.toString())), in getCustomTileData()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/taptotransfer/common/ |
D | MediaTttUtilsTest.kt | 25 import com.android.systemui.common.shared.model.ContentDescription 26 import com.android.systemui.common.shared.model.ContentDescription.Companion.loadContentDescription 235 val contentDescription = ContentDescription.Loaded("test") in iconInfo_toTintedIcon_loaded() 255 val contentDescription = ContentDescription.Loaded("test") in iconInfo_toTintedIcon_resource()
|