Lines Matching defs:tile
31 import android.service.quicksettings.Tile;
57 private final Tile mTile;
74 mTile = new Tile();
138 public void onTileChanged(ComponentName tile) {
155 public Tile getQsTile() {
159 public void updateState(Tile tile) {
160 mTile.setIcon(tile.getIcon());
161 mTile.setLabel(tile.getLabel());
162 mTile.setContentDescription(tile.getContentDescription());
163 mTile.setState(tile.getState());
248 if (mTile.getState() == Tile.STATE_UNAVAILABLE) {
278 tileState = Tile.STATE_UNAVAILABLE;
285 tileState = Tile.STATE_UNAVAILABLE;
292 if (tileState == Tile.STATE_UNAVAILABLE) {
323 case Tile.STATE_UNAVAILABLE:
325 case Tile.STATE_INACTIVE:
327 case Tile.STATE_ACTIVE:
340 throw new IllegalArgumentException("Empty custom tile spec action");
347 throw new IllegalArgumentException("Bad custom tile spec: " + spec);
351 throw new IllegalArgumentException("Empty custom tile spec action");