Home
last modified time | relevance | path

Searched refs:tileSpec (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSFactoryImpl.java56 public QSTile createTile(String tileSpec) { in createTile() argument
57 QSTileImpl tile = createTileInternal(tileSpec); in createTile()
64 private QSTileImpl createTileInternal(String tileSpec) { in createTileInternal() argument
66 switch (tileSpec) { in createTileInternal()
104 if (tileSpec.startsWith(IntentTile.PREFIX)) return IntentTile.create(mHost, tileSpec); in createTileInternal()
105 if (tileSpec.startsWith(CustomTile.PREFIX)) return CustomTile.create(mHost, tileSpec); in createTileInternal()
109 if (tileSpec.equals(GarbageMonitor.MemoryTile.TILE_SPEC)) { in createTileInternal()
115 Log.w(TAG, "Bad tile spec: " + tileSpec); in createTileInternal()
DQSTileImpl.java130 public void setTileSpec(String tileSpec) { in setTileSpec() argument
131 mTileSpec = tileSpec; in setTileSpec()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTileHost.java187 for (String tileSpec : tileSpecs) { in onTuningChanged()
188 QSTile tile = mTiles.get(tileSpec); in onTuningChanged()
197 newTiles.put(tileSpec, tile); in onTuningChanged()
202 if (DEBUG) Log.d(TAG, "Creating tile: " + tileSpec); in onTuningChanged()
204 tile = createTile(tileSpec); in onTuningChanged()
207 tile.setTileSpec(tileSpec); in onTuningChanged()
208 newTiles.put(tileSpec, tile); in onTuningChanged()
214 Log.w(TAG, "Error creating tile for spec: " + tileSpec, t); in onTuningChanged()
229 public void removeTile(String tileSpec) { in removeTile() argument
231 specs.remove(tileSpec); in removeTile()
[all …]
DQSHost.java34 void removeTile(String tileSpec); in removeTile() argument
36 int indexOf(String tileSpec); in indexOf() argument
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/
DQSFactory.java33 QSTile createTile(String tileSpec); in createTile() argument
DQSTile.java44 void setTileSpec(String tileSpec); in setTileSpec() argument