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;
28 protected final ArrayList<TileRecord> mRecords = new ArrayList<>();
43 public int getOffsetTop(TileRecord tile) { in getOffsetTop()
51 for (TileRecord record : mRecords) { in setListening()
56 public void addTile(TileRecord tile) { in addTile()
63 public void removeTile(TileRecord tile) { in removeTile()
70 for (TileRecord record : mRecords) { in removeAllViews()
103 for (TileRecord record : mRecords) { in onMeasure()
142 final TileRecord record = mRecords.get(i); in onLayout()
DQSPanel.java64 protected final ArrayList<TileRecord> mRecords = new ArrayList<>();
172 for (TileRecord record : mRecords) { in onDetachedFromWindow()
288 for (TileRecord r : mRecords) { in updateResources()
368 for (TileRecord r : mRecords) { in refreshAllTiles()
402 for (TileRecord record : mRecords) { in setTiles()
412 protected void drawTile(TileRecord r, QSTile.State state) { in drawTile()
424 protected TileRecord addTile(final QSTile tile, boolean collapsedView) { in addTile()
425 final TileRecord r = new TileRecord(); in addTile()
512 if (r instanceof TileRecord) { in handleShowDetail()
513 handleShowDetailTile((TileRecord) r, show); in handleShowDetail()
[all …]
DQuickQSPanel.java99 protected void drawTile(TileRecord r, State state) { in drawTile()
181 protected final ArrayList<TileRecord> mRecords = new ArrayList<>();
236 for (TileRecord record : mRecords) { in setListening()
242 public void addTile(TileRecord tile) { in addTile()
265 public void removeTile(TileRecord tile) { in removeTile()
288 public int getOffsetTop(TileRecord tile) { in getOffsetTop()
308 for (TileRecord record : mRecords) { in onMeasure()
DPagedTileLayout.java25 import com.android.systemui.qs.QSPanel.TileRecord;
45 private final ArrayList<TileRecord> mTiles = new ArrayList<>();
155 public int getOffsetTop(TileRecord tile) { in getOffsetTop()
162 public void addTile(TileRecord tile) { in addTile()
168 public void removeTile(TileRecord tile) { in removeTile()
216 TileRecord tile = mTiles.get(i); in distributeTiles()
298 for (TileRecord tr : lastPage.mRecords) { in startTileReveal()