/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
D | QSTileViewImplTest.kt | 31 import com.android.systemui.plugins.qs.QSTile 65 val state = QSTile.State() in testSecondaryLabelNotModified_unavailable() 77 val state = QSTile.BooleanState() in testSecondaryLabelNotModified_booleanInactive() 89 val state = QSTile.BooleanState() in testSecondaryLabelNotModified_booleanActive() 101 val state = QSTile.State() in testSecondaryLabelNotModified_availableNotBoolean_inactive() 112 val state = QSTile.State() in testSecondaryLabelNotModified_availableNotBoolean_active() 123 val state = QSTile.State() in testSecondaryLabelDescription_unavailable_default() 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() [all …]
|
D | QSIconViewImplTest.java | 35 import com.android.systemui.plugins.qs.QSTile.Icon; 36 import com.android.systemui.plugins.qs.QSTile.State;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | TileQueryHelper.java | 37 import com.android.systemui.plugins.qs.QSTile; 38 import com.android.systemui.plugins.qs.QSTile.State; 119 final ArrayList<QSTile> tilesToAdd = new ArrayList<>(); in addCurrentAndStockTiles() 125 final QSTile tile = host.createTile(spec); in addCurrentAndStockTiles() 141 QSTile mTile; 145 private class TileCollector implements QSTile.Callback { 150 TileCollector(List<QSTile> tilesToAdd, QSTileHost host) { in TileCollector() 151 for (QSTile tile: tilesToAdd) { in TileCollector() 191 QSTile tile = pair.mTile; in onStateChanged() 192 final QSTile.State state = tile.getState().copy(); in onStateChanged() [all …]
|
D | CustomizeTileView.kt | 22 import com.android.systemui.plugins.qs.QSTile 45 override fun handleStateChanged(state: QSTile.State) { in handleStateChanged() 68 fun changeState(state: QSTile.State) { in changeState()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | QuickAccessWalletTileTest.java | 68 import com.android.systemui.plugins.qs.QSTile; 260 QSTile.State state = new QSTile.State(); in testHandleUpdateState_updateLabelAndIcon() 272 QSTile.State state = new QSTile.State(); in testHandleUpdateState_updateLabelAndIcon_noIconFromApi() 273 QSTile.Icon icon = QSTileImpl.ResourceIcon.get(R.drawable.ic_wallet_lockscreen); in testHandleUpdateState_updateLabelAndIcon_noIconFromApi() 296 QSTile.State state = new QSTile.State(); in testHandleUpdateState_walletIsUpdating() 331 QSTile.State state = new QSTile.State(); in testHandleUpdateState_hasCard_deviceLocked_tileInactive() 347 QSTile.State state = new QSTile.State(); in testHandleUpdateState_hasCard_deviceUnlocked_tileActive() 363 QSTile.State state = new QSTile.State(); in testHandleUpdateState_noCard_tileInactive() 379 QSTile.State state = new QSTile.State(); in testHandleUpdateState_qawServiceUnavailable_tileUnavailable() 391 QSTile.State state = new QSTile.State(); in testHandleUpdateState_qawFeatureUnavailable_tileUnavailable()
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
D | QSFactory.java | 28 @DependsOn(target = QSTile.class) 35 QSTile createTile(String tileSpec); in createTile() 45 QSTileView createTileView(Context context, QSTile tile, boolean collapsedView); in createTileView()
|
D | QSTileView.java | 23 import com.android.systemui.plugins.qs.QSTile.State; 27 @DependsOn(target = QSTile.class) 58 public abstract void init(QSTile tile); in init()
|
D | QSTile.java | 29 import com.android.systemui.plugins.qs.QSTile.Callback; 30 import com.android.systemui.plugins.qs.QSTile.Icon; 31 import com.android.systemui.plugins.qs.QSTile.State; 36 @ProvidesInterface(version = QSTile.VERSION) 42 public interface QSTile { interface
|
D | QSIconView.java | 22 import com.android.systemui.plugins.qs.QSTile.State;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSPanelControllerBase.java | 34 import com.android.systemui.plugins.qs.QSTile; 193 public void setTiles(Collection<QSTile> tiles, boolean collapsedView) { in setTiles() 205 for (QSTile tile : tiles) { in setTiles() 217 private void addTile(final QSTile tile, boolean collapsedView) { in addTile() 236 protected QSTile getTile(String subPanel) { in getTile() 249 QSTileView getTileView(QSTile tile) { in getTileView() 293 QSTile tile = getTile(subPanel); in openDetails() 367 QSTile tile = mRecords.get(i).tile; in logTiles() 413 public QSTile tile; 416 public QSTile.Callback callback;
|
D | QuickQSPanel.java | 27 import com.android.systemui.plugins.qs.QSTile; 28 import com.android.systemui.plugins.qs.QSTile.SignalState; 29 import com.android.systemui.plugins.qs.QSTile.State; 221 QSTile tile = mRecords.get(i).tile; in setListening()
|
D | QSTileRevealController.java | 10 import com.android.systemui.plugins.qs.QSTile; 58 public void updateRevealedTiles(Collection<QSTile> tiles) { in updateRevealedTiles() 60 for (QSTile tile : tiles) { in updateRevealedTiles()
|
D | QSHost.java | 21 import com.android.systemui.plugins.qs.QSTile; 35 Collection<QSTile> getTiles(); in getTiles()
|
D | QuickQSPanelController.java | 28 import com.android.systemui.plugins.qs.QSTile; 95 List<QSTile> tiles = new ArrayList<>(); in setTiles() 96 for (QSTile tile : mHost.getTiles()) { in setTiles()
|
D | QSTileHost.java | 44 import com.android.systemui.plugins.qs.QSTile; 87 private final LinkedHashMap<String, QSTile> mTiles = new LinkedHashMap<>(); 211 public Collection<QSTile> getTiles() { in getTiles() 283 final LinkedHashMap<String, QSTile> newTiles = new LinkedHashMap<>(); in onTuningChanged() 285 QSTile tile = mTiles.get(tileSpec); in onTuningChanged() 455 public QSTile createTile(String tileSpec) { in createTile() 457 QSTile t = mQsFactories.get(i).createTile(tileSpec); in createTile() 470 public QSTileView createTileView(Context themedContext, QSTile tile, boolean collapsedView) { in createTileView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | AlarmTile.kt | 22 import com.android.systemui.plugins.qs.QSTile in <lambda>() 43 ) : QSTileImpl<QSTile.State>( in <lambda>() 67 override fun newTileState(): QSTile.State { in <lambda>() 68 return QSTile.State().apply { in <lambda>() 87 override fun handleUpdateState(state: QSTile.State, arg: Any?) { in <lambda>()
|
D | DeviceControlsTile.kt | 39 import com.android.systemui.plugins.qs.QSTile 59 ) : QSTileImpl<QSTile.State>( 92 override fun newTileState(): QSTile.State { in newTileState() 93 return QSTile.State().also { in newTileState() 132 override fun handleUpdateState(state: QSTile.State, arg: Any?) { in handleUpdateState()
|
D | UserTile.java | 36 import com.android.systemui.plugins.qs.QSTile; 37 import com.android.systemui.plugins.qs.QSTile.State; 75 return new QSTile.State(); in newTileState()
|
D | ReduceBrightColorsTile.java | 38 import com.android.systemui.plugins.qs.QSTile; 49 public class ReduceBrightColorsTile extends QSTileImpl<QSTile.BooleanState>
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | CustomTileTest.kt | 37 import com.android.systemui.plugins.qs.QSTile 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 | 46 import com.android.systemui.plugins.qs.QSTile in <lambda>() 47 import com.android.systemui.plugins.qs.QSTile.BooleanState in <lambda>() 133 setColor(getBackgroundColorForState(QSTile.State.DEFAULT_STATE)) in <lambda>() 199 setLabelColor(getLabelColorForState(QSTile.State.DEFAULT_STATE)) in <lambda>() 200 setSecondaryLabelColor(getSecondaryLabelColorForState(QSTile.State.DEFAULT_STATE)) in <lambda>() 209 setChevronColor(getChevronColorForState(QSTile.State.DEFAULT_STATE)) in <lambda>() 239 override fun init(tile: QSTile) { in <lambda>() 257 override fun onStateChanged(state: QSTile.State) { in <lambda>() 348 protected open fun handleStateChanged(state: QSTile.State) { in <lambda>() 478 private fun loadSideViewDrawableIfNecessary(state: QSTile.State) { in <lambda>() [all …]
|
D | QSIconViewImpl.java | 37 import com.android.systemui.plugins.qs.QSTile; 38 import com.android.systemui.plugins.qs.QSTile.State; 52 private QSTile.Icon mLastIcon; 109 final QSTile.Icon icon = state.iconSupplier != null ? state.iconSupplier.get() : state.icon; in updateIcon() 152 protected void setIcon(ImageView iv, QSTile.State state, boolean allowAnimations) { in setIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/logging/ |
D | QSLogger.kt | 26 import com.android.systemui.plugins.qs.QSTile 105 fun logTileUpdated(tileSpec: String, state: QSTile.State) { in logTileUpdated() 111 if (state is QSTile.SignalState) { in logTileUpdated()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/ |
D | TileQueryHelperTest.java | 58 import com.android.systemui.plugins.qs.QSTile; 114 private QSTile.State mState; 124 mState = new QSTile.State(); in setup() 290 QSTile t = mock(QSTile.class); in testQueryTiles_notAvailableDestroyed_tileSpecIsSet() 304 private static class FakeQSTile implements QSTile {
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QuickQSPanelControllerTest.kt | 26 import com.android.systemui.plugins.qs.QSTile 62 private lateinit var tile: QSTile
|