/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | TileQueryHelper.java | 38 import com.android.systemui.plugins.qs.QSTile; 39 import com.android.systemui.plugins.qs.QSTile.State; 112 final ArrayList<QSTile> tilesToAdd = new ArrayList<>(); in addCurrentAndStockTiles() 117 final QSTile tile = host.createTile(spec); in addCurrentAndStockTiles() 133 for (QSTile tile : tilesToAdd) { in addCurrentAndStockTiles() 134 final QSTile.State state = tile.getState().copy(); in addCurrentAndStockTiles() 146 Collection<QSTile> params = host.getTiles(); in addPackageTiles() 199 private State getState(Collection<QSTile> tiles, String spec) { in getState() 200 for (QSTile tile : tiles) { in getState() 227 QSTile.State state = new QSTile.State(); in createStateAndAddTile() [all …]
|
D | CustomizeTileView.java | 22 import com.android.systemui.plugins.qs.QSTile; 39 protected void handleStateChanged(QSTile.State state) { in handleStateChanged()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | CustomTileTest.kt | 32 import com.android.systemui.plugins.qs.QSTile 109 assertTrue(customTile.state is QSTile.BooleanState) in testToggleableTileHasBooleanState() 110 assertTrue(customTile.newTileState() is QSTile.BooleanState) in testToggleableTileHasBooleanState() 115 assertFalse(customTile.state is QSTile.BooleanState) in testRegularTileHasNotBooleanState() 116 assertFalse(customTile.newTileState() is QSTile.BooleanState) in testRegularTileHasNotBooleanState() 128 assertTrue(state is QSTile.BooleanState) in testValueUpdatedInBooleanTile() 132 assertFalse((state as QSTile.BooleanState).value) in testValueUpdatedInBooleanTile()
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
D | QSFactory.java | 26 @DependsOn(target = QSTile.class) 33 QSTile createTile(String tileSpec); in createTile() 34 QSTileView createTileView(QSTile tile, boolean collapsedView); in createTileView()
|
D | QSTileView.java | 23 import com.android.systemui.plugins.qs.QSTile.State; 27 @DependsOn(target = QSTile.class) 49 public abstract void init(QSTile tile); in init()
|
D | QSTile.java | 26 import com.android.systemui.plugins.qs.QSTile.Callback; 27 import com.android.systemui.plugins.qs.QSTile.Icon; 28 import com.android.systemui.plugins.qs.QSTile.State; 33 @ProvidesInterface(version = QSTile.VERSION) 39 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/tileimpl/ |
D | QSTileBaseView.java | 50 import com.android.systemui.plugins.qs.QSTile; 51 import com.android.systemui.plugins.qs.QSTile.BooleanState; 162 public void init(QSTile tile) { in init() 200 public void onStateChanged(QSTile.State state) { in onStateChanged() 204 private void updateStrokeShapeWidth(QSTile.State state) { in updateStrokeShapeWidth() 227 protected void handleStateChanged(QSTile.State state) { in handleStateChanged() 255 if (state instanceof QSTile.BooleanState) { in handleStateChanged() 260 if (state instanceof QSTile.BooleanState) { in handleStateChanged() 275 if (state instanceof QSTile.BooleanState) { in handleStateChanged() 384 handleStateChanged((QSTile.State) msg.obj); in handleMessage()
|
D | QSIconViewImpl.java | 35 import com.android.systemui.plugins.qs.QSTile; 36 import com.android.systemui.plugins.qs.QSTile.State; 50 private QSTile.Icon mLastIcon; 101 final QSTile.Icon icon = state.iconSupplier != null ? state.iconSupplier.get() : state.icon; in updateIcon() 144 protected void setIcon(ImageView iv, QSTile.State state, boolean allowAnimations) { in setIcon()
|
D | QSFactoryImpl.java | 25 import com.android.systemui.plugins.qs.QSTile; 129 public QSTile createTile(String tileSpec) { in createTile() 199 public QSTileView createTileView(QSTile tile, boolean collapsedView) { in createTileView()
|
D | QSTileView.java | 33 import com.android.systemui.plugins.qs.QSTile; 118 protected void handleStateChanged(QSTile.State state) { in handleStateChanged()
|
D | QSTileImpl.java | 63 import com.android.systemui.plugins.qs.QSTile; 64 import com.android.systemui.plugins.qs.QSTile.State; 85 public abstract class QSTileImpl<TState extends State> implements QSTile, LifecycleOwner, Dumpable { 546 handleAddCallback((QSTile.Callback) msg.obj); in handleMessage() 552 handleRemoveCallback((QSTile.Callback) msg.obj); in handleMessage()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSTileRevealController.java | 10 import com.android.systemui.plugins.qs.QSTile; 51 public void updateRevealedTiles(Collection<QSTile> tiles) { in updateRevealedTiles() 53 for (QSTile tile : tiles) { in updateRevealedTiles()
|
D | QuickQSPanel.java | 36 import com.android.systemui.plugins.qs.QSTile; 37 import com.android.systemui.plugins.qs.QSTile.SignalState; 38 import com.android.systemui.plugins.qs.QSTile.State; 191 public void setTiles(Collection<QSTile> tiles) { in setTiles() 192 ArrayList<QSTile> quickTiles = new ArrayList<>(); in setTiles() 193 for (QSTile tile : tiles) { in setTiles() 412 QSTile tile = mRecords.get(i).tile; in setListening()
|
D | QSHost.java | 21 import com.android.systemui.plugins.qs.QSTile; 36 Collection<QSTile> getTiles(); in getTiles()
|
D | QSPanel.java | 52 import com.android.systemui.plugins.qs.QSTile; 390 QSTile tile = getTile(subPanel); in openDetails() 398 private QSTile getTile(String subPanel) { in getTile() 792 public void setTiles(Collection<QSTile> tiles) { in setTiles() 796 public void setTiles(Collection<QSTile> tiles, boolean collapsedView) { in setTiles() 806 for (QSTile tile : tiles) { in setTiles() 811 protected void drawTile(TileRecord r, QSTile.State state) { in drawTile() 815 protected QSTileView createTileView(QSTile tile, boolean collapsedView) { in createTileView() 835 protected TileRecord addTile(final QSTile tile, boolean collapsedView) { in addTile() 839 final QSTile.Callback callback = new QSTile.Callback() { in addTile() [all …]
|
D | QSTileHost.java | 45 import com.android.systemui.plugins.qs.QSTile; 84 private final LinkedHashMap<String, QSTile> mTiles = new LinkedHashMap<>(); 202 public Collection<QSTile> getTiles() { in getTiles() 269 final LinkedHashMap<String, QSTile> newTiles = new LinkedHashMap<>(); in onTuningChanged() 271 QSTile tile = mTiles.get(tileSpec); in onTuningChanged() 411 public QSTile createTile(String tileSpec) { in createTile() 413 QSTile t = mQsFactories.get(i).createTile(tileSpec); in createTile() 421 public QSTileView createTileView(QSTile tile, boolean collapsedView) { in createTileView()
|
D | SignalTileView.java | 26 import com.android.systemui.plugins.qs.QSTile.SignalState; 27 import com.android.systemui.plugins.qs.QSTile.State;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/ |
D | TileQueryHelperTest.java | 52 import com.android.systemui.plugins.qs.QSTile; 104 private QSTile.State mState; 115 mState = new QSTile.State(); in setup() 119 QSTile m = mock(QSTile.class); in setup() 282 QSTile t = mock(QSTile.class); in testQueryTiles_notAvailableDestroyed_tileSpecIsSet()
|
/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/ |
D | QSTileHostTest.java | 51 import com.android.systemui.plugins.qs.QSTile; 101 private QSTile.State mMockState; 178 QSTile element = CollectionUtils.firstOrNull(mQSTileHost.getTiles()); in testSpecWithInvalidDoesNotUseDefault() 202 QSTile element = CollectionUtils.firstOrNull(mQSTileHost.getTiles()); in testDefault() 331 private class TestTile extends QSTileImpl<QSTile.State> {
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
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/tiles/ |
D | ScreenRecordTile.java | 27 import com.android.systemui.plugins.qs.QSTile; 38 public class ScreenRecordTile extends QSTileImpl<QSTile.BooleanState>
|
D | UiModeNightTile.java | 29 import com.android.systemui.plugins.qs.QSTile; 47 public class UiModeNightTile extends QSTileImpl<QSTile.BooleanState> implements
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | GarbageMonitor.java | 52 import com.android.systemui.plugins.qs.QSTile; 375 private static class MemoryGraphIcon extends QSTile.Icon { 395 public static class MemoryTile extends QSTileImpl<QSTile.State> { 412 return new QSTile.State(); in newTileState()
|