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.java60 private QSPanelControllerBase.TileRecord createTileRecord() { in createTileRecord()
61 QSPanelControllerBase.TileRecord tileRecord = new QSPanelControllerBase.TileRecord(); in createTileRecord()
69 QSPanelControllerBase.TileRecord tileRecord = createTileRecord(); in testAddTile_CallsSetListeningOnTile()
76 QSPanelControllerBase.TileRecord tileRecord = createTileRecord(); in testSetListening_CallsSetListeningOnTile()
84 QSPanelControllerBase.TileRecord tileRecord = createTileRecord(); in testSetListening_SameValueIsNoOp()
92 QSPanelControllerBase.TileRecord tileRecord = createTileRecord(); in testSetListening_ChangesValueForAddingFutureTiles()
100 QSPanelControllerBase.TileRecord tileRecord = createTileRecord(); in testRemoveTile_CallsSetListeningFalseOnTile()
109 QSPanelControllerBase.TileRecord tileRecord1 = createTileRecord(); in testRemoveAllViews_CallsSetListeningFalseOnAllTiles()
110 QSPanelControllerBase.TileRecord tileRecord2 = createTileRecord(); in testRemoveAllViews_CallsSetListeningFalseOnAllTiles()
121 QSPanelControllerBase.TileRecord tileRecord = createTileRecord(); in testMeasureLayout_CallsLayoutOnTile()
[all …]
DQSPanelTest.java61 private QSPanelControllerBase.TileRecord mDndTileRecord;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DTileLayout.java15 import com.android.systemui.qs.QSPanelControllerBase.TileRecord;
35 protected final ArrayList<TileRecord> mRecords = new ArrayList<>();
58 public int getOffsetTop(TileRecord tile) { in getOffsetTop()
70 for (TileRecord record : mRecords) { in setListening()
91 public void addTile(TileRecord tile) { in addTile()
97 protected void addTileView(TileRecord tile) { in addTileView()
102 public void removeTile(TileRecord tile) { in removeTile()
109 for (TileRecord record : mRecords) { in removeAllViews()
162 for (TileRecord record : mRecords) { in onMeasure()
227 final TileRecord record = mRecords.get(i); in layoutTileRecords()
DQSPanelControllerBase.java72 protected final ArrayList<TileRecord> mRecords = new ArrayList<>();
176 for (TileRecord record : mRecords) { in onViewDetached()
199 for (QSPanelControllerBase.TileRecord record : mRecords) { in setTiles()
212 for (QSPanelControllerBase.TileRecord r : mRecords) { in refreshAllTiles()
218 final TileRecord r = new TileRecord(); in addTile()
229 for (TileRecord record : mRecords) { in clickTile()
250 for (QSPanelControllerBase.TileRecord r : mRecords) { in getTileView()
385 for (QSPanelControllerBase.TileRecord record : mRecords) { in dump()
412 public static final class TileRecord extends QSPanel.Record { class in QSPanelControllerBase
DQSPanel.java475 protected void drawTile(QSPanelControllerBase.TileRecord r, QSTile.State state) { in drawTile()
495 void addTile(QSPanelControllerBase.TileRecord tileRecord) { in addTile()
545 void removeTile(QSPanelControllerBase.TileRecord tileRecord) { in removeTile()
558 if (r instanceof QSPanelControllerBase.TileRecord) { in handleShowDetail()
559 handleShowDetailTile((QSPanelControllerBase.TileRecord) r, show); in handleShowDetail()
571 private void handleShowDetailTile(QSPanelControllerBase.TileRecord r, boolean show) { in handleShowDetailTile()
592 final boolean scanState = mDetailRecord instanceof QSPanelControllerBase.TileRecord in setDetailRecord()
593 && ((QSPanelControllerBase.TileRecord) mDetailRecord).scanState; in setDetailRecord()
730 void addTile(QSPanelControllerBase.TileRecord tile); in addTile()
733 void removeTile(QSPanelControllerBase.TileRecord tile); in removeTile()
[all …]
DPagedTileLayout.java27 import com.android.systemui.qs.QSPanelControllerBase.TileRecord;
47 private final ArrayList<TileRecord> mTiles = new ArrayList<>();
249 public int getOffsetTop(TileRecord tile) { in getOffsetTop()
256 public void addTile(TileRecord tile) { in addTile()
263 public void removeTile(TileRecord tile) { in removeTile()
311 TileRecord tile = mTiles.get(i); in distributeTiles()
472 for (TileRecord tr : lastPage.mRecords) { in startTileReveal()
DQuickQSPanel.java96 protected void drawTile(QSPanelControllerBase.TileRecord r, State state) { in drawTile()
/frameworks/base/packages/SystemUI/docs/
Dqs-tiles.md96 …es (`QuickQSPanel` or `QSPanel`) has to display tiles, they create a [`TileRecord`](/packages/Syst…
275 …, a `QSTileView` is created (collapsed or expanded) and attached to a `TileRecord` containing the …