Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileQueryHelper.java38 import com.android.systemui.plugins.qs.QSTile;
39 import com.android.systemui.plugins.qs.QSTile.State;
104 final ArrayList<QSTile> tilesToAdd = new ArrayList<>(); in addCurrentAndStockTiles()
109 final QSTile tile = host.createTile(spec); in addCurrentAndStockTiles()
124 for (QSTile tile : tilesToAdd) { in addCurrentAndStockTiles()
125 final QSTile.State state = tile.getState().copy(); in addCurrentAndStockTiles()
137 Collection<QSTile> params = host.getTiles(); in addPackageTiles()
188 private State getState(Collection<QSTile> tiles, String spec) { in getState()
189 for (QSTile tile : tiles) { in getState()
216 QSTile.State state = new QSTile.State(); in createStateAndAddTile()
[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.java45 import com.android.systemui.plugins.qs.QSTile;
226 QSTile tile = getTile(subPanel); in openDetails()
234 private QSTile getTile(String subPanel) { in getTile()
422 public void setTiles(Collection<QSTile> tiles) { in setTiles()
426 public void setTiles(Collection<QSTile> tiles, boolean collapsedView) { in setTiles()
435 for (QSTile tile : tiles) { in setTiles()
440 protected void drawTile(TileRecord r, QSTile.State state) { in drawTile()
444 protected QSTileView createTileView(QSTile tile, boolean collapsedView) { in createTileView()
452 protected TileRecord addTile(final QSTile tile, boolean collapsedView) { in addTile()
456 final QSTile.Callback callback = new QSTile.Callback() { in addTile()
[all …]
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()
DQuickQSPanel.java32 import com.android.systemui.plugins.qs.QSTile;
33 import com.android.systemui.plugins.qs.QSTile.SignalState;
34 import com.android.systemui.plugins.qs.QSTile.State;
143 public void setTiles(Collection<QSTile> tiles) { in setTiles()
144 ArrayList<QSTile> quickTiles = new ArrayList<>(); in setTiles()
145 for (QSTile tile : tiles) { in setTiles()
DQSHost.java19 import com.android.systemui.plugins.qs.QSTile;
30 Collection<QSTile> getTiles(); in getTiles()
DQSTileHost.java40 import com.android.systemui.plugins.qs.QSTile;
77 private final LinkedHashMap<String, QSTile> mTiles = new LinkedHashMap<>();
167 public Collection<QSTile> getTiles() { in getTiles()
231 final LinkedHashMap<String, QSTile> newTiles = new LinkedHashMap<>(); in onTuningChanged()
233 QSTile tile = mTiles.get(tileSpec); in onTuningChanged()
339 public QSTile createTile(String tileSpec) { in createTile()
341 QSTile t = mQsFactories.get(i).createTile(tileSpec); in createTile()
349 public QSTileView createTileView(QSTile tile, boolean collapsedView) { in createTileView()
DSignalTileView.java26 import com.android.systemui.plugins.qs.QSTile.SignalState;
27 import com.android.systemui.plugins.qs.QSTile.State;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileBaseView.java48 import com.android.systemui.plugins.qs.QSTile;
49 import com.android.systemui.plugins.qs.QSTile.BooleanState;
154 public void init(QSTile tile) { in init()
192 public void onStateChanged(QSTile.State state) { in onStateChanged()
196 protected void handleStateChanged(QSTile.State state) { in handleStateChanged()
220 if (state instanceof QSTile.BooleanState) { in handleStateChanged()
341 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;
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()
DQSFactoryImpl.java25 import com.android.systemui.plugins.qs.QSTile;
126 public QSTile createTile(String tileSpec) { in createTile()
192 public QSTileView createTileView(QSTile tile, boolean collapsedView) { in createTileView()
DQSTileImpl.java60 import com.android.systemui.plugins.qs.QSTile;
61 import com.android.systemui.plugins.qs.QSTile.State;
80 public abstract class QSTileImpl<TState extends State> implements QSTile, LifecycleOwner, Dumpable {
453 handleAddCallback((QSTile.Callback) msg.obj); in handleMessage()
459 handleRemoveCallback((QSTile.Callback) msg.obj); in handleMessage()
DQSTileView.java33 import com.android.systemui.plugins.qs.QSTile;
118 protected void handleStateChanged(QSTile.State state) { in handleStateChanged()
DSlashImageView.java25 import com.android.systemui.plugins.qs.QSTile.SlashState;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserTile.java26 import com.android.systemui.plugins.qs.QSTile;
27 import com.android.systemui.plugins.qs.QSTile.State;
52 return new QSTile.State(); in newTileState()
DUiModeNightTile.java28 import com.android.systemui.plugins.qs.QSTile;
42 public class UiModeNightTile extends QSTileImpl<QSTile.BooleanState> implements
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSTileHostTest.java45 import com.android.systemui.plugins.qs.QSTile;
86 private QSTile.State mMockState;
146 QSTile element = CollectionUtils.firstOrNull(mQSTileHost.getTiles()); in testSpecWithInvalidDoesNotUseDefault()
197 private class TestTile extends QSTileImpl<QSTile.State> {
DTileLayoutTest.java36 import com.android.systemui.plugins.qs.QSTile;
62 tileRecord.tile = mock(QSTile.class); in createTileRecord()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/
DTileQueryHelperTest.java53 import com.android.systemui.plugins.qs.QSTile;
102 private QSTile.State mState;
113 mState = new QSTile.State(); in setup()
117 QSTile m = mock(QSTile.class); in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSIconViewImplTest.java35 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/util/leak/
DGarbageMonitor.java53 import com.android.systemui.plugins.qs.QSTile;
363 private static class MemoryGraphIcon extends QSTile.Icon {
383 public static class MemoryTile extends QSTileImpl<QSTile.State> {
401 return new QSTile.State(); in newTileState()

12