Home
last modified time | relevance | path

Searched refs:QSTileConfig (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/viewmodel/
DFakeQSTileConfigProvider.kt23 private val configs: MutableMap<String, QSTileConfig> = mutableMapOf()
25 override fun getConfig(tileSpec: String): QSTileConfig = configs.getValue(tileSpec) in getConfig()
29 fun putConfig(tileSpec: TileSpec, config: QSTileConfig) { in getConfig()
33 fun removeConfig(tileSpec: TileSpec): QSTileConfig? = configs.remove(tileSpec.spec)
DQSTileConfigTestBuilder.kt24 fun build(configure: BuildingScope.() -> Unit = {}): QSTileConfig = in <lambda>()
35 QSTileConfig(
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DConnectivityModule.kt47 import com.android.systemui.qs.tiles.viewmodel.QSTileConfig
142 fun provideAirplaneModeTileConfig(uiEventLogger: QsEventLogger): QSTileConfig = in bindBluetoothTile()
143 QSTileConfig( in bindBluetoothTile()
174 fun provideDataSaverTileConfig(uiEventLogger: QsEventLogger): QSTileConfig = in bindBluetoothTile()
175 QSTileConfig( in bindBluetoothTile()
205 fun provideInternetTileConfig(uiEventLogger: QsEventLogger): QSTileConfig = in bindBluetoothTile()
206 QSTileConfig( in bindBluetoothTile()
236 fun provideHotspotTileConfig(uiEventLogger: QsEventLogger): QSTileConfig = in bindBluetoothTile()
237 QSTileConfig( in bindBluetoothTile()
250 fun provideCastTileConfig(uiEventLogger: QsEventLogger): QSTileConfig = in bindBluetoothTile()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DPolicyModule.kt61 import com.android.systemui.qs.tiles.viewmodel.QSTileConfig
133 fun provideFlashlightTileConfig(uiEventLogger: QsEventLogger): QSTileConfig = in bindDndTile()
134 QSTileConfig( in bindDndTile()
165 fun provideLocationTileConfig(uiEventLogger: QsEventLogger): QSTileConfig = in bindDndTile()
166 QSTileConfig( in bindDndTile()
201 fun provideAlarmTileConfig(uiEventLogger: QsEventLogger): QSTileConfig = in bindDndTile()
202 QSTileConfig( in bindDndTile()
233 fun provideUiModeNightTileConfig(uiEventLogger: QsEventLogger): QSTileConfig = in bindDndTile()
234 QSTileConfig( in bindDndTile()
265 fun provideWorkModeTileConfig(uiEventLogger: QsEventLogger): QSTileConfig = in bindDndTile()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/viewmodel/
DQSTileConfigProvider.kt34 fun getConfig(tileSpec: String): QSTileConfig in getConfig()
43 private val configs: Map<String, QSTileConfig>, in getConfig()
65 override fun getConfig(tileSpec: String): QSTileConfig = in getConfig()
72 QSTileConfig( in getConfig()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/custom/di/
DQSTileConfigModule.kt20 import com.android.systemui.qs.tiles.viewmodel.QSTileConfig
30 class QSTileConfigModule(private val config: QSTileConfig) {
32 @Provides fun provideConfig(): QSTileConfig = config
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/qs/
DQSAccessibilityModule.kt57 import com.android.systemui.qs.tiles.viewmodel.QSTileConfig
172 fun provideColorCorrectionTileConfig(uiEventLogger: QsEventLogger): QSTileConfig = in bindColorInversionTile()
173 QSTileConfig( in bindColorInversionTile()
203 fun provideColorInversionTileConfig(uiEventLogger: QsEventLogger): QSTileConfig = in bindColorInversionTile()
204 QSTileConfig( in bindColorInversionTile()
234 fun provideFontScalingTileConfig(uiEventLogger: QsEventLogger): QSTileConfig = in bindColorInversionTile()
235 QSTileConfig( in bindColorInversionTile()
265 fun provideReduceBrightColorsTileConfig(uiEventLogger: QsEventLogger): QSTileConfig = in bindColorInversionTile()
266 QSTileConfig( in bindColorInversionTile()
301 fun provideOneHandedTileConfig(uiEventLogger: QsEventLogger): QSTileConfig = in bindColorInversionTile()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/analytics/
DQSTileAnalytics.kt22 import com.android.systemui.qs.tiles.viewmodel.QSTileConfig
34 fun trackUserAction(config: QSTileConfig, action: QSTileUserAction) { in trackUserAction()
38 private fun logAction(config: QSTileConfig, action: QSTileUserAction) { in logAction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recordissue/
DRecordIssueModule.kt23 import com.android.systemui.qs.tiles.viewmodel.QSTileConfig
47 fun provideRecordIssueTileConfig(uiEventLogger: QsEventLogger): QSTileConfig = in bindRecordIssueTile()
48 QSTileConfig( in bindRecordIssueTile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/interactor/
DQSTileDataToStateMapper.kt20 import com.android.systemui.qs.tiles.viewmodel.QSTileConfig
29 @WorkerThread fun map(config: QSTileConfig, data: DATA_TYPE): QSTileState
/frameworks/base/packages/SystemUI/src/com/android/systemui/rotationlock/
DRotationLockNewModule.kt28 import com.android.systemui.qs.tiles.viewmodel.QSTileConfig
54 fun provideRotationTileConfig(uiEventLogger: QsEventLogger): QSTileConfig = in provideRotationAvailabilityInteractor()
55 QSTileConfig( in provideRotationAvailabilityInteractor()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/di/
DNewQSTileFactoryKosmos.kt24 import com.android.systemui.qs.tiles.viewmodel.QSTileConfig in <lambda>()
47 QSTileConfig( in <lambda>()
55 override val config: QSTileConfig = config in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/
DBatterySaverModule.kt13 import com.android.systemui.qs.tiles.viewmodel.QSTileConfig
45 fun provideBatterySaverTileConfig(uiEventLogger: QsEventLogger): QSTileConfig = in bindBatterySaverTile()
46 QSTileConfig( in bindBatterySaverTile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qrcodescanner/dagger/
DQRCodeScannerModule.kt30 import com.android.systemui.qs.tiles.viewmodel.QSTileConfig
63 fun provideQRCodeScannerTileConfig(uiEventLogger: QsEventLogger): QSTileConfig = in bindQRCodeScannerTile()
64 QSTileConfig( in bindQRCodeScannerTile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenRecordModule.kt28 import com.android.systemui.qs.tiles.viewmodel.QSTileConfig
65 fun provideScreenRecordTileConfig(uiEventLogger: QsEventLogger): QSTileConfig = in bindScreenRecordRepository()
66 QSTileConfig( in bindScreenRecordRepository()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/fontscaling/domain/
DFontScalingTileMapper.kt24 import com.android.systemui.qs.tiles.viewmodel.QSTileConfig
37 override fun map(config: QSTileConfig, data: FontScalingTileModel): QSTileState = in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/colorcorrection/domain/
DColorCorrectionTileMapper.kt23 import com.android.systemui.qs.tiles.viewmodel.QSTileConfig
36 override fun map(config: QSTileConfig, data: ColorCorrectionTileModel): QSTileState = in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/inversion/domain/
DColorInversionTileMapper.kt25 import com.android.systemui.qs.tiles.viewmodel.QSTileConfig
37 override fun map(config: QSTileConfig, data: ColorInversionTileModel): QSTileState = in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/qr/ui/
DQRCodeScannerTileMapper.kt24 import com.android.systemui.qs.tiles.viewmodel.QSTileConfig
37 override fun map(config: QSTileConfig, data: QRCodeScannerTileModel): QSTileState = in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/di/
DQSTilesModule.kt27 import com.android.systemui.qs.tiles.viewmodel.QSTileConfig
48 @Multibinds fun tileViewModelConfigs(): Map<String, QSTileConfig> in tileViewModelConfigs()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/onehanded/ui/
DOneHandedModeTileMapper.kt24 import com.android.systemui.qs.tiles.viewmodel.QSTileConfig
37 override fun map(config: QSTileConfig, data: OneHandedModeTileModel): QSTileState = in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/airplane/domain/
DAirplaneModeMapper.kt25 import com.android.systemui.qs.tiles.viewmodel.QSTileConfig
38 override fun map(config: QSTileConfig, data: AirplaneModeTileModel): QSTileState = in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/saver/domain/
DDataSaverTileMapper.kt24 import com.android.systemui.qs.tiles.viewmodel.QSTileConfig
36 override fun map(config: QSTileConfig, data: DataSaverTileModel): QSTileState = in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/location/domain/
DLocationTileMapper.kt25 import com.android.systemui.qs.tiles.viewmodel.QSTileConfig
38 override fun map(config: QSTileConfig, data: LocationTileModel): QSTileState = in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/reducebrightness/ui/
DReduceBrightColorsTileMapper.kt25 import com.android.systemui.qs.tiles.viewmodel.QSTileConfig
38 override fun map(config: QSTileConfig, data: ReduceBrightColorsTileModel): QSTileState = in map()

12