Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DColorInversionTile.java30 import com.android.systemui.plugins.qs.QSTile.BooleanState;
35 public class ColorInversionTile extends QSTileImpl<BooleanState> {
61 public BooleanState newTileState() { in newTileState()
62 return new BooleanState(); in newTileState()
92 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DRotationLockTile.java32 import com.android.systemui.plugins.qs.QSTile.BooleanState;
38 public class RotationLockTile extends QSTileImpl<BooleanState> {
49 public BooleanState newTileState() { in newTileState()
50 return new BooleanState(); in newTileState()
79 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DWorkModeTile.java27 import com.android.systemui.plugins.qs.QSTile.BooleanState;
33 public class WorkModeTile extends QSTileImpl<BooleanState> implements
45 public BooleanState newTileState() { in newTileState()
46 return new BooleanState(); in newTileState()
89 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DNfcTile.java34 import com.android.systemui.plugins.qs.QSTile.BooleanState;
38 public class NfcTile extends QSTileImpl<BooleanState> {
49 public BooleanState newTileState() { in newTileState()
50 return new BooleanState(); in newTileState()
98 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DFlashlightTile.java29 import com.android.systemui.plugins.qs.QSTile.BooleanState;
35 public class FlashlightTile extends QSTileImpl<BooleanState> implements
52 public BooleanState newTileState() { in newTileState()
53 return new BooleanState(); in newTileState()
100 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DBatterySaverTile.java27 import com.android.systemui.plugins.qs.QSTile.BooleanState;
32 public class BatterySaverTile extends QSTileImpl<BooleanState> implements
48 public BooleanState newTileState() { in newTileState()
49 return new BooleanState(); in newTileState()
82 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DDataSaverTile.java25 import com.android.systemui.plugins.qs.QSTile.BooleanState;
32 public class DataSaverTile extends QSTileImpl<BooleanState> implements
43 public BooleanState newTileState() { in newTileState()
44 return new BooleanState(); in newTileState()
92 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DLocationTile.java31 import com.android.systemui.plugins.qs.QSTile.BooleanState;
38 public class LocationTile extends QSTileImpl<BooleanState> {
53 public BooleanState newTileState() { in newTileState()
54 return new BooleanState(); in newTileState()
93 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DAirplaneModeTile.java38 import com.android.systemui.plugins.qs.QSTile.BooleanState;
44 public class AirplaneModeTile extends QSTileImpl<BooleanState> {
63 public BooleanState newTileState() { in newTileState()
64 return new BooleanState(); in newTileState()
97 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DNightDisplayTile.java35 import com.android.systemui.plugins.qs.QSTile.BooleanState;
41 public class NightDisplayTile extends QSTileImpl<BooleanState>
66 public BooleanState newTileState() { in newTileState()
67 return new BooleanState(); in newTileState()
102 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DCastTile.java40 import com.android.systemui.plugins.qs.QSTile.BooleanState;
54 public class CastTile extends QSTileImpl<BooleanState> {
80 public BooleanState newTileState() { in newTileState()
81 return new BooleanState(); in newTileState()
148 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DBluetoothTile.java45 import com.android.systemui.plugins.qs.QSTile.BooleanState;
57 public class BluetoothTile extends QSTileImpl<BooleanState> {
77 public BooleanState newTileState() { in newTileState()
78 return new BooleanState(); in newTileState()
123 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DDndTile.java58 import com.android.systemui.plugins.qs.QSTile.BooleanState;
66 public class DndTile extends QSTileImpl<BooleanState> {
124 public BooleanState newTileState() { in newTileState()
125 return new BooleanState(); in newTileState()
217 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/
DQSTile.java181 @ProvidesInterface(version = BooleanState.VERSION)
182 public static class BooleanState extends State { class
188 final BooleanState o = (BooleanState) other; in copyTo()
203 BooleanState state = new BooleanState(); in copy()
210 public static final class SignalState extends BooleanState {
249 public static class AirplaneBooleanState extends BooleanState {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileImplTest.java172 private static class TileImpl extends QSTileImpl<QSTile.BooleanState> {
178 public BooleanState newTileState() { in newTileState()
179 return new BooleanState(); in newTileState()
188 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileBaseView.java44 import com.android.systemui.plugins.qs.QSTile.BooleanState;
199 if (state instanceof QSTile.BooleanState) { in handleStateChanged()
200 boolean newState = ((BooleanState) state).value; in handleStateChanged()
DQSTileImpl.java194 if (mState instanceof BooleanState) { in populate()
195 logMaker.addTaggedData(FIELD_QS_VALUE, ((BooleanState) mState).value ? 1 : 0); in populate()