Home
last modified time | relevance | path

Searched refs:QSTileImpl (Results 1 – 25 of 76) sorted by relevance

1234

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DPolicyModule.kt17 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 DAccessibilityModule.kt19 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 DConnectivityModule.kt21 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 DResourceIconTest.kt35 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 DQSFactoryImpl.java55 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 DFlashlightTileTest.kt18 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 DCameraToggleTileTest.kt33 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 DDataSaverTileTest.kt34 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 DMicrophoneToggleTileTest.kt33 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 DHotspotTileTest.java43 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 DAirplaneModeTileTest.kt35 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 DBluetoothTileTest.kt24 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 DNightDisplayTileTest.kt36 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 DColorInversionTileTest.java44 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 DLocationTileTest.kt35 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 DUiModeNightTileTest.kt37 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 DBatterySaverModule.kt3 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 DRotationLockModule.kt3 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 DScreenRecordModule.kt19 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 DQRCodeScannerModule.kt19 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 DGarbageMonitorModule.kt20 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 DTileRequestDialog.kt29 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 DWalletModule.java25 import com.android.systemui.qs.tileimpl.QSTileImpl;
71 public abstract QSTileImpl<?> bindQuickAccessWalletTile( in bindQuickAccessWalletTile()
/aosp14/frameworks/base/packages/SystemUI/docs/
H A Dqs-tiles.md36 * [`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 DInternetTileModel.kt26 import com.android.systemui.qs.tileimpl.QSTileImpl
50 state.icon = QSTileImpl.ResourceIcon.get(iconId!!)

1234