Searched refs:tileSpecs (Results 1 – 5 of 5) sorted by relevance
298 final List<String> tileSpecs = loadTileSpecs(mContext, newValue); in onTuningChanged() local299 if (tileSpecs.equals(mTileSpecs) && currentUser == mCurrentUser) return; in onTuningChanged()300 Log.d(TAG, "Recreating tiles: " + tileSpecs); in onTuningChanged()301 mTiles.entrySet().stream().filter(tile -> !tileSpecs.contains(tile.getKey())).forEach( in onTuningChanged()308 for (String tileSpec : tileSpecs) { in onTuningChanged()359 if (newTiles.isEmpty() && !tileSpecs.isEmpty()) { in onTuningChanged()388 mMainExecutor.execute(() -> changeTileSpecs(tileSpecs-> tileSpecs.remove(spec))); in removeTile()399 mMainExecutor.execute(() -> changeTileSpecs(tileSpecs -> tileSpecs.removeAll(specs))); in removeTiles()414 changeTileSpecs(tileSpecs -> { in addTile()415 if (tileSpecs.contains(spec)) return false; in addTile()[all …]
67 ArraySet<String> tileSpecs = new ArraySet<>(); in updateRevealedTiles() local69 tileSpecs.add(tile.getTileSpec()); in updateRevealedTiles()77 addTileSpecsToRevealed(tileSpecs); in updateRevealedTiles()80 tileSpecs.removeAll(revealedTiles); in updateRevealedTiles()81 mTilesToReveal.addAll(tileSpecs); in updateRevealedTiles()
99 val tileSpecs = tiles.map { it.spec } in changeLayoutType_usesCorrectGridConsistencyInteractor() constant102 assertThat(tileSpecs).isEqualTo(newTiles) in changeLayoutType_usesCorrectGridConsistencyInteractor()128 val tileSpecs = tiles.map { it.spec } in validTilesWithInfiniteGridConsistencyInteractor_unchangedList() constant131 assertThat(tileSpecs).isEqualTo(newTiles) in validTilesWithInfiniteGridConsistencyInteractor_unchangedList()159 val tileSpecs = tiles.map { it.spec } in invalidTilesWithInfiniteGridConsistencyInteractor_savesNewList() constant178 assertThat(tileSpecs).isEqualTo(expectedTiles) in invalidTilesWithInfiniteGridConsistencyInteractor_savesNewList()
88 val tileSpecs = row.tiles.map { it.tile } in reconcileTiles() constant89 Log.wtf(TAG, "Uneven row does not have an icon tile to remove: $tileSpecs") in reconcileTiles()90 newTiles.addAll(tileSpecs) in reconcileTiles()
196 private data class RemoveTiles(val tileSpecs: Collection<TileSpec>) : ChangeAction { in <lambda>() constant in com.android.systemui.qs.pipeline.data.repository.UserTileSpecRepository.RemoveTiles198 return currentTiles.toMutableList().apply { removeAll(tileSpecs) } in <lambda>()