Home
last modified time | relevance | path

Searched refs:BooleanState (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DHotspotTileTest.java75 private QSTile.BooleanState mState = new QSTile.BooleanState();
140 QSTile.BooleanState state = new QSTile.BooleanState(); in testIcon_whenDisabled_isOffState()
152 QSTile.BooleanState state = new QSTile.BooleanState(); in testIcon_whenTransient_isSearchState()
164 QSTile.BooleanState state = new QSTile.BooleanState(); in testIcon_whenEnabled_isOnState()
DHearingDevicesTileTest.java46 import com.android.systemui.plugins.qs.QSTile.BooleanState;
162 BooleanState activeState = new BooleanState(); in handleUpdateState_activeHearingDevice_stateActiveConnectedLabel()
175 BooleanState disconnectedState = new BooleanState(); in handleUpdateState_bondedInactiveHearingDevice_stateInactiveDisconnectedLabel()
188 BooleanState inactiveState = new BooleanState(); in handleUpdateState_noHearingDevice_stateInactive()
DBluetoothTileTest.kt107 val state = QSTile.BooleanState() in testIcon_whenDisabled_isOffState()
118 val state = QSTile.BooleanState() in testIcon_whenDisconnected_isOffState()
130 val state = QSTile.BooleanState() in testIcon_whenConnected_isOnState()
142 val state = QSTile.BooleanState() in testIcon_whenConnecting_isSearchState()
155 val state = QSTile.BooleanState() in testSecondaryLabel_whenBatteryMetadataAvailable_isMetadataBatteryLevelState()
173 val state = QSTile.BooleanState() in testSecondaryLabel_whenBatteryMetadataUnavailable_isBluetoothBatteryLevelState()
233 val state = QSTile.BooleanState() in testMetadataListener_whenDisconnected_isUnregistered()
246 val state = QSTile.BooleanState() in testMetadataListener_whenTileNotListening_isUnregistered()
322 state: QSTile.BooleanState, in listenToDeviceMetadata()
DColorInversionTileTest.java131 QSTile.BooleanState state = new QSTile.BooleanState(); in testIcon_whenColorInversionDisabled_isOffState()
141 QSTile.BooleanState state = new QSTile.BooleanState(); in testIcon_whenColorInversionEnabled_isOnState()
DReduceBrightColorsTileTest.java151 QSTile.BooleanState state = new QSTile.BooleanState(); in testIcon_whenTileEnabled_isOnState()
162 QSTile.BooleanState state = new QSTile.BooleanState(); in testIcon_whenTileDisabled_isOffState()
DFlashlightTileTest.kt86 val state = QSTile.BooleanState() in testIcon_whenFlashlightEnabled_isOnState()
98 val state = QSTile.BooleanState() in testIcon_whenFlashlightDisabled_isOffState()
109 val state = QSTile.BooleanState() in testIcon_whenFlashlightUnavailable_isOffState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DFlashlightTile.java36 import com.android.systemui.plugins.qs.QSTile.BooleanState;
50 public class FlashlightTile extends QSTileImpl<BooleanState> implements
81 public BooleanState newTileState() { in newTileState()
82 BooleanState state = new BooleanState(); in newTileState()
122 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DColorInversionTile.java36 import com.android.systemui.plugins.qs.QSTile.BooleanState;
50 public class ColorInversionTile extends QSTileImpl<BooleanState> {
89 public BooleanState newTileState() { in newTileState()
90 return new BooleanState(); in newTileState()
121 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DOneHandedModeTile.java35 import com.android.systemui.plugins.qs.QSTile.BooleanState;
50 public class OneHandedModeTile extends QSTileImpl<BooleanState> {
95 public BooleanState newTileState() { in newTileState()
96 return new BooleanState(); in newTileState()
127 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DWorkModeTile.java39 import com.android.systemui.plugins.qs.QSTile.BooleanState;
51 public class WorkModeTile extends QSTileImpl<BooleanState> implements
81 public BooleanState newTileState() { in newTileState()
82 return new BooleanState(); in newTileState()
120 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DColorCorrectionTile.java35 import com.android.systemui.plugins.qs.QSTile.BooleanState;
49 public class ColorCorrectionTile extends QSTileImpl<BooleanState> {
90 public BooleanState newTileState() { in newTileState()
91 return new BooleanState(); in newTileState()
122 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DHearingDevicesTile.java37 import com.android.systemui.plugins.qs.QSTile.BooleanState;
49 public class HearingDevicesTile extends QSTileImpl<BooleanState> {
93 public BooleanState newTileState() { in newTileState()
94 return new BooleanState(); in newTileState()
103 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DBatterySaverTile.java36 import com.android.systemui.plugins.qs.QSTile.BooleanState;
49 public class BatterySaverTile extends QSTileImpl<BooleanState> implements
97 public BooleanState newTileState() { in newTileState()
98 return new BooleanState(); in newTileState()
147 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DLocationTile.java36 import com.android.systemui.plugins.qs.QSTile.BooleanState;
51 public class LocationTile extends QSTileImpl<BooleanState> {
85 public BooleanState newTileState() { in newTileState()
86 return new BooleanState(); in newTileState()
114 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DNfcTile.java42 import com.android.systemui.plugins.qs.QSTile.BooleanState;
53 public class NfcTile extends QSTileImpl<BooleanState> {
85 public BooleanState newTileState() { in newTileState()
86 return new BooleanState(); in newTileState()
139 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DInternetTileNewImpl.kt60 QSTileImpl<QSTile.BooleanState>( in <lambda>()
83 override fun newTileState(): QSTile.BooleanState { in <lambda>()
84 return QSTile.BooleanState().also { it.forceExpandIcon = true } in <lambda>()
98 override fun handleUpdateState(state: QSTile.BooleanState, arg: Any?) { in <lambda>()
DReduceBrightColorsTile.java50 public class ReduceBrightColorsTile extends QSTileImpl<QSTile.BooleanState>
90 public BooleanState newTileState() { in newTileState()
91 return new BooleanState(); in newTileState()
110 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DDataSaverTile.java37 import com.android.systemui.plugins.qs.QSTile.BooleanState;
49 public class DataSaverTile extends QSTileImpl<BooleanState> implements
84 public BooleanState newTileState() { in newTileState()
85 return new BooleanState(); in newTileState()
144 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DSensorPrivacyToggleTile.java53 public abstract class SensorPrivacyToggleTile extends QSTileImpl<QSTile.BooleanState> implements
98 public BooleanState newTileState() { in newTileState()
99 return new BooleanState(); in newTileState()
116 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DAirplaneModeTile.java49 import com.android.systemui.plugins.qs.QSTile.BooleanState;
67 public class AirplaneModeTile extends QSTileImpl<BooleanState> {
111 public BooleanState newTileState() { in newTileState()
112 return new BooleanState(); in newTileState()
157 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DRotationLockTile.java43 import com.android.systemui.plugins.qs.QSTile.BooleanState;
59 public class RotationLockTile extends QSTileImpl<BooleanState> implements
124 public BooleanState newTileState() { in newTileState()
125 return new BooleanState(); in newTileState()
146 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DHotspotTile.java40 import com.android.systemui.plugins.qs.QSTile.BooleanState;
53 public class HotspotTile extends QSTileImpl<BooleanState> {
110 public BooleanState newTileState() { in newTileState()
111 return new BooleanState(); in newTileState()
131 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DScreenRecordTile.java59 public class ScreenRecordTile extends QSTileImpl<QSTile.BooleanState>
113 public BooleanState newTileState() { in newTileState()
114 BooleanState state = new BooleanState(); in newTileState()
133 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DNightDisplayTile.java44 import com.android.systemui.plugins.qs.QSTile.BooleanState;
62 public class NightDisplayTile extends QSTileImpl<BooleanState> implements
110 public BooleanState newTileState() { in newTileState()
111 return new BooleanState(); in newTileState()
148 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileViewImplTest.kt81 val state = QSTile.BooleanState() in testSecondaryLabelNotModified_booleanInactive()
93 val state = QSTile.BooleanState() in testSecondaryLabelNotModified_booleanActive()
139 val state = QSTile.BooleanState() in testSecondaryLabelDescription_booleanInactive_default()
151 val state = QSTile.BooleanState() in testSecondaryLabelDescription_booleanActive_default()
163 val state = QSTile.BooleanState() in testShowCustomDrawableViewBooleanState()
185 val state = QSTile.BooleanState() in testShowCustomDrawableViewBooleanStateForceChevron()
207 val state = QSTile.BooleanState() in testShowChevronBooleanStateForcheShow()
218 val state = QSTile.BooleanState() in testNoImageShown()
228 val state = QSTile.BooleanState() in testUseStateStringsForKnownSpec_Boolean()
364 val state = QSTile.BooleanState() in testDisabledByPolicy_unavailableInStateDescription()

123