Home
last modified time | relevance | path

Searched refs:mTiles (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DDashboardCategory.java41 private List<Tile> mTiles = new ArrayList<>(); field in DashboardCategory
54 mTiles.add(tile); in DashboardCategory()
65 final List<Tile> result = new ArrayList<>(mTiles.size()); in getTiles()
66 for (Tile tile : mTiles) { in getTiles()
76 mTiles.add(tile); in addTile()
83 mTiles.remove(n); in removeTile()
90 return mTiles.size(); in getTilesCount()
97 return mTiles.get(n); in getTile()
104 Collections.sort(mTiles, Tile.TILE_COMPARATOR); in sortTiles()
112 Collections.sort(mTiles, (tile1, tile2) -> { in sortTiles()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileAdapter.java78 private final List<TileInfo> mTiles = new ArrayList<>(); field in TileAdapter
119 for (int i = 1; i < mTiles.size() && mTiles.get(i) != null; i++) { in saveSpecs()
120 newSpecs.add(mTiles.get(i).spec); in saveSpecs()
129 mTiles.remove(--mEditIndex); in clearAccessibilityState()
162 mTiles.clear(); in recalcSpecs()
163 mTiles.add(null); in recalcSpecs()
167 mTiles.add(tile); in recalcSpecs()
170 mTiles.add(null); in recalcSpecs()
175 mTiles.add(tile); in recalcSpecs()
178 mTileDividerIndex = mTiles.size(); in recalcSpecs()
[all …]
DTileQueryHelper.java53 private final ArrayList<TileInfo> mTiles = new ArrayList<>(); field in TileQueryHelper
70 mTiles.clear(); in queryTiles()
181 final ArrayList<TileInfo> tilesToReturn = new ArrayList<>(mTiles); in notifyTilesChanged()
210 mTiles.add(info); in addTile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTileHost.java77 private final LinkedHashMap<String, QSTile> mTiles = new LinkedHashMap<>(); field in QSTileHost
129 mTiles.values().forEach(tile -> tile.destroy()); in destroy()
168 return mTiles.values(); in getTiles()
226 mTiles.entrySet().stream().filter(tile -> !tileSpecs.contains(tile.getKey())).forEach( in onTuningChanged()
233 QSTile tile = mTiles.get(tileSpec); in onTuningChanged()
267 mTiles.clear(); in onTuningChanged()
268 mTiles.putAll(newTiles); in onTuningChanged()
392 mTiles.values().stream().filter(obj -> obj instanceof Dumpable) in dump()
DPagedTileLayout.java47 private final ArrayList<TileRecord> mTiles = new ArrayList<>(); field in PagedTileLayout
185 mTiles.add(tile); in addTile()
192 if (mTiles.remove(tile)) { in removeTile()
233 final int NT = mTiles.size(); in distributeTiles()
235 TileRecord tile = mTiles.get(i); in distributeTiles()
246 final int nTiles = mTiles.size(); in emptyAndInflateOrRemovePages()
310 final int nTiles = mTiles.size(); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServices.java57 private final ArrayMap<ComponentName, CustomTile> mTiles = new ArrayMap<>(); field in TileServices
88 mTiles.put(component, tile); in getTileWrapper()
106 mTiles.remove(tile.getComponent()); in freeService()
317 return mTiles.get(component); in getTileForComponent()