Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DTiledImageDrawable.java36 private final ImageTileSet mTiles; field in TiledImageDrawable
40 mTiles = tiles; in TiledImageDrawable()
41 mTiles.addOnContentChangedListener(this::onContentChanged); in TiledImageDrawable()
59 mNode.setPosition(0, 0, mTiles.getWidth(), mTiles.getHeight()); in rebuildDisplayListIfNeeded()
62 canvas.translate(-mTiles.getLeft(), -mTiles.getTop()); in rebuildDisplayListIfNeeded()
63 for (int i = 0; i < mTiles.size(); i++) { in rebuildDisplayListIfNeeded()
64 ImageTile tile = mTiles.get(i); in rebuildDisplayListIfNeeded()
94 return mTiles.getWidth(); in getIntrinsicWidth()
99 return mTiles.getHeight(); in getIntrinsicHeight()
DImageTileSet.java63 private final List<ImageTile> mTiles = new ArrayList<>(); field in ImageTileSet
88 mTiles.add(tile); in addTile()
112 return mTiles.isEmpty(); in isEmpty()
116 return mTiles.size(); in size()
129 return mTiles.get(i); in get()
142 if (mTiles.isEmpty()) { in toBitmap()
180 if (mTiles.isEmpty()) { in clear()
184 Iterator<ImageTile> i = mTiles.iterator(); in clear()
/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.java92 private final List<TileInfo> mTiles = new ArrayList<>(); field in TileAdapter
211 for (int i = 1; i < mTiles.size() && mTiles.get(i) != null; i++) { in saveSpecs()
212 newSpecs.add(mTiles.get(i).spec); in saveSpecs()
222 mTiles.remove(--mEditIndex); in clearAccessibilityState()
255 mTiles.clear(); in recalcSpecs()
256 mTiles.add(null); in recalcSpecs()
260 mTiles.add(tile); in recalcSpecs()
263 mTiles.add(null); in recalcSpecs()
268 mTiles.add(tile); in recalcSpecs()
271 mTileDividerIndex = mTiles.size(); in recalcSpecs()
[all …]
DTileQueryHelper.java59 private final ArrayList<TileInfo> mTiles = new ArrayList<>(); field in TileQueryHelper
87 mTiles.clear(); in queryTiles()
249 final ArrayList<TileInfo> tilesToReturn = new ArrayList<>(mTiles); in notifyTilesChanged()
282 mTiles.add(info); in addTile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTileHost.java97 private final LinkedHashMap<String, QSTile> mTiles = new LinkedHashMap<>(); field in QSTileHost
177 mTiles.values().forEach(tile -> tile.destroy()); in destroy()
214 return mTiles.values(); in getTiles()
301 mTiles.entrySet().stream().filter(tile -> !tileSpecs.contains(tile.getKey())).forEach( in onTuningChanged()
309 QSTile tile = mTiles.get(tileSpec); in onTuningChanged()
357 mTiles.clear(); in onTuningChanged()
358 mTiles.putAll(newTiles); in onTuningChanged()
616 mTiles.values().stream().filter(obj -> obj instanceof Dumpable) in dump()
622 List<QsTileState> data = mTiles.values().stream() in dumpProto()
DPagedTileLayout.java59 private final ArrayList<TileRecord> mTiles = new ArrayList<>(); field in PagedTileLayout
356 mTiles.add(tile); in addTile()
363 if (mTiles.remove(tile)) { in removeTile()
408 for (int i = startOfPage; i < endOfPage && i < mTiles.size(); i++) { in getSpecsForPage()
409 out.add(mTiles.get(i).tile.getTileSpec()); in getSpecsForPage()
419 final int totalTilesCount = mTiles.size(); in distributeTiles()
422 TileRecord tile = mTiles.get(i); in distributeTiles()
521 final int nTiles = mTiles.size(); in onMeasure()
586 final int nTiles = mTiles.size(); in getNumPages()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManagerTest.java634 PeopleSpaceTile tile = mManager.mTiles.get(WIDGET_ID_WITH_SHORTCUT); in testUpdateStatusPostedIfExistingTile()
672 PeopleSpaceTile tile = mManager.mTiles.get(WIDGET_ID_WITH_SHORTCUT); in testUpdateNotificationPostedIfExistingTile()
731 PeopleSpaceTile tile = mManager.mTiles.get(WIDGET_ID_WITH_SHORTCUT); in testUpdateMissedCallNotificationWithoutContentPostedIfExistingTile()
755 PeopleSpaceTile tile = mManager.mTiles.get(WIDGET_ID_WITH_SHORTCUT); in testUpdateMissedCallNotificationWithContentPostedIfExistingTile()
779 PeopleSpaceTile tileWithMissedCallOrigin = mManager.mTiles.get(WIDGET_ID_WITH_SHORTCUT); in testUpdateMissedCallNotificationWithContentPostedIfMatchingUriTile()
785 PeopleSpaceTile tileWithSameUri = mManager.mTiles.get(WIDGET_ID_WITH_SAME_URI); in testUpdateMissedCallNotificationWithContentPostedIfMatchingUriTile()
814 PeopleSpaceTile tileWithMissedCallOrigin = mManager.mTiles.get(WIDGET_ID_WITH_SHORTCUT); in testRemoveMissedCallNotificationWithContentPostedIfMatchingUriTile()
819 PeopleSpaceTile tileWithSameUri = mManager.mTiles.get(WIDGET_ID_WITH_SAME_URI); in testRemoveMissedCallNotificationWithContentPostedIfMatchingUriTile()
853 PeopleSpaceTile tileWithMissedCallOrigin = mManager.mTiles.get(WIDGET_ID_WITH_SHORTCUT); in testUpdateMissedCallNotificationWithContentPostedIfMatchingUriTileFromSender()
859 PeopleSpaceTile tileWithSameUri = mManager.mTiles.get(WIDGET_ID_WITH_SAME_URI); in testUpdateMissedCallNotificationWithContentPostedIfMatchingUriTileFromSender()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServices.java73 private final SparseArrayMap<ComponentName, CustomTileInterface> mTiles = field in TileServices
135 mTiles.add(userId, component, tile); in getTileWrapper()
155 mTiles.delete(tile.getUser(), tile.getComponent()); in freeService()
407 return mTiles.get(userId, component); in getTileForUserAndComponent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManager.java170 public static Map<Integer, PeopleSpaceTile> mTiles = new HashMap<>(); field in PeopleSpaceWidgetManager
368 synchronized (mTiles) { in updateAppWidgetOptionsAndView()
369 mTiles.put(appWidgetId, tile); in updateAppWidgetOptionsAndView()
394 synchronized (mTiles) { in getTileForExistingWidgetThrowing()
395 tile = mTiles.get(appWidgetId); in getTileForExistingWidgetThrowing()