/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/ui/model/ |
D | SatelliteIconModel.kt | 32 ): Icon.Resource? = in fromConnectionState() 38 Icon.Resource( in fromConnectionState() 41 ContentDescription.Resource( in fromConnectionState() 54 ): Icon.Resource? = in fromSignalStrength() 59 Icon.Resource( in fromSignalStrength() 62 ContentDescription.Resource( in fromSignalStrength() 70 Icon.Resource( in fromSignalStrength() 73 ContentDescription.Resource( in fromSignalStrength() 81 Icon.Resource( in fromSignalStrength() 84 ContentDescription.Resource( in fromSignalStrength()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/ethernet/domain/ |
D | EthernetInteractor.kt | 40 val icon: Flow<Icon.Resource?> = 44 Icon.Resource( in <lambda>() 46 ContentDescription.Resource( in <lambda>() 51 Icon.Resource( in <lambda>() 53 ContentDescription.Resource( in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/chipbar/ |
D | ChipbarCoordinatorTest.kt | 138 Icon.Resource(R.drawable.ic_cake, ContentDescription.Loaded("loadedCD")), in displayView_contentDescription_iconHasDescription() 153 Icon.Resource(R.drawable.ic_cake, contentDescription = null), in displayView_contentDescription_iconHasNoDescription() 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() 214 val contentDescription = ContentDescription.Resource(R.string.controls_error_timeout) in displayView_resourceIcon_correctlyRendered() 217 Icon.Resource(R.drawable.ic_cake, contentDescription), in displayView_resourceIcon_correctlyRendered() 232 Icon.Resource(R.id.check_box, null), in displayView_loadedText_correctlyRendered() 245 Icon.Resource(R.id.check_box, null), in displayView_resourceText_correctlyRendered() 246 Text.Resource(R.string.screenrecord_start_error), in displayView_resourceText_correctlyRendered() 259 Icon.Resource(R.id.check_box, null), in displayView_endItemNull_correctlyRendered() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/common/ |
D | MediaTttUtils.kt | 91 ContentDescription.Resource( in getIconInfoFromPackageName() 95 ContentDescription.Resource( in getIconInfoFromPackageName() 99 MediaTttIcon.Resource(R.drawable.ic_cast), in getIconInfoFromPackageName() 122 is MediaTttIcon.Resource -> Icon.Resource(icon.res, contentDescription) in toTintedIcon() 134 data class Resource(@DrawableRes val res: Int) : MediaTttIcon dataClass
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/ |
D | MobileIconViewModel.kt | 56 val networkTypeIcon: Flow<Icon.Resource?> in <lambda>() 58 val networkTypeBackground: StateFlow<Icon.Resource?> in <lambda>() 131 override val networkTypeIcon: Flow<Icon.Resource?> = 134 override val networkTypeBackground: StateFlow<Icon.Resource?> = 162 override val networkTypeIcon: Flow<Icon.Resource?> = flowOf(null) 163 override val networkTypeBackground: StateFlow<Icon.Resource?> = MutableStateFlow(null) 222 ContentDescription.Resource(resId) in <lambda>() 250 override val networkTypeIcon: Flow<Icon.Resource?> = 257 ContentDescription.Resource(networkTypeIconGroup.contentDescription) in networkTypeIconGroup() 261 Icon.Resource(networkTypeIconGroup.iconId, desc) in networkTypeIconGroup() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/domain/interactor/ |
D | EditTilesListInteractor.kt | 50 Icon.Resource( in getTilesToEdit() 52 ContentDescription.Resource(config.uiConfig.labelRes) in getTilesToEdit() 54 Text.Resource(config.uiConfig.labelRes), in getTilesToEdit() 60 Icon.Resource( in getTilesToEdit()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | SoundEffectsHelper.java | 93 private static final class Resource { class in SoundEffectsHelper 98 Resource(String fileName) { in Resource() method in SoundEffectsHelper.Resource 110 private final List<Resource> mResources = new ArrayList<Resource>(); 214 for (Resource res : mResources) { in onLoadSoundEffects() 249 for (Resource res : mResources) { in onUnloadSoundEffects() 269 Resource res = mResources.get(mEffects[effect]); in onPlaySoundEffect() 326 private String getResourceFilePath(Resource res) { in getResourceFilePath() 336 mResources.add(new Resource("Effect_Tick.ogg")); in loadSoundAssetDefaults() 441 mResources.add(new Resource(fileName)); in findOrAddResourceByFileName() 445 private Resource findResourceBySampleId(int sampleId) { in findResourceBySampleId() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/ethernet/domain/ |
D | EthernetInteractorTest.kt | 47 Icon.Resource( in icon_default_validated() 49 ContentDescription.Resource( in icon_default_validated() 65 Icon.Resource( in icon_default_notValidated() 67 ContentDescription.Resource( in icon_default_notValidated()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/ |
D | MobileIconViewModelTest.kt | 259 assertThat((latest as ContentDescription.Resource).res) in contentDescription_notInService_usesNoPhone() 272 assertThat((latest as ContentDescription.Resource).res) in contentDescription_inService_usesLevel() 276 assertThat((latest as ContentDescription.Resource).res) in contentDescription_inService_usesLevel() 356 Icon.Resource( in networkType_dataEnabled_groupIsRepresented() 358 ContentDescription.Resource(THREE_G.dataContentDescription) in networkType_dataEnabled_groupIsRepresented() 403 Icon.Resource( in networkTypeIcon_notNull_whenEnabled() 405 ContentDescription.Resource(THREE_G.dataContentDescription) in networkTypeIcon_notNull_whenEnabled() 423 Icon.Resource( in networkType_nullWhenDataDisconnects() 425 ContentDescription.Resource(THREE_G.dataContentDescription) in networkType_nullWhenDataDisconnects() 445 Icon.Resource( in networkType_null_changeToDisabled() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/shared/model/ |
D | Text.kt | 32 data class Resource( class in com.android.systemui.common.shared.model.Text 47 is Resource -> context.getString(this.res) in loadText()
|
D | ContentDescription.kt | 31 data class Resource( class in com.android.systemui.common.shared.model.ContentDescription 46 is Resource -> context.getString(this.res) in ContentDescription()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | FlashlightQuickAffordanceConfig.kt | 50 Icon.Resource( in toLockScreenState() 52 ContentDescription.Resource(R.string.quick_settings_flashlight_label) in toLockScreenState() 61 Icon.Resource( in toLockScreenState() 63 ContentDescription.Resource(R.string.quick_settings_flashlight_label) in toLockScreenState()
|
D | DoNotDisturbQuickAffordanceConfig.kt | 181 Icon.Resource( in <lambda>() 183 ContentDescription.Resource(R.string.dnd_is_off), in <lambda>() 189 Icon.Resource( in <lambda>() 191 ContentDescription.Resource(R.string.dnd_is_on), in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/taptotransfer/common/ |
D | MediaTttUtilsTest.kt | 79 assertThat(iconInfo.icon).isEqualTo(MediaTttIcon.Resource(R.drawable.ic_cast)) in getIconInfoFromPackageName_nullPackageName_returnsDefault() 96 assertThat(iconInfo.icon).isEqualTo(MediaTttIcon.Resource(R.drawable.ic_cast)) in getIconInfoFromPackageName_nullPackageName_isReceiver_returnsDefault() 126 assertThat(iconInfo.icon).isEqualTo(MediaTttIcon.Resource(R.drawable.ic_cast)) in getIconInfoFromPackageName_invalidPackageName_returnsDefault() 143 assertThat(iconInfo.icon).isEqualTo(MediaTttIcon.Resource(R.drawable.ic_cast)) in getIconInfoFromPackageName_invalidPackageName_isReceiver_returnsDefault() 262 MediaTttIcon.Resource(drawableRes), in iconInfo_toTintedIcon_resource() 269 assertThat(tinted.icon).isEqualTo(Icon.Resource(drawableRes, contentDescription)) in iconInfo_toTintedIcon_resource()
|
/frameworks/av/services/mediaresourcemanager/fuzzer/ |
D | README.md | 11 Media Resource Manager supports the following parameters: 12 1. Media Resource Type (parameter name: `mediaResourceType`) 13 2. Media Resource SubType (parameter name: `mediaResourceSubType`)
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/internet/domain/ |
D | InternetTileMapperTest.kt | 59 secondaryLabel = Text.Resource(R.string.quick_settings_networks_available), in withActiveModel_mappedStateMatchesDataModel() 63 ContentDescription.Resource(R.string.quick_settings_internet_label), in withActiveModel_mappedStateMatchesDataModel() 83 secondaryLabel = Text.Resource(R.string.quick_settings_networks_unavailable), in withInactiveModel_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 | 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/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | FlashlightQuickAffordanceConfigTest.kt | 80 as? Icon.Resource) in <lambda>() 103 as? Icon.Resource) in flashlightIsOn_triggered_iconIsOffAndInactive() 126 as? Icon.Resource) in <lambda>() 167 assertEquals(R.drawable.qs_flashlight_icon_on, (lastValue.icon as? Icon.Resource)?.res) in <lambda>() 189 assertEquals(R.drawable.qs_flashlight_icon_off, (lastValue.icon as? Icon.Resource)?.res) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/brightness/ui/viewmodel/ |
D | BrightnessSliderViewModel.kt | 52 val label = Text.Resource(R.string.quick_settings_brightness_dialog_title) 54 val icon = Icon.Resource(R.drawable.ic_brightness_full, ContentDescription.Resource(label.res))
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/spatial/ui/viewmodel/ |
D | SpatialAudioViewModel.kt | 52 Icon.Resource(R.drawable.ic_spatial_speaker, contentDescription = null) in <lambda>() 131 Icon.Resource(R.drawable.ic_head_tracking, contentDescription = null) in <lambda>() 144 Icon.Resource(R.drawable.ic_spatial_audio, contentDescription = null) in <lambda>() 157 Icon.Resource(R.drawable.ic_spatial_audio_off, contentDescription = null) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/ |
D | KeyguardSettingsMenuViewModel.kt | 37 Icon.Resource( 43 Text.Resource(
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/ |
D | ConnectivityModule.kt | 146 QSTileUIConfig.Resource( in bindBluetoothTile() 178 QSTileUIConfig.Resource( in bindBluetoothTile() 209 QSTileUIConfig.Resource( in bindBluetoothTile() 240 QSTileUIConfig.Resource( in bindBluetoothTile() 254 QSTileUIConfig.Resource( in bindBluetoothTile() 268 QSTileUIConfig.Resource( in bindBluetoothTile()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | PolicyModule.kt | 137 QSTileUIConfig.Resource( in bindDndTile() 169 QSTileUIConfig.Resource( in bindDndTile() 205 QSTileUIConfig.Resource( in bindDndTile() 237 QSTileUIConfig.Resource( in bindDndTile() 269 QSTileUIConfig.Resource( in bindDndTile() 301 QSTileUIConfig.Resource( in bindDndTile() 343 QSTileUIConfig.Resource( in bindDndTile() 386 QSTileUIConfig.Resource( in bindDndTile()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/panels/domain/interactor/ |
D | EditTilesListInteractorTest.kt | 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() 193 label = Text.Resource(uiConfig.labelRes), in toEditTileData()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/brightness/ui/viewmodel/ |
D | BrightnessSliderViewModelTest.kt | 156 .isEqualTo(Text.Resource(R.string.quick_settings_brightness_dialog_title)) in label() 163 Icon.Resource( in icon() 165 ContentDescription.Resource(underTest.label.res), in icon()
|