/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/ |
D | CategoryManagerTest.java | 98 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/ |
D | QSFactoryImpl.java | 23 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/ |
D | DashboardCategory.java | 51 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 …]
|
D | CategoryManager.java | 107 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 …]
|
D | TileUtils.java | 200 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/ |
D | TileQueryHelper.java | 153 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
|
D | QSCustomizer.java | 207 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/ |
D | QSAnimator.java | 151 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()
|
D | QSTileHost.java | 312 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()
|
D | QuickQSPanel.java | 132 public void setTiles(Collection<QSTile> tiles) { in setTiles() argument 134 for (QSTile tile : tiles) { in setTiles()
|
D | QSPanel.java | 325 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/ |
D | VolumeUI.java | 25 import com.android.systemui.qs.tiles.DndTile;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | UserTile.java | 16 package com.android.systemui.qs.tiles;
|
D | NightDisplayTile.java | 17 package com.android.systemui.qs.tiles;
|
D | ColorInversionTile.java | 17 package com.android.systemui.qs.tiles;
|
D | NfcTile.java | 18 package com.android.systemui.qs.tiles;
|
D | WorkModeTile.java | 17 package com.android.systemui.qs.tiles;
|
D | UserDetailView.java | 17 package com.android.systemui.qs.tiles;
|
D | AirplaneModeTile.java | 17 package com.android.systemui.qs.tiles;
|
D | FlashlightTile.java | 17 package com.android.systemui.qs.tiles;
|
D | DataSaverTile.java | 15 package com.android.systemui.qs.tiles;
|
D | LocationTile.java | 17 package com.android.systemui.qs.tiles;
|
D | UserDetailItemView.java | 17 package com.android.systemui.qs.tiles;
|
D | RotationLockTile.java | 17 package com.android.systemui.qs.tiles;
|
D | HotspotTile.java | 17 package com.android.systemui.qs.tiles;
|