Searched refs:tileSpec (Results 1 – 6 of 6) sorted by relevance
56 public QSTile createTile(String tileSpec) { in createTile() argument57 QSTileImpl tile = createTileInternal(tileSpec); in createTile()64 private QSTileImpl createTileInternal(String tileSpec) { in createTileInternal() argument66 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()
130 public void setTileSpec(String tileSpec) { in setTileSpec() argument131 mTileSpec = tileSpec; in setTileSpec()
187 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() argument231 specs.remove(tileSpec); in removeTile()[all …]
34 void removeTile(String tileSpec); in removeTile() argument36 int indexOf(String tileSpec); in indexOf() argument
33 QSTile createTile(String tileSpec); in createTile() argument
44 void setTileSpec(String tileSpec); in setTileSpec() argument