Searched refs:tileSpec (Results 1 – 6 of 6) sorted by relevance
54 public QSTile createTile(String tileSpec) { in createTile() argument55 if (tileSpec.equals("wifi")) return new WifiTile(mHost); in createTile()56 else if (tileSpec.equals("bt")) return new BluetoothTile(mHost); in createTile()57 else if (tileSpec.equals("cell")) return new CellularTile(mHost); in createTile()58 else if (tileSpec.equals("dnd")) return new DndTile(mHost); in createTile()59 else if (tileSpec.equals("inversion")) return new ColorInversionTile(mHost); in createTile()60 else if (tileSpec.equals("airplane")) return new AirplaneModeTile(mHost); in createTile()61 else if (tileSpec.equals("work")) return new WorkModeTile(mHost); in createTile()62 else if (tileSpec.equals("rotation")) return new RotationLockTile(mHost); in createTile()63 else if (tileSpec.equals("flashlight")) return new FlashlightTile(mHost); in createTile()[all …]
138 public void setTileSpec(String tileSpec) { in setTileSpec() argument139 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