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;
26 protected final ArrayList<TileRecord> mRecords = new ArrayList<>();
41 public int getOffsetTop(TileRecord tile) { in getOffsetTop()
49 for (TileRecord record : mRecords) { in setListening()
54 public void addTile(TileRecord tile) { in addTile()
61 public void removeTile(TileRecord tile) { in removeTile()
68 for (TileRecord record : mRecords) { in removeAllViews()
97 for (TileRecord record : mRecords) { in onMeasure()
122 TileRecord record = mRecords.get(i); in onLayout()
DQSPanel.java61 protected final ArrayList<TileRecord> mRecords = new ArrayList<TileRecord>();
163 for (TileRecord record : mRecords) { in onDetachedFromWindow()
233 for (TileRecord r : mRecords) { in updateResources()
299 for (TileRecord r : mRecords) { in refreshAllTiles()
330 for (TileRecord record : mRecords) { in setTiles()
340 protected void drawTile(TileRecord r, QSTile.State state) { in drawTile()
352 protected TileRecord addTile(final QSTile tile, boolean collapsedView) { in addTile()
353 final TileRecord r = new TileRecord(); in addTile()
440 if (r instanceof TileRecord) { in handleShowDetail()
441 handleShowDetailTile((TileRecord) r, show); in handleShowDetail()
[all …]
DQuickQSPanel.java97 protected void drawTile(TileRecord r, State state) { in drawTile()
156 protected final ArrayList<TileRecord> mRecords = new ArrayList<>();
171 for (TileRecord record : mRecords) { in setListening()
177 public void addTile(TileRecord tile) { in addTile()
203 public void removeTile(TileRecord tile) { in removeTile()
226 public int getOffsetTop(TileRecord tile) { in getOffsetTop()
246 for (TileRecord record : mRecords) { in onMeasure()
DPagedTileLayout.java16 import com.android.systemui.qs.QSPanel.TileRecord;
26 private final ArrayList<TileRecord> mTiles = new ArrayList<TileRecord>();
156 public int getOffsetTop(TileRecord tile) { in getOffsetTop()
163 public void addTile(TileRecord tile) { in addTile()
169 public void removeTile(TileRecord tile) { in removeTile()
193 TileRecord tile = mTiles.get(i); in distributeTiles()