Home
last modified time | relevance | path

Searched refs:mTileLayout (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DTileLayoutTest.java48 private TileLayout mTileLayout; field in TileLayoutTest
53 mTileLayout = new TileLayout(mContext); in setUp()
70 mTileLayout.addTile(tileRecord); in testAddTile_CallsSetListeningOnTile()
71 verify(tileRecord.tile, times(1)).setListening(mTileLayout, false); in testAddTile_CallsSetListeningOnTile()
77 mTileLayout.addTile(tileRecord); in testSetListening_CallsSetListeningOnTile()
78 mTileLayout.setListening(true); in testSetListening_CallsSetListeningOnTile()
79 verify(tileRecord.tile, times(1)).setListening(mTileLayout, true); in testSetListening_CallsSetListeningOnTile()
85 mTileLayout.addTile(tileRecord); in testSetListening_SameValueIsNoOp()
86 mTileLayout.setListening(false); in testSetListening_SameValueIsNoOp()
93 mTileLayout.setListening(true); in testSetListening_ChangesValueForAddingFutureTiles()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSPanel.java93 protected QSTileLayout mTileLayout; field in QSPanel
121 mTileLayout = (QSTileLayout) LayoutInflater.from(mContext).inflate( in QSPanel()
123 mTileLayout.setListening(mListening); in QSPanel()
124 addView((View) mTileLayout); in QSPanel()
127 (PagedTileLayout) mTileLayout); in QSPanel()
284 if (mTileLayout instanceof PagedTileLayout) { in setFooterPageIndicator()
291 if (mTileLayout instanceof PagedTileLayout) { in updatePageIndicator()
295 ((PagedTileLayout) mTileLayout).setPageIndicator(mFooterPageIndicator); in updatePageIndicator()
313 if (mTileLayout != null) { in updateResources()
314 mTileLayout.updateResources(); in updateResources()
[all …]
DQuickQSPanel.java65 if (mTileLayout != null) { in QuickQSPanel()
67 mTileLayout.removeTile(mRecords.get(i)); in QuickQSPanel()
69 removeView((View) mTileLayout); in QuickQSPanel()
72 mTileLayout = new HeaderTileLayout(context); in QuickQSPanel()
73 mTileLayout.setListening(mListening); in QuickQSPanel()
74 addView((View) mTileLayout, 0 /* Between brightness and footer */); in QuickQSPanel()