Searched refs:newTiles (Results 1 – 9 of 9) sorted by relevance
73 val newTiles = underTest.reconcileTiles(tiles) in validTiles_returnsUnchangedList() constant75 assertThat(newTiles).isEqualTo(tiles) in validTiles_returnsUnchangedList()110 val newTiles = underTest.reconcileTiles(tiles) in invalidTiles_moveIconTileForward() constant112 assertThat(newTiles).isEqualTo(expectedTiles) in invalidTiles_moveIconTileForward()145 val newTiles = underTest.reconcileTiles(tiles) in invalidTiles_moveIconTileBack() constant147 assertThat(newTiles).isEqualTo(expectedTiles) in invalidTiles_moveIconTileBack()186 val newTiles = underTest.reconcileTiles(tiles) in invalidTiles_multipleCorrections() constant188 assertThat(newTiles).isEqualTo(expectedTiles) in invalidTiles_multipleCorrections()
85 val newTiles = in changeLayoutType_usesCorrectGridConsistencyInteractor() constant94 tileSpecRepository.setTiles(0, newTiles) in changeLayoutType_usesCorrectGridConsistencyInteractor()102 assertThat(tileSpecs).isEqualTo(newTiles) in changeLayoutType_usesCorrectGridConsistencyInteractor()114 val newTiles = in validTilesWithInfiniteGridConsistencyInteractor_unchangedList() constant123 tileSpecRepository.setTiles(0, newTiles) in validTilesWithInfiniteGridConsistencyInteractor_unchangedList()131 assertThat(tileSpecs).isEqualTo(newTiles) in validTilesWithInfiniteGridConsistencyInteractor_unchangedList()143 val newTiles = in invalidTilesWithInfiniteGridConsistencyInteractor_savesNewList() constant154 tileSpecRepository.setTiles(0, newTiles) in invalidTilesWithInfiniteGridConsistencyInteractor_savesNewList()
39 val newTiles: MutableList<TileSpec> = mutableListOf() in reconcileTiles() constant58 newTiles.addAll(row.tiles.map { it.tile }) in reconcileTiles()90 newTiles.addAll(tileSpecs) in reconcileTiles()99 newTiles.addAll(row.tiles.map { it.tile }) in reconcileTiles()101 return newTiles.toList() in reconcileTiles()
53 val newTiles = consistencyInteractor.reconcileTiles(tiles) in <lambda>() constant54 if (newTiles != tiles) { in <lambda>()55 currentTilesInteractor.setTiles(newTiles) in <lambda>()56 logChange(newTiles) in <lambda>()
102 val newTiles = mutableListOf<ComponentName>() in notifyAccessibilityManagerTilesChanged() constant108 newTiles.add(tileSpec.componentName) in notifyAccessibilityManagerTilesChanged()113 newTiles.add(TILE_SPEC_TO_COMPONENT_MAPPING[tileSpec.spec]!!) in notifyAccessibilityManagerTilesChanged()123 manager.notifyQuickSettingsTilesChanged(userContext.userId, newTiles) in notifyAccessibilityManagerTilesChanged()
307 final LinkedHashMap<String, QSTile> newTiles = new LinkedHashMap<>(); in onTuningChanged() local318 newTiles.put(tileSpec, tile); in onTuningChanged()338 newTiles.put(tileSpec, tile); in onTuningChanged()356 mTileSpecs.addAll(newTiles.keySet()); // Only add the valid (available) tiles. in onTuningChanged()358 mTiles.putAll(newTiles); in onTuningChanged()359 if (newTiles.isEmpty() && !tileSpecs.isEmpty()) { in onTuningChanged()487 public void changeTilesByUser(List<String> previousTiles, List<String> newTiles) { in changeTilesByUser() argument493 if (!newTiles.contains(tileSpec)) { in changeTilesByUser()505 Log.d(TAG, "saveCurrentTiles " + newTiles); in changeTilesByUser()507 saveTilesToSettings(newTiles); in changeTilesByUser()
146 override fun changeTilesByUser(previousTiles: List<String>, newTiles: List<String>) { in changeTilesByUser()148 interactor.setTiles(newTiles.map(TileSpec::create)) in changeTilesByUser()150 qsTileHost.changeTilesByUser(previousTiles, newTiles) in changeTilesByUser()
89 void changeTilesByUser(List<String> previousTiles, List<String> newTiles); in changeTilesByUser() argument
203 val newTiles: List<TileSpec>, in <lambda>() constant in com.android.systemui.qs.pipeline.data.repository.UserTileSpecRepository.ChangeTiles206 val new = newTiles.filter { it !is TileSpec.Invalid } in <lambda>()