Home
last modified time | relevance | path

Searched refs:tileSpecs (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTileHost.java298 final List<String> tileSpecs = loadTileSpecs(mContext, newValue); in onTuningChanged() local
299 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 …]
DQSTileRevealController.java67 ArraySet<String> tileSpecs = new ArraySet<>(); in updateRevealedTiles() local
69 tileSpecs.add(tile.getTileSpec()); in updateRevealedTiles()
77 addTileSpecsToRevealed(tileSpecs); in updateRevealedTiles()
80 tileSpecs.removeAll(revealedTiles); in updateRevealedTiles()
81 mTilesToReveal.addAll(tileSpecs); in updateRevealedTiles()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/panels/domain/interactor/
DGridConsistencyInteractorTest.kt99 val tileSpecs = tiles.map { it.spec } in changeLayoutType_usesCorrectGridConsistencyInteractor() constant
102 assertThat(tileSpecs).isEqualTo(newTiles) in changeLayoutType_usesCorrectGridConsistencyInteractor()
128 val tileSpecs = tiles.map { it.spec } in validTilesWithInfiniteGridConsistencyInteractor_unchangedList() constant
131 assertThat(tileSpecs).isEqualTo(newTiles) in validTilesWithInfiniteGridConsistencyInteractor_unchangedList()
159 val tileSpecs = tiles.map { it.spec } in invalidTilesWithInfiniteGridConsistencyInteractor_savesNewList() constant
178 assertThat(tileSpecs).isEqualTo(expectedTiles) in invalidTilesWithInfiniteGridConsistencyInteractor_savesNewList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/domain/interactor/
DInfiniteGridConsistencyInteractor.kt88 val tileSpecs = row.tiles.map { it.tile } in reconcileTiles() constant
89 Log.wtf(TAG, "Uneven row does not have an icon tile to remove: $tileSpecs") in reconcileTiles()
90 newTiles.addAll(tileSpecs) in reconcileTiles()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/repository/
DUserTileSpecRepository.kt196 private data class RemoveTiles(val tileSpecs: Collection<TileSpec>) : ChangeAction { in <lambda>() constant in com.android.systemui.qs.pipeline.data.repository.UserTileSpecRepository.RemoveTiles
198 return currentTiles.toMutableList().apply { removeAll(tileSpecs) } in <lambda>()