Home
last modified time | relevance | path

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

1234

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSIconViewImplTest_311121830.kt57 icon = QSTileImpl.ResourceIcon.get(R.drawable.ic_qs_no_internet_available) in alwaysLastIcon()
62 icon = QSTileImpl.ResourceIcon.get(WifiIcons.WIFI_NO_INTERNET_ICONS[4]) in alwaysLastIcon()
67 icon = QSTileImpl.ResourceIcon.get(WifiIcons.WIFI_FULL_ICONS[4]) in alwaysLastIcon()
97 icon = QSTileImpl.ResourceIcon.get(WifiIcons.WIFI_FULL_ICONS[4]) in alwaysLastIcon_twoStateChanges()
102 icon = QSTileImpl.ResourceIcon.get(WifiIcons.WIFI_NO_INTERNET_ICONS[4]) in alwaysLastIcon_twoStateChanges()
107 icon = QSTileImpl.ResourceIcon.get(WifiIcons.WIFI_FULL_ICONS[3]) in alwaysLastIcon_twoStateChanges()
112 icon = QSTileImpl.ResourceIcon.get(WifiIcons.WIFI_NO_NETWORK) in alwaysLastIcon_twoStateChanges()
DResourceIconTest.kt35 QSTileImpl.ResourceIcon.get(it) in testMultipleThreadedPut()
38 assertEquals(it, (QSTileImpl.ResourceIcon.get(it) as QSTileImpl.ResourceIcon).mResId) in testMultipleThreadedPut()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSFactoryImpl.java51 protected final Map<String, Provider<QSTileImpl<?>>> mTileMap;
59 Map<String, Provider<QSTileImpl<?>>> tileMap) { in QSFactoryImpl()
68 QSTileImpl tile = createTileInternal(tileSpec); in createTile()
78 protected QSTileImpl createTileInternal(String tileSpec) { in createTileInternal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DConnectivityModule.kt24 import com.android.systemui.qs.tileimpl.QSTileImpl
65 fun bindBluetoothTile(bluetoothTile: BluetoothTile): QSTileImpl<*> in bindBluetoothTile()
71 fun bindCastTile(castTile: CastTile): QSTileImpl<*> in bindBluetoothTile()
77 fun bindHotspotTile(hotspotTile: HotspotTile): QSTileImpl<*> in bindBluetoothTile()
83 fun bindAirplaneModeTile(airplaneModeTile: AirplaneModeTile): QSTileImpl<*> in bindBluetoothTile()
89 fun bindDataSaverTile(dataSaverTile: DataSaverTile): QSTileImpl<*> in bindBluetoothTile()
92 @Binds @IntoMap @StringKey(NfcTile.TILE_SPEC) fun bindNfcTile(nfcTile: NfcTile): QSTileImpl<*> in bindBluetoothTile()
132 ): QSTileImpl<*> = in bindBluetoothTile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/rotationlock/
DRotationLockModule.kt3 import com.android.systemui.qs.tileimpl.QSTileImpl
17 fun bindRotationLockTile(rotationLockTile: RotationLockTile): QSTileImpl<*>
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DFlashlightTileTest.kt18 import com.android.systemui.qs.tileimpl.QSTileImpl
91 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_flashlight_icon_on)) in testIcon_whenFlashlightEnabled_isOnState()
103 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_flashlight_icon_off)) in testIcon_whenFlashlightDisabled_isOffState()
114 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_flashlight_icon_off)) in testIcon_whenFlashlightUnavailable_isOffState()
DDataSaverTileTest.kt33 import com.android.systemui.qs.tileimpl.QSTileImpl
104 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_data_saver_icon_on)) in testIcon_whenDataSaverEnabled_isOnState()
114 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_data_saver_icon_off)) in testIcon_whenDataSaverDisabled_isOffState()
DHotspotTileTest.java42 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()
DNightDisplayTileTest.kt36 import com.android.systemui.qs.tileimpl.QSTileImpl
118 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_nightlight_icon_off)) in testIcon_whenDisabled_showsOffState()
129 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_nightlight_icon_on)) in testIcon_whenEnabled_showsOnState()
DAirplaneModeTileTest.kt35 import com.android.systemui.qs.tileimpl.QSTileImpl
121 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_airplane_icon_off)) in testIcon_whenDisabled_showsOffState()
131 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_airplane_icon_on)) in testIcon_whenEnabled_showsOnState()
DLocationTileTest.kt35 import com.android.systemui.qs.tileimpl.QSTileImpl
116 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_location_icon_off)) in testIcon_whenDisabled_isOffState()
127 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_location_icon_on)) in testIcon_whenEnabled_isOnState()
DColorInversionTileTest.java43 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()
DCameraToggleTileTest.kt35 import com.android.systemui.qs.tileimpl.QSTileImpl
113 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_camera_access_icon_on)) in testIcon_whenCameraAccessEnabled_isOnState()
123 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_camera_access_icon_off)) in testIcon_whenCameraAccessDisabled_isOffState()
DUiModeNightTileTest.kt37 import com.android.systemui.qs.tileimpl.QSTileImpl
116 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_light_dark_theme_icon_on)) in testIcon_whenNightModeOn_isOnState()
127 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_light_dark_theme_icon_off)) in testIcon_whenNightModeOn_isOffState()
DMicrophoneToggleTileTest.kt35 import com.android.systemui.qs.tileimpl.QSTileImpl
113 assertThat(state.icon).isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_mic_access_on)) in testIcon_whenMicrophoneAccessEnabled_isOnState()
122 assertThat(state.icon).isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_mic_access_off)) in testIcon_whenMicrophoneAccessDisabled_isOffState()
DBatterySaverTileTest.kt35 import com.android.systemui.qs.tileimpl.QSTileImpl
154 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_battery_saver_icon_off)) in testIcon_whenBatterySaverDisabled_isOffState()
165 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_battery_saver_icon_on)) in testIcon_whenBatterySaverEnabled_isOnState()
DReduceBrightColorsTileTest.java44 import com.android.systemui.qs.tileimpl.QSTileImpl;
155 assertEquals(state.icon, QSTileImpl.ResourceIcon.get(drawable.qs_extra_dim_icon_on)); in testIcon_whenTileEnabled_isOnState()
166 assertEquals(state.icon, QSTileImpl.ResourceIcon.get(drawable.qs_extra_dim_icon_off)); in testIcon_whenTileDisabled_isOffState()
DBluetoothTileTest.kt26 import com.android.systemui.qs.tileimpl.QSTileImpl
113 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_bluetooth_icon_off)) in testIcon_whenDisabled_isOffState()
125 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_bluetooth_icon_off)) in testIcon_whenDisconnected_isOffState()
137 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_bluetooth_icon_on)) in testIcon_whenConnected_isOnState()
149 .isEqualTo(QSTileImpl.ResourceIcon.get(R.drawable.qs_bluetooth_icon_search)) in testIcon_whenConnecting_isSearchState()
DRotationLockTileTest.java45 import com.android.systemui.qs.tileimpl.QSTileImpl;
250 assertEquals(state.icon, QSTileImpl.ResourceIcon.get(R.drawable.qs_auto_rotate_icon_off)); in testIcon_whenDisabled_isOffState()
260 assertEquals(state.icon, QSTileImpl.ResourceIcon.get(R.drawable.qs_auto_rotate_icon_on)); in testIcon_whenEnabled_isOnState()
264 private void destroyTile(QSTileImpl<?> tile) { in destroyTile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/qs/
DQSAccessibilityModule.kt22 import com.android.systemui.qs.tileimpl.QSTileImpl
75 fun bindColorInversionTile(colorInversionTile: ColorInversionTile): QSTileImpl<*> in bindColorInversionTile()
81 fun bindNightDisplayTile(nightDisplayTile: NightDisplayTile): QSTileImpl<*> in bindColorInversionTile()
87 fun bindReduceBrightColorsTile(reduceBrightColorsTile: ReduceBrightColorsTile): QSTileImpl<*> in bindColorInversionTile()
93 fun bindOneHandedModeTile(oneHandedModeTile: OneHandedModeTile): QSTileImpl<*> in bindColorInversionTile()
99 fun bindColorCorrectionTile(colorCorrectionTile: ColorCorrectionTile): QSTileImpl<*> in bindColorInversionTile()
105 fun bindDreamTile(dreamTile: DreamTile): QSTileImpl<*> in bindColorInversionTile()
111 fun bindFontScalingTile(fontScalingTile: FontScalingTile): QSTileImpl<*> in bindColorInversionTile()
117 fun bindHearingDevicesTile(hearingDevicesTile: HearingDevicesTile): QSTileImpl<*> in bindColorInversionTile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileRequestDialog.kt29 import com.android.systemui.qs.tileimpl.QSTileImpl
30 import com.android.systemui.qs.tileimpl.QSTileImpl.ResourceIcon
84 QSTileImpl.DrawableIcon(it) in createTileView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DPolicyModule.kt25 import com.android.systemui.qs.tileimpl.QSTileImpl
76 @Binds @IntoMap @StringKey(DndTile.TILE_SPEC) fun bindDndTile(dndTile: DndTile): QSTileImpl<*> in bindDndTile()
82 fun bindWorkModeTile(workModeTile: WorkModeTile): QSTileImpl<*> in bindDndTile()
398 fun bindFlashlightTile(flashlightTile: FlashlightTile): QSTileImpl<*>
404 fun bindLocationTile(locationTile: LocationTile): QSTileImpl<*>
410 fun bindCameraToggleTile(cameraToggleTile: CameraToggleTile): QSTileImpl<*>
416 fun bindMicrophoneToggleTile(microphoneToggleTile: MicrophoneToggleTile): QSTileImpl<*>
422 fun bindAlarmTile(alarmTile: AlarmTile): QSTileImpl<*>
427 fun bindUiModeNightTile(uiModeNightTile: UiModeNightTile): QSTileImpl<*>
/frameworks/base/packages/SystemUI/src/com/android/systemui/recordissue/
DRecordIssueModule.kt21 import com.android.systemui.qs.tileimpl.QSTileImpl
38 fun bindRecordIssueTile(recordIssueTile: RecordIssueTile): QSTileImpl<*> in bindRecordIssueTile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/dagger/
DWalletModule.java26 import com.android.systemui.qs.tileimpl.QSTileImpl;
70 public abstract QSTileImpl<?> bindQuickAccessWalletTile( in bindQuickAccessWalletTile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/model/
DInternetTileModel.kt28 import com.android.systemui.qs.tileimpl.QSTileImpl
53 state.icon = QSTileImpl.ResourceIcon.get(iconId!!) in applyTo()

1234