Home
last modified time | relevance | path

Searched refs:TileRecord (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DTileLayoutTest.java78 private QSPanelControllerBase.TileRecord createTileRecord() { in createTileRecord()
79 return new QSPanelControllerBase.TileRecord( in createTileRecord()
86 QSPanelControllerBase.TileRecord tileRecord = createTileRecord(); in testAddTile_CallsSetListeningOnTile()
93 QSPanelControllerBase.TileRecord tileRecord = createTileRecord(); in testAddTile_SetsRightSquishiness()
101 QSPanelControllerBase.TileRecord tileRecord = createTileRecord(); in testSetListening_CallsSetListeningOnTile()
109 QSPanelControllerBase.TileRecord tileRecord = createTileRecord(); in testSetListening_SameValueIsNoOp()
117 QSPanelControllerBase.TileRecord tileRecord = createTileRecord(); in testSetListening_ChangesValueForAddingFutureTiles()
125 QSPanelControllerBase.TileRecord tileRecord = createTileRecord(); in testRemoveTile_CallsSetListeningFalseOnTile()
134 QSPanelControllerBase.TileRecord tileRecord1 = createTileRecord(); in testRemoveAllViews_CallsSetListeningFalseOnAllTiles()
135 QSPanelControllerBase.TileRecord tileRecord2 = createTileRecord(); in testRemoveAllViews_CallsSetListeningFalseOnAllTiles()
[all …]
DQSPanelTest.kt35 import com.android.systemui.qs.QSPanelControllerBase.TileRecord
120 QSPanelControllerBase.TileRecord( in testTilesFooterVisibleLandscapeMedia()
192 val record = TileRecord(tile, tileView) in addTile_callbackAdded()
DQSPanelControllerBaseTest.java436 QSPanelControllerBase.TileRecord record = mController.mRecords.get(0); in changeTiles_callbackRemovedOnOldOnes()
451 QSPanelControllerBase.TileRecord record = mController.mRecords.get(0); in onDestroy_removesJustTheAssociatedCallback()
462 QSPanelControllerBase.TileRecord record = mController.mRecords.get(0); in onViewDettached_callbackNotRemoved()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DTileLayout.java22 import com.android.systemui.qs.QSPanelControllerBase.TileRecord;
46 protected final ArrayList<TileRecord> mRecords = new ArrayList<>();
74 public int getOffsetTop(TileRecord tile) { in getOffsetTop()
86 for (TileRecord record : mRecords) { in setListening()
119 public void addTile(TileRecord tile) { in addTile()
125 protected void addTileView(TileRecord tile) { in addTileView()
135 public void removeTile(TileRecord tile) { in removeTile()
142 for (TileRecord record : mRecords) { in removeAllViews()
216 for (TileRecord record : mRecords) { in onMeasure()
297 final TileRecord record = mRecords.get(i); in layoutTileRecords()
[all …]
DQSPanelControllerBase.java82 protected final ArrayList<TileRecord> mRecords = new ArrayList<>();
217 for (TileRecord record : mRecords) { in destroy()
304 List<TileRecord> extraRecords = mRecords.subList(i, mRecords.size()); in setTiles()
305 for (QSPanelControllerBase.TileRecord record : extraRecords) { in setTiles()
319 for (QSPanelControllerBase.TileRecord record : mRecords) { in setTiles()
329 for (QSPanelControllerBase.TileRecord record : mRecords) { in setTiles()
337 for (QSPanelControllerBase.TileRecord r : mRecords) { in refreshAllTiles()
356 final TileRecord r = new TileRecord(tile, tileView); in addTile()
375 for (TileRecord record : mRecords) { in clickTile()
389 for (QSPanelControllerBase.TileRecord r : mRecords) { in getTileView()
[all …]
DPagedTileLayout.java36 import com.android.systemui.qs.QSPanelControllerBase.TileRecord;
59 private final ArrayList<TileRecord> mTiles = new ArrayList<>();
348 public int getOffsetTop(TileRecord tile) { in getOffsetTop()
355 public void addTile(TileRecord tile) { in addTile()
362 public void removeTile(TileRecord tile) { in removeTile()
422 TileRecord tile = mTiles.get(i); in distributeTiles()
623 for (TileRecord tr : lastPage.mRecords) { in startTileReveal()
DQSPanel.java547 protected void drawTile(QSPanelControllerBase.TileRecord r, QSTile.State state) { in drawTile()
567 final void addTile(QSPanelControllerBase.TileRecord tileRecord) { in addTile()
585 void removeTile(QSPanelControllerBase.TileRecord tileRecord) { in removeTile()
750 void addTile(QSPanelControllerBase.TileRecord tile); in addTile()
753 void removeTile(QSPanelControllerBase.TileRecord tile); in removeTile()
756 int getOffsetTop(QSPanelControllerBase.TileRecord tile); in getOffsetTop()
/frameworks/base/packages/SystemUI/docs/
Dqs-tiles.md147 a [`TileRecord`](/packages/SystemUI/src/com/android/systemui/qs/QSPanel.java). This associates the
426 a `TileRecord` containing the tile backend and the view. Additionally: