Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DFlashlightTile.java27 import com.android.systemui.plugins.qs.QSTile.BooleanState;
35 public class FlashlightTile extends QSTileImpl<BooleanState> implements
54 public BooleanState newTileState() { in newTileState()
55 BooleanState state = new BooleanState(); in newTileState()
99 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DColorInversionTile.java28 import com.android.systemui.plugins.qs.QSTile.BooleanState;
36 public class ColorInversionTile extends QSTileImpl<BooleanState> {
63 public BooleanState newTileState() { in newTileState()
64 return new BooleanState(); in newTileState()
94 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DWorkModeTile.java26 import com.android.systemui.plugins.qs.QSTile.BooleanState;
34 public class WorkModeTile extends QSTileImpl<BooleanState> implements
48 public BooleanState newTileState() { in newTileState()
49 return new BooleanState(); in newTileState()
88 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DRotationLockTile.java28 import com.android.systemui.plugins.qs.QSTile.BooleanState;
37 public class RotationLockTile extends QSTileImpl<BooleanState> {
50 public BooleanState newTileState() { in newTileState()
51 return new BooleanState(); in newTileState()
75 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DBatterySaverTile.java25 import com.android.systemui.plugins.qs.QSTile.BooleanState;
33 public class BatterySaverTile extends QSTileImpl<BooleanState> implements
60 public BooleanState newTileState() { in newTileState()
61 return new BooleanState(); in newTileState()
99 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DNfcTile.java32 import com.android.systemui.plugins.qs.QSTile.BooleanState;
39 public class NfcTile extends QSTileImpl<BooleanState> {
53 public BooleanState newTileState() { in newTileState()
54 return new BooleanState(); in newTileState()
105 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DDataSaverTile.java26 import com.android.systemui.plugins.qs.QSTile.BooleanState;
35 public class DataSaverTile extends QSTileImpl<BooleanState> implements
48 public BooleanState newTileState() { in newTileState()
49 return new BooleanState(); in newTileState()
94 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DLocationTile.java28 import com.android.systemui.plugins.qs.QSTile.BooleanState;
38 public class LocationTile extends QSTileImpl<BooleanState> {
59 public BooleanState newTileState() { in newTileState()
60 return new BooleanState(); in newTileState()
92 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DAirplaneModeTile.java37 import com.android.systemui.plugins.qs.QSTile.BooleanState;
45 public class AirplaneModeTile extends QSTileImpl<BooleanState> {
66 public BooleanState newTileState() { in newTileState()
67 return new BooleanState(); in newTileState()
100 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DUiModeNightTile.java42 public class UiModeNightTile extends QSTileImpl<QSTile.BooleanState> implements
72 public BooleanState newTileState() { in newTileState()
73 return new BooleanState(); in newTileState()
87 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DHotspotTile.java28 import com.android.systemui.plugins.qs.QSTile.BooleanState;
37 public class HotspotTile extends QSTileImpl<BooleanState> {
84 public BooleanState newTileState() { in newTileState()
85 return new BooleanState(); in newTileState()
105 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DNightDisplayTile.java38 import com.android.systemui.plugins.qs.QSTile.BooleanState;
51 public class NightDisplayTile extends QSTileImpl<BooleanState> implements
79 public BooleanState newTileState() { in newTileState()
80 return new BooleanState(); in newTileState()
115 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DCastTile.java40 import com.android.systemui.plugins.qs.QSTile.BooleanState;
58 public class CastTile extends QSTileImpl<BooleanState> {
91 public BooleanState newTileState() { in newTileState()
92 BooleanState state = new BooleanState(); in newTileState()
182 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DBluetoothTile.java42 import com.android.systemui.plugins.qs.QSTile.BooleanState;
56 public class BluetoothTile extends QSTileImpl<BooleanState> {
80 public BooleanState newTileState() { in newTileState()
81 return new BooleanState(); in newTileState()
121 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
DDndTile.java57 import com.android.systemui.plugins.qs.QSTile.BooleanState;
67 public class DndTile extends QSTileImpl<BooleanState> {
130 public BooleanState newTileState() { in newTileState()
131 return new BooleanState(); in newTileState()
225 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/
DQSTile.java187 @ProvidesInterface(version = BooleanState.VERSION)
188 public static class BooleanState extends State { class
194 final BooleanState o = (BooleanState) other; in copyTo()
209 BooleanState state = new BooleanState(); in copy()
216 public static final class SignalState extends BooleanState {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileImplTest.java224 private static class TileImpl extends QSTileImpl<QSTile.BooleanState> {
230 public BooleanState newTileState() { in newTileState()
231 return new BooleanState(); in newTileState()
240 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileBaseView.java49 import com.android.systemui.plugins.qs.QSTile.BooleanState;
220 if (state instanceof QSTile.BooleanState) { in handleStateChanged()
221 boolean newState = ((BooleanState) state).value; in handleStateChanged()
DQSTileImpl.java226 if (mState instanceof BooleanState) { in populate()
227 logMaker.addTaggedData(FIELD_QS_VALUE, ((BooleanState) mState).value ? 1 : 0); in populate()