Home
last modified time | relevance | path

Searched refs:TileInfo (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileQueryHelper.java59 private final ArrayList<TileInfo> mTiles = new ArrayList<>();
249 final ArrayList<TileInfo> tilesToReturn = new ArrayList<>(mTiles); in notifyTilesChanged()
281 TileInfo info = new TileInfo(spec, state, isSystem); in addTile()
296 public static class TileInfo { class in TileQueryHelper
297 public TileInfo(String spec, QSTile.State state, boolean isSystem) { in TileInfo() method in TileQueryHelper.TileInfo
309 void onTilesChanged(List<TileInfo> tiles); in onTilesChanged()
DTileAdapter.java53 import com.android.systemui.qs.customize.TileQueryHelper.TileInfo;
92 private final List<TileInfo> mTiles = new ArrayList<>();
106 private List<TileInfo> mOtherTiles;
108 private List<TileInfo> mAllTiles;
245 public void onTilesChanged(List<TileInfo> tiles) { in onTilesChanged()
254 mOtherTiles = new ArrayList<TileInfo>(mAllTiles); in recalcSpecs()
258 final TileInfo tile = getAndRemoveOther(mCurrentSpecs.get(i)); in recalcSpecs()
265 final TileInfo tile = mOtherTiles.get(i); in recalcSpecs()
279 private TileInfo getAndRemoveOther(String s) { in getAndRemoveOther()
408 TileInfo info = mTiles.get(position); in onBindViewHolder()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/
DTileQueryHelperTest.java109 private ArgumentCaptor<List<TileQueryHelper.TileInfo>> mCaptor;
192 for (TileQueryHelper.TileInfo t : mCaptor.getValue()) { in testQueryTiles_correctTilesAndOrderOnlyStockTiles()
212 for (TileQueryHelper.TileInfo t : mCaptor.getValue()) { in testQueryTiles_correctTilesAndOrderOtherFactoryTiles()
232 for (TileQueryHelper.TileInfo t : mCaptor.getValue()) { in testQueryTiles_otherTileNotIncluded()
270 List<TileQueryHelper.TileInfo> tileInfos = mCaptor.getValue(); in testThirdPartyTilesInactive()