Home
last modified time | relevance | path

Searched refs:tiles (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DCategoryManagerTest.java98 assertThat(mCategoryByKeyMap.get(CategoryKey.CATEGORY_ACCOUNT).tiles.size()).isEqualTo(1); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForMixedKeys()
99 assertThat(mCategoryByKeyMap.get(oldCategory).tiles.size()).isEqualTo(1); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForMixedKeys()
117 assertThat(mCategoryByKeyMap.get(CategoryKey.CATEGORY_NETWORK).tiles.size()).isEqualTo(1); in backwardCompatCleanupForCategory_shouldChangeCategoryForOldKeys()
119 assertThat(mCategoryByKeyMap.get(oldCategory).tiles.size()).isEqualTo(1); in backwardCompatCleanupForCategory_shouldChangeCategoryForOldKeys()
139 category.tiles.add(tile1); in sortCategories_singlePackage_shouldReorderBasedOnPriority()
140 category.tiles.add(tile2); in sortCategories_singlePackage_shouldReorderBasedOnPriority()
141 category.tiles.add(tile3); in sortCategories_singlePackage_shouldReorderBasedOnPriority()
149 assertThat(category.tiles.get(0)).isSameAs(tile3); in sortCategories_singlePackage_shouldReorderBasedOnPriority()
150 assertThat(category.tiles.get(1)).isSameAs(tile1); in sortCategories_singlePackage_shouldReorderBasedOnPriority()
151 assertThat(category.tiles.get(2)).isSameAs(tile2); in sortCategories_singlePackage_shouldReorderBasedOnPriority()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSFactoryImpl.java23 import com.android.systemui.qs.tiles.AirplaneModeTile;
24 import com.android.systemui.qs.tiles.BatterySaverTile;
25 import com.android.systemui.qs.tiles.BluetoothTile;
26 import com.android.systemui.qs.tiles.CastTile;
27 import com.android.systemui.qs.tiles.CellularTile;
28 import com.android.systemui.qs.tiles.ColorInversionTile;
29 import com.android.systemui.qs.tiles.DataSaverTile;
30 import com.android.systemui.qs.tiles.DndTile;
31 import com.android.systemui.qs.tiles.FlashlightTile;
32 import com.android.systemui.qs.tiles.HotspotTile;
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
DDashboardCategory.java51 public List<Tile> tiles = new ArrayList<>(); field in DashboardCategory
59 tiles.add(tile); in addTile()
63 tiles.add(n, tile); in addTile()
67 tiles.remove(tile); in removeTile()
71 tiles.remove(n); in removeTile()
75 return tiles.size(); in getTilesCount()
79 return tiles.get(n); in getTile()
83 for (Tile tile : tiles) { in containsComponent()
109 final int count = tiles.size(); in writeToParcel()
113 Tile tile = tiles.get(n); in writeToParcel()
[all …]
DCategoryManager.java107 for (int j = 0; j < category.tiles.size(); j++) { in updateCategoryFromBlacklist()
108 Tile tile = category.tiles.get(j); in updateCategoryFromBlacklist()
110 category.tiles.remove(j--); in updateCategoryFromBlacklist()
152 List<Tile> tiles = packageToTileMap.get(packageName); in backwardCompatCleanupForCategory() local
153 if (tiles == null) { in backwardCompatCleanupForCategory()
154 tiles = new ArrayList<>(); in backwardCompatCleanupForCategory()
155 packageToTileMap.put(packageName, tiles); in backwardCompatCleanupForCategory()
157 tiles.add(tileEntry.getValue()); in backwardCompatCleanupForCategory()
161 final List<Tile> tiles = entry.getValue(); in backwardCompatCleanupForCategory() local
165 for (Tile tile : tiles) { in backwardCompatCleanupForCategory()
[all …]
DTileUtils.java200 ArrayList<Tile> tiles = new ArrayList<>(); in getCategories() local
206 getTilesForAction(context, user, SETTINGS_ACTION, cache, null, tiles, true, in getCategories()
209 OPERATOR_DEFAULT_CATEGORY, tiles, false, true, settingPkg); in getCategories()
211 MANUFACTURER_DEFAULT_CATEGORY, tiles, false, true, settingPkg); in getCategories()
214 getTilesForAction(context, user, EXTRA_SETTINGS_ACTION, cache, null, tiles, false, in getCategories()
217 getTilesForAction(context, user, IA_SETTINGS_ACTION, cache, null, tiles, false, in getCategories()
220 getTilesForAction(context, user, extraAction, cache, null, tiles, false, in getCategories()
228 for (Tile tile : tiles) { in getCategories()
242 Collections.sort(category.tiles, TILE_COMPARATOR); in getCategories()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileQueryHelper.java153 private State getState(Collection<QSTile> tiles, String spec) { in getState() argument
154 for (QSTile tile : tiles) { in getState()
195 void onTilesChanged(List<TileInfo> tiles); in onTilesChanged() argument
DQSCustomizer.java207 ArrayList<String> tiles = new ArrayList<>(); in reset() local
210 tiles.add(tile); in reset()
212 mTileAdapter.resetTileSpecs(mHost, tiles); in reset()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSAnimator.java151 Collection<QSTile> tiles = mQsPanel.getHost().getTiles(); in updateAnimators()
169 for (QSTile tile : tiles) { in updateAnimators()
255 if (tiles.size() <= 3) { in updateAnimators()
257 } else if (tiles.size() <= 6) { in updateAnimators()
DQSTileHost.java312 final ArrayList<String> tiles = new ArrayList<String>(); in loadTileSpecs() local
319 tiles.addAll(Arrays.asList(defaultTileList.split(","))); in loadTileSpecs()
323 tiles.add(tile); in loadTileSpecs()
326 return tiles; in loadTileSpecs()
DQuickQSPanel.java132 public void setTiles(Collection<QSTile> tiles) { in setTiles() argument
134 for (QSTile tile : tiles) { in setTiles()
DQSPanel.java325 public void setTiles(Collection<QSTile> tiles) { in setTiles() argument
326 setTiles(tiles, false); in setTiles()
329 public void setTiles(Collection<QSTile> tiles, boolean collapsedView) { in setTiles() argument
335 for (QSTile tile : tiles) { in setTiles()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeUI.java25 import com.android.systemui.qs.tiles.DndTile;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserTile.java16 package com.android.systemui.qs.tiles;
DNightDisplayTile.java17 package com.android.systemui.qs.tiles;
DColorInversionTile.java17 package com.android.systemui.qs.tiles;
DNfcTile.java18 package com.android.systemui.qs.tiles;
DWorkModeTile.java17 package com.android.systemui.qs.tiles;
DUserDetailView.java17 package com.android.systemui.qs.tiles;
DAirplaneModeTile.java17 package com.android.systemui.qs.tiles;
DFlashlightTile.java17 package com.android.systemui.qs.tiles;
DDataSaverTile.java15 package com.android.systemui.qs.tiles;
DLocationTile.java17 package com.android.systemui.qs.tiles;
DUserDetailItemView.java17 package com.android.systemui.qs.tiles;
DRotationLockTile.java17 package com.android.systemui.qs.tiles;
DHotspotTile.java17 package com.android.systemui.qs.tiles;

12