Home
last modified time | relevance | path

Searched refs:QSTile (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileQueryHelper.java36 import com.android.systemui.plugins.qs.QSTile;
37 import com.android.systemui.plugins.qs.QSTile.State;
88 final ArrayList<QSTile> tilesToAdd = new ArrayList<>(); in addStockTiles()
90 final QSTile tile = host.createTile(spec); in addStockTiles()
106 for (QSTile tile : tilesToAdd) { in addStockTiles()
107 final QSTile.State state = tile.getState().copy(); in addStockTiles()
119 Collection<QSTile> params = host.getTiles(); in addPackageTiles()
169 private State getState(Collection<QSTile> tiles, String spec) { in getState()
170 for (QSTile tile : tiles) { in getState()
197 QSTile.State state = new QSTile.State(); in addTile()
[all …]
DCustomizeTileView.java22 import com.android.systemui.plugins.qs.QSTile;
39 protected void handleStateChanged(QSTile.State state) { in handleStateChanged()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/
DQSFactory.java26 @DependsOn(target = QSTile.class)
33 QSTile createTile(String tileSpec); in createTile()
34 QSTileView createTileView(QSTile tile, boolean collapsedView); in createTileView()
DQSTileView.java23 import com.android.systemui.plugins.qs.QSTile.State;
27 @DependsOn(target = QSTile.class)
49 public abstract void init(QSTile tile); in init()
DQSTile.java24 import com.android.systemui.plugins.qs.QSTile.Callback;
25 import com.android.systemui.plugins.qs.QSTile.Icon;
26 import com.android.systemui.plugins.qs.QSTile.State;
31 @ProvidesInterface(version = QSTile.VERSION)
37 public interface QSTile { interface
DQSIconView.java22 import com.android.systemui.plugins.qs.QSTile.State;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSPanel.java42 import com.android.systemui.plugins.qs.QSTile;
198 QSTile tile = getTile(subPanel); in openDetails()
202 private QSTile getTile(String subPanel) { in getTile()
394 public void setTiles(Collection<QSTile> tiles) { in setTiles()
398 public void setTiles(Collection<QSTile> tiles, boolean collapsedView) { in setTiles()
407 for (QSTile tile : tiles) { in setTiles()
412 protected void drawTile(TileRecord r, QSTile.State state) { in drawTile()
416 protected QSTileView createTileView(QSTile tile, boolean collapsedView) { in createTileView()
424 protected TileRecord addTile(final QSTile tile, boolean collapsedView) { in addTile()
428 final QSTile.Callback callback = new QSTile.Callback() { in addTile()
[all …]
DQuickQSPanel.java29 import com.android.systemui.plugins.qs.QSTile;
30 import com.android.systemui.plugins.qs.QSTile.SignalState;
31 import com.android.systemui.plugins.qs.QSTile.State;
133 public void setTiles(Collection<QSTile> tiles) { in setTiles()
134 ArrayList<QSTile> quickTiles = new ArrayList<>(); in setTiles()
135 for (QSTile tile : tiles) { in setTiles()
DQSTileRevealController.java10 import com.android.systemui.plugins.qs.QSTile;
51 public void updateRevealedTiles(Collection<QSTile> tiles) { in updateRevealedTiles()
53 for (QSTile tile : tiles) { in updateRevealedTiles()
DQSTileHost.java37 import com.android.systemui.plugins.qs.QSTile;
63 private final LinkedHashMap<String, QSTile> mTiles = new LinkedHashMap<>();
131 public Collection<QSTile> getTiles() { in getTiles()
186 final LinkedHashMap<String, QSTile> newTiles = new LinkedHashMap<>(); in onTuningChanged()
188 QSTile tile = mTiles.get(tileSpec); in onTuningChanged()
283 public QSTile createTile(String tileSpec) { in createTile()
285 QSTile t = mQsFactories.get(i).createTile(tileSpec); in createTile()
293 public QSTileView createTileView(QSTile tile, boolean collapsedView) { in createTileView()
DQSHost.java19 import com.android.systemui.plugins.qs.QSTile;
30 Collection<QSTile> getTiles(); in getTiles()
DSignalTileView.java27 import com.android.systemui.plugins.qs.QSTile;
28 import com.android.systemui.plugins.qs.QSTile.SignalState;
122 public void setIcon(QSTile.State state) { in setIcon()
DCellTileView.java25 import com.android.systemui.plugins.qs.QSTile.Icon;
26 import com.android.systemui.plugins.qs.QSTile.State;
DQSAnimator.java24 import com.android.systemui.plugins.qs.QSTile;
158 Collection<QSTile> tiles = mQsPanel.getHost().getTiles(); in updateAnimators()
176 for (QSTile tile : tiles) { in updateAnimators()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileBaseView.java43 import com.android.systemui.plugins.qs.QSTile;
44 import com.android.systemui.plugins.qs.QSTile.BooleanState;
137 public void init(QSTile tile) { in init()
175 public void onStateChanged(QSTile.State state) { in onStateChanged()
179 protected void handleStateChanged(QSTile.State state) { in handleStateChanged()
199 if (state instanceof QSTile.BooleanState) { in handleStateChanged()
294 handleStateChanged((QSTile.State) msg.obj); in handleMessage()
DQSIconViewImpl.java35 import com.android.systemui.plugins.qs.QSTile;
36 import com.android.systemui.plugins.qs.QSTile.State;
87 public void setIcon(QSTile.State state) { in setIcon()
92 final QSTile.Icon icon = state.iconSupplier != null ? state.iconSupplier.get() : state.icon; in updateIcon()
131 protected void setIcon(ImageView iv, QSTile.State state) { in setIcon()
DQSFactoryImpl.java56 public QSTile createTile(String tileSpec) { in createTile()
120 public QSTileView createTileView(QSTile tile, boolean collapsedView) { in createTileView()
DQSTileImpl.java49 import com.android.systemui.plugins.qs.QSTile;
50 import com.android.systemui.plugins.qs.QSTile.State;
64 public abstract class QSTileImpl<TState extends State> implements QSTile {
429 handleAddCallback((QSTile.Callback) msg.obj); in handleMessage()
435 handleRemoveCallback((QSTile.Callback) msg.obj); in handleMessage()
DQSTileView.java33 import com.android.systemui.plugins.qs.QSTile;
111 protected void handleStateChanged(QSTile.State state) { in handleStateChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserTile.java28 import com.android.systemui.plugins.qs.QSTile;
29 import com.android.systemui.plugins.qs.QSTile.State;
48 return new QSTile.State(); in newTileState()
DIntentTile.java37 import com.android.systemui.plugins.qs.QSTile;
38 import com.android.systemui.plugins.qs.QSTile.State;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSIconViewImplTest.java33 import com.android.systemui.plugins.qs.QSTile.Icon;
34 import com.android.systemui.plugins.qs.QSTile.State;
DQSTileImplTest.java48 import com.android.systemui.plugins.qs.QSTile;
172 private static class TileImpl extends QSTileImpl<QSTile.BooleanState> {
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DGarbageMonitor.java48 import com.android.systemui.plugins.qs.QSTile;
312 private static class MemoryGraphIcon extends QSTile.Icon {
332 public static class MemoryTile extends QSTileImpl<QSTile.State> {
345 return new QSTile.State(); in newTileState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DTileLayoutTest.java36 import com.android.systemui.plugins.qs.QSTile;
62 tileRecord.tile = mock(QSTile.class); in createTileRecord()

12