Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileImplTest.java65 private TileImpl mTile; field in QSTileImplTest
79 mTile = spy(new TileImpl(mHost)); in setup()
80 mTile.mHandler = mTile.new H(mTestableLooper.getLooper()); in setup()
81 mTile.setTileSpec(spec); in setup()
86 mTile.click(); in testClick_Metrics()
92 mTile.secondaryClick(); in testSecondaryClick_Metrics()
98 mTile.longClick(); in testLongClick_Metrics()
107 mTile.getState().value = true; in testPopulate()
108 mTile.populate(maker); in testPopulate()
116 when(mTile.getStaleTimeout()).thenReturn(5l); in testStaleTimeout()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTile.java64 private final Tile mTile; field in CustomTile
81 mTile = new Tile(); in CustomTile()
105 boolean updateIcon = mTile.getIcon() == null in setTileIcon()
106 || iconEquals(mTile.getIcon(), mDefaultIcon); in setTileIcon()
110 mTile.setIcon(mDefaultIcon); in setTileIcon()
113 if (mTile.getLabel() == null) { in setTileIcon()
114 mTile.setLabel(info.loadLabel(pm)); in setTileIcon()
173 return mTile; in getQsTile()
177 mTile.setIcon(tile.getIcon()); in updateState()
178 mTile.setLabel(tile.getLabel()); in updateState()
[all …]
/frameworks/base/core/java/android/service/quicksettings/
DTileService.java145 private Tile mTile; field in TileService
323 return mTile; in getQsTile()
331 mTile = mService.getTile(mTileToken); in onBind()
335 if (mTile != null) { in onBind()
336 mTile.setService(mService, mTileToken); in onBind()