/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
D | QSTileViewImplTest.kt | 77 val state = QSTile.BooleanState() in testSecondaryLabelNotModified_booleanInactive() 89 val state = QSTile.BooleanState() in testSecondaryLabelNotModified_booleanActive() 136 val state = QSTile.BooleanState() in testSecondaryLabelDescription_booleanInactive_default() 149 val state = QSTile.BooleanState() in testSecondaryLabelDescription_booleanActive_default() 162 val state = QSTile.BooleanState() in testShowCustomDrawableViewBooleanState() 184 val state = QSTile.BooleanState() in testShowCustomDrawableViewBooleanStateForceChevron() 206 val state = QSTile.BooleanState() in testShowChevronBooleanStateForcheShow() 217 val state = QSTile.BooleanState() in testNoImageShown() 227 val state = QSTile.BooleanState() in testUseStateStringsForKnownSpec_Boolean()
|
D | QSTileImplTest.java | 385 private static class TileImpl extends QSTileImpl<QSTile.BooleanState> { 404 public BooleanState newTileState() { in newTileState() 405 return new BooleanState(); in newTileState() 414 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | FlashlightTile.java | 37 import com.android.systemui.plugins.qs.QSTile.BooleanState; 47 public class FlashlightTile extends QSTileImpl<BooleanState> implements 77 public BooleanState newTileState() { in newTileState() 78 BooleanState state = new BooleanState(); in newTileState() 118 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
|
D | WorkModeTile.java | 36 import com.android.systemui.plugins.qs.QSTile.BooleanState; 46 public class WorkModeTile extends QSTileImpl<BooleanState> implements 71 public BooleanState newTileState() { in newTileState() 72 return new BooleanState(); in newTileState() 107 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
|
D | RotationLockTile.java | 38 import com.android.systemui.plugins.qs.QSTile.BooleanState; 49 public class RotationLockTile extends QSTileImpl<BooleanState> { 73 public BooleanState newTileState() { in newTileState() 74 return new BooleanState(); in newTileState() 95 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
|
D | BatterySaverTile.java | 36 import com.android.systemui.plugins.qs.QSTile.BooleanState; 47 public class BatterySaverTile extends QSTileImpl<BooleanState> implements 94 public BooleanState newTileState() { in newTileState() 95 return new BooleanState(); in newTileState() 139 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
|
D | ScreenRecordTile.java | 49 public class ScreenRecordTile extends QSTileImpl<QSTile.BooleanState> 78 public BooleanState newTileState() { in newTileState() 79 BooleanState state = new BooleanState(); in newTileState() 98 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
|
D | NfcTile.java | 43 import com.android.systemui.plugins.qs.QSTile.BooleanState; 52 public class NfcTile extends QSTileImpl<BooleanState> { 80 public BooleanState newTileState() { in newTileState() 81 return new BooleanState(); in newTileState() 134 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
|
D | DataSaverTile.java | 36 import com.android.systemui.plugins.qs.QSTile.BooleanState; 46 public class DataSaverTile extends QSTileImpl<BooleanState> implements 70 public BooleanState newTileState() { in newTileState() 71 return new BooleanState(); in newTileState() 112 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
|
D | ColorInversionTile.java | 39 import com.android.systemui.plugins.qs.QSTile.BooleanState; 51 public class ColorInversionTile extends QSTileImpl<BooleanState> { 95 public BooleanState newTileState() { in newTileState() 96 return new BooleanState(); in newTileState() 131 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
|
D | LocationTile.java | 37 import com.android.systemui.plugins.qs.QSTile.BooleanState; 49 public class LocationTile extends QSTileImpl<BooleanState> { 79 public BooleanState newTileState() { in newTileState() 80 return new BooleanState(); in newTileState() 108 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
|
D | ReduceBrightColorsTile.java | 49 public class ReduceBrightColorsTile extends QSTileImpl<QSTile.BooleanState> 88 public BooleanState newTileState() { in newTileState() 89 return new BooleanState(); in newTileState() 108 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
|
D | AirplaneModeTile.java | 45 import com.android.systemui.plugins.qs.QSTile.BooleanState; 57 public class AirplaneModeTile extends QSTileImpl<BooleanState> { 93 public BooleanState newTileState() { in newTileState() 94 return new BooleanState(); in newTileState() 124 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
|
D | SensorPrivacyToggleTile.java | 51 public abstract class SensorPrivacyToggleTile extends QSTileImpl<QSTile.BooleanState> implements 90 public BooleanState newTileState() { in newTileState() 91 return new BooleanState(); in newTileState() 108 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
|
D | HotspotTile.java | 38 import com.android.systemui.plugins.qs.QSTile.BooleanState; 49 public class HotspotTile extends QSTileImpl<BooleanState> { 105 public BooleanState newTileState() { in newTileState() 106 return new BooleanState(); in newTileState() 126 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
|
D | NightDisplayTile.java | 45 import com.android.systemui.plugins.qs.QSTile.BooleanState; 61 public class NightDisplayTile extends QSTileImpl<BooleanState> implements 106 public BooleanState newTileState() { in newTileState() 107 return new BooleanState(); in newTileState() 144 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
|
D | UiModeNightTile.java | 59 public class UiModeNightTile extends QSTileImpl<QSTile.BooleanState> implements 102 public BooleanState newTileState() { in newTileState() 103 return new BooleanState(); in newTileState() 117 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
|
D | CastTile.java | 47 import com.android.systemui.plugins.qs.QSTile.BooleanState; 69 public class CastTile extends QSTileImpl<BooleanState> { 115 public BooleanState newTileState() { in newTileState() 116 BooleanState state = new BooleanState(); in newTileState() 202 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
|
D | BluetoothTile.java | 48 import com.android.systemui.plugins.qs.QSTile.BooleanState; 64 public class BluetoothTile extends QSTileImpl<BooleanState> { 95 public BooleanState newTileState() { in newTileState() 96 return new BooleanState(); in newTileState() 132 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
|
D | DndTile.java | 61 import com.android.systemui.plugins.qs.QSTile.BooleanState; 73 public class DndTile extends QSTileImpl<BooleanState> { 132 public BooleanState newTileState() { in newTileState() 133 return new BooleanState(); in newTileState() 227 protected void handleUpdateState(BooleanState state, Object arg) { in handleUpdateState()
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
D | QSTile.java | 247 @ProvidesInterface(version = BooleanState.VERSION) 248 public static class BooleanState extends State { class 255 final BooleanState o = (BooleanState) other; in copyTo() 274 BooleanState state = new BooleanState(); in copy() 281 public static final class SignalState extends BooleanState {
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | CustomTileTest.kt | 145 assertTrue(customTile.state is QSTile.BooleanState) in testToggleableTileHasBooleanState() 146 assertTrue(customTile.newTileState() is QSTile.BooleanState) in testToggleableTileHasBooleanState() 151 assertFalse(customTile.state is QSTile.BooleanState) in testRegularTileHasNotBooleanState() 152 assertFalse(customTile.newTileState() is QSTile.BooleanState) in testRegularTileHasNotBooleanState() 167 assertTrue(state is QSTile.BooleanState) in testValueUpdatedInBooleanTile() 171 assertFalse((state as QSTile.BooleanState).value) in testValueUpdatedInBooleanTile()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSTileViewImpl.kt | 47 import com.android.systemui.plugins.qs.QSTile.BooleanState in <lambda>() 383 if (state is BooleanState) { in <lambda>() 483 } else if (state !is BooleanState || state.forceExpandIcon) { in <lambda>() 499 return if (state.state == Tile.STATE_UNAVAILABLE || state is BooleanState) { in <lambda>()
|
D | QSTileImpl.java | 323 if (mState instanceof BooleanState) { in populate() 324 logMaker.addTaggedData(FIELD_QS_VALUE, ((BooleanState) mState).value ? 1 : 0); in populate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | CustomTile.java | 337 return new BooleanState(); in newTileState() 436 if (state instanceof BooleanState) { in handleUpdateState() 438 ((BooleanState) state).value = (state.state == Tile.STATE_ACTIVE); in handleUpdateState()
|