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.java54 public QSTile createTile(String tileSpec) { in createTile() argument
55 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 …]
DQSTileImpl.java138 public void setTileSpec(String tileSpec) { in setTileSpec() argument
139 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