/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | PolicyModule.kt | 17 import com.android.systemui.qs.tileimpl.QSTileImpl 35 @Binds @IntoMap @StringKey(DndTile.TILE_SPEC) fun bindDndTile(dndTile: DndTile): QSTileImpl<*> 41 fun bindWorkModeTile(workModeTile: WorkModeTile): QSTileImpl<*> 47 fun bindFlashlightTile(flashlightTile: FlashlightTile): QSTileImpl<*> 53 fun bindLocationTile(locationTile: LocationTile): QSTileImpl<*> 59 fun bindCameraToggleTile(cameraToggleTile: CameraToggleTile): QSTileImpl<*> 65 fun bindMicrophoneToggleTile(microphoneToggleTile: MicrophoneToggleTile): QSTileImpl<*> 71 fun bindAlarmTile(alarmTile: AlarmTile): QSTileImpl<*> 76 fun bindUiModeNightTile(uiModeNightTile: UiModeNightTile): QSTileImpl<*>
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
H A D | AccessibilityModule.kt | 19 import com.android.systemui.qs.tileimpl.QSTileImpl 39 fun bindColorInversionTile(colorInversionTile: ColorInversionTile): QSTileImpl<*> 45 fun bindNightDisplayTile(nightDisplayTile: NightDisplayTile): QSTileImpl<*> 51 fun bindReduceBrightColorsTile(reduceBrightColorsTile: ReduceBrightColorsTile): QSTileImpl<*> 57 fun bindOneHandedModeTile(oneHandedModeTile: OneHandedModeTile): QSTileImpl<*> 63 fun bindColorCorrectionTile(colorCorrectionTile: ColorCorrectionTile): QSTileImpl<*> 69 fun bindDreamTile(dreamTile: DreamTile): QSTileImpl<*> 75 fun bindFontScalingTile(fontScalingTile: FontScalingTile): QSTileImpl<*>
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/ |
H A D | ConnectivityModule.kt | 21 import com.android.systemui.qs.tileimpl.QSTileImpl 43 fun bindBluetoothTile(bluetoothTile: BluetoothTile): QSTileImpl<*> 49 fun bindCastTile(castTile: CastTile): QSTileImpl<*> 55 fun bindHotspotTile(hotspotTile: HotspotTile): QSTileImpl<*> 61 fun bindAirplaneModeTile(airplaneModeTile: AirplaneModeTile): QSTileImpl<*> 67 fun bindDataSaverTile(dataSaverTile: DataSaverTile): QSTileImpl<*> 70 @Binds @IntoMap @StringKey(NfcTile.TILE_SPEC) fun bindNfcTile(nfcTile: NfcTile): QSTileImpl<*> 81 ): QSTileImpl<*> =
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
H A D | ResourceIconTest.kt | 35 QSTileImpl.ResourceIcon.get(it) 38 assertEquals(it, (QSTileImpl.ResourceIcon.get(it) as QSTileImpl.ResourceIcon).mResId)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
H A D | QSFactoryImpl.java | 55 protected final Map<String, Provider<QSTileImpl<?>>> mTileMap; 63 Map<String, Provider<QSTileImpl<?>>> tileMap) { in QSFactoryImpl() 72 QSTileImpl tile = createTileInternal(tileSpec); in createTile() 81 protected QSTileImpl createTileInternal(String tileSpec) { in createTileInternal()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
H A D | FlashlightTileTest.kt | 18 import com.android.systemui.qs.tileimpl.QSTileImpl 91 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_flashlight_icon_on)) 103 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_flashlight_icon_off)) 114 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_flashlight_icon_off))
|
H A D | CameraToggleTileTest.kt | 33 import com.android.systemui.qs.tileimpl.QSTileImpl 108 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_camera_access_icon_on)) 118 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_camera_access_icon_off))
|
H A D | DataSaverTileTest.kt | 34 import com.android.systemui.qs.tileimpl.QSTileImpl 101 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_data_saver_icon_on)) 111 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_data_saver_icon_off))
|
H A D | MicrophoneToggleTileTest.kt | 33 import com.android.systemui.qs.tileimpl.QSTileImpl 108 assertThat(state.icon).isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_mic_access_on)) 117 assertThat(state.icon).isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_mic_access_off))
|
H A D | HotspotTileTest.java | 43 import com.android.systemui.qs.tileimpl.QSTileImpl; 147 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_hotspot_icon_off)); in testIcon_whenDisabled_isOffState() 159 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_hotspot_icon_search)); in testIcon_whenTransient_isSearchState() 171 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_hotspot_icon_on)); in testIcon_whenEnabled_isOnState()
|
H A D | AirplaneModeTileTest.kt | 35 import com.android.systemui.qs.tileimpl.QSTileImpl 111 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_airplane_icon_off)) 121 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_airplane_icon_on))
|
H A D | BluetoothTileTest.kt | 24 import com.android.systemui.qs.tileimpl.QSTileImpl 104 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_bluetooth_icon_off)) 116 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_bluetooth_icon_off)) 128 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_bluetooth_icon_on)) 140 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_bluetooth_icon_search))
|
H A D | NightDisplayTileTest.kt | 36 import com.android.systemui.qs.tileimpl.QSTileImpl 118 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_nightlight_icon_off)) 129 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_nightlight_icon_on))
|
H A D | ColorInversionTileTest.java | 44 import com.android.systemui.qs.tileimpl.QSTileImpl; 136 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_invert_colors_icon_off)); in testIcon_whenColorInversionDisabled_isOffState() 146 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_invert_colors_icon_on)); in testIcon_whenColorInversionEnabled_isOnState()
|
H A D | LocationTileTest.kt | 35 import com.android.systemui.qs.tileimpl.QSTileImpl 116 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_location_icon_off)) 127 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_location_icon_on))
|
H A D | UiModeNightTileTest.kt | 37 import com.android.systemui.qs.tileimpl.QSTileImpl 116 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_light_dark_theme_icon_on)) 127 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_light_dark_theme_icon_off))
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/ |
H A D | BatterySaverModule.kt | 3 import com.android.systemui.qs.tileimpl.QSTileImpl 17 fun bindBatterySaverTile(batterySaverTile: BatterySaverTile): QSTileImpl<*>
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/rotationlock/ |
H A D | RotationLockModule.kt | 3 import com.android.systemui.qs.tileimpl.QSTileImpl 17 fun bindRotationLockTile(rotationLockTile: RotationLockTile): QSTileImpl<*>
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
H A D | ScreenRecordModule.kt | 19 import com.android.systemui.qs.tileimpl.QSTileImpl 32 fun bindScreenRecordTile(screenRecordTile: ScreenRecordTile): QSTileImpl<*>
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qrcodescanner/dagger/ |
H A D | QRCodeScannerModule.kt | 19 import com.android.systemui.qs.tileimpl.QSTileImpl 33 fun bindQRCodeScannerTile(qrCodeScannerTile: QRCodeScannerTile): QSTileImpl<*>
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
H A D | GarbageMonitorModule.kt | 20 import com.android.systemui.qs.tileimpl.QSTileImpl 38 fun bindMemoryTile(memoryTile: GarbageMonitor.MemoryTile): QSTileImpl<*>
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
H A D | TileRequestDialog.kt | 29 import com.android.systemui.qs.tileimpl.QSTileImpl 30 import com.android.systemui.qs.tileimpl.QSTileImpl.ResourceIcon 76 QSTileImpl.DrawableIcon(it)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/dagger/ |
H A D | WalletModule.java | 25 import com.android.systemui.qs.tileimpl.QSTileImpl; 71 public abstract QSTileImpl<?> bindQuickAccessWalletTile( in bindQuickAccessWalletTile()
|
/aosp14/frameworks/base/packages/SystemUI/docs/ |
H A D | qs-tiles.md | 36 * [`QSTileImpl`](/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java): Abstract… 42 …temUI subclass from `QSTileImpl`, as it takes care of many common situations. Throughout this docu… 58 Setting any of these fields during `QSTileImpl#handleUpdateState` will update the UI after it. 70 …. These views are updated after the backend updates the `State` using `QSTileImpl#handleUpdateStat… 88 Each `QSTileImpl` can specify that they use a particular implementation of this class when creating… 108 …3. `QSTileImpl#handleClick`. This last call sets the new state for the device by using the associa… 111 …1. `QSTileImpl#refreshState`, maybe passing an object with necessary information regarding the new… 112 2. `QSTileImpl#handleRefreshState` 309 fun bindYourNewTile(yourNewTile: YourNewTile): QSTileImpl<*> 315 #### Abstract methods in QSTileImpl [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/model/ |
H A D | InternetTileModel.kt | 26 import com.android.systemui.qs.tileimpl.QSTileImpl 50 state.icon = QSTileImpl.ResourceIcon.get(iconId!!)
|