Home
last modified time | relevance | path

Searched refs:newTiles (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/panels/domain/interactor/
DInfiniteGridConsistencyInteractorTest.kt73 val newTiles = underTest.reconcileTiles(tiles) in validTiles_returnsUnchangedList() constant
75 assertThat(newTiles).isEqualTo(tiles) in validTiles_returnsUnchangedList()
110 val newTiles = underTest.reconcileTiles(tiles) in invalidTiles_moveIconTileForward() constant
112 assertThat(newTiles).isEqualTo(expectedTiles) in invalidTiles_moveIconTileForward()
145 val newTiles = underTest.reconcileTiles(tiles) in invalidTiles_moveIconTileBack() constant
147 assertThat(newTiles).isEqualTo(expectedTiles) in invalidTiles_moveIconTileBack()
186 val newTiles = underTest.reconcileTiles(tiles) in invalidTiles_multipleCorrections() constant
188 assertThat(newTiles).isEqualTo(expectedTiles) in invalidTiles_multipleCorrections()
DGridConsistencyInteractorTest.kt85 val newTiles = in changeLayoutType_usesCorrectGridConsistencyInteractor() constant
94 tileSpecRepository.setTiles(0, newTiles) in changeLayoutType_usesCorrectGridConsistencyInteractor()
102 assertThat(tileSpecs).isEqualTo(newTiles) in changeLayoutType_usesCorrectGridConsistencyInteractor()
114 val newTiles = in validTilesWithInfiniteGridConsistencyInteractor_unchangedList() constant
123 tileSpecRepository.setTiles(0, newTiles) in validTilesWithInfiniteGridConsistencyInteractor_unchangedList()
131 assertThat(tileSpecs).isEqualTo(newTiles) in validTilesWithInfiniteGridConsistencyInteractor_unchangedList()
143 val newTiles = in invalidTilesWithInfiniteGridConsistencyInteractor_savesNewList() constant
154 tileSpecRepository.setTiles(0, newTiles) in invalidTilesWithInfiniteGridConsistencyInteractor_savesNewList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/domain/interactor/
DInfiniteGridConsistencyInteractor.kt39 val newTiles: MutableList<TileSpec> = mutableListOf() in reconcileTiles() constant
58 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()
DGridConsistencyInteractor.kt53 val newTiles = consistencyInteractor.reconcileTiles(tiles) in <lambda>() constant
54 if (newTiles != tiles) { in <lambda>()
55 currentTilesInteractor.setTiles(newTiles) in <lambda>()
56 logChange(newTiles) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/data/repository/
DAccessibilityQsShortcutsRepository.kt102 val newTiles = mutableListOf<ComponentName>() in notifyAccessibilityManagerTilesChanged() constant
108 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTileHost.java307 final LinkedHashMap<String, QSTile> newTiles = new LinkedHashMap<>(); in onTuningChanged() local
318 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() argument
493 if (!newTiles.contains(tileSpec)) { in changeTilesByUser()
505 Log.d(TAG, "saveCurrentTiles " + newTiles); in changeTilesByUser()
507 saveTilesToSettings(newTiles); in changeTilesByUser()
DQSHostAdapter.kt146 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()
DQSHost.java89 void changeTilesByUser(List<String> previousTiles, List<String> newTiles); in changeTilesByUser() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/repository/
DUserTileSpecRepository.kt203 val newTiles: List<TileSpec>, in <lambda>() constant in com.android.systemui.qs.pipeline.data.repository.UserTileSpecRepository.ChangeTiles
206 val new = newTiles.filter { it !is TileSpec.Invalid } in <lambda>()