Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DTileLayoutTest.java60 private QSPanel.TileRecord createTileRecord() { in createTileRecord()
61 QSPanel.TileRecord tileRecord = new QSPanel.TileRecord(); in createTileRecord()
69 QSPanel.TileRecord tileRecord = createTileRecord(); in testAddTile_CallsSetListeningOnTile()
76 QSPanel.TileRecord tileRecord = createTileRecord(); in testSetListening_CallsSetListeningOnTile()
84 QSPanel.TileRecord tileRecord = createTileRecord(); in testSetListening_SameValueIsNoOp()
92 QSPanel.TileRecord tileRecord = createTileRecord(); in testSetListening_ChangesValueForAddingFutureTiles()
100 QSPanel.TileRecord tileRecord = createTileRecord(); in testRemoveTile_CallsSetListeningFalseOnTile()
109 QSPanel.TileRecord tileRecord1 = createTileRecord(); in testRemoveAllViews_CallsSetListeningFalseOnAllTiles()
110 QSPanel.TileRecord tileRecord2 = createTileRecord(); in testRemoveAllViews_CallsSetListeningFalseOnAllTiles()
121 QSPanel.TileRecord tileRecord = createTileRecord(); in testMeasureLayout_CallsLayoutOnTile()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DTileLayout.java11 import com.android.systemui.qs.QSPanel.TileRecord;
29 protected final ArrayList<TileRecord> mRecords = new ArrayList<>();
45 public int getOffsetTop(TileRecord tile) { in getOffsetTop()
53 for (TileRecord record : mRecords) { in setListening()
58 public void addTile(TileRecord tile) { in addTile()
64 protected void addTileView(TileRecord tile) { in addTileView()
69 public void removeTile(TileRecord tile) { in removeTile()
76 for (TileRecord record : mRecords) { in removeAllViews()
117 for (TileRecord record : mRecords) { in onMeasure()
179 final TileRecord record = mRecords.get(i); in layoutTileRecords()
DQSPanel.java75 protected final ArrayList<TileRecord> mRecords = new ArrayList<>();
199 for (TileRecord record : mRecords) { in onDetachedFromWindow()
396 for (TileRecord r : mRecords) { in refreshAllTiles()
430 for (TileRecord record : mRecords) { in setTiles()
440 protected void drawTile(TileRecord r, QSTile.State state) { in drawTile()
452 protected TileRecord addTile(final QSTile tile, boolean collapsedView) { in addTile()
453 final TileRecord r = new TileRecord(); in addTile()
539 if (r instanceof TileRecord) { in handleShowDetail()
540 handleShowDetailTile((TileRecord) r, show); in handleShowDetail()
552 private void handleShowDetailTile(TileRecord r, boolean show) { in handleShowDetailTile()
[all …]
DPagedTileLayout.java27 import com.android.systemui.qs.QSPanel.TileRecord;
47 private final ArrayList<TileRecord> mTiles = new ArrayList<>();
177 public int getOffsetTop(TileRecord tile) { in getOffsetTop()
184 public void addTile(TileRecord tile) { in addTile()
191 public void removeTile(TileRecord tile) { in removeTile()
235 TileRecord tile = mTiles.get(i); in distributeTiles()
366 for (TileRecord tr : lastPage.mRecords) { in startTileReveal()
DQuickQSPanel.java109 protected void drawTile(TileRecord r, State state) { in drawTile()
221 protected void addTileView(TileRecord tile) { in addTileView()
277 for (TileRecord record : mRecords) { in setAccessibilityOrder()
289 for (TileRecord record : mRecords) { in onMeasure()