Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTile.java61 private final Tile mTile; field in CustomTile
78 mTile = new Tile(); in CustomTile()
97 boolean updateIcon = mTile.getIcon() == null in setTileIcon()
98 || iconEquals(mTile.getIcon(), mDefaultIcon); in setTileIcon()
102 mTile.setIcon(mDefaultIcon); in setTileIcon()
105 if (mTile.getLabel() == null) { in setTileIcon()
106 mTile.setLabel(info.loadLabel(pm)); in setTileIcon()
165 return mTile; in getQsTile()
169 mTile.setIcon(tile.getIcon()); in updateState()
170 mTile.setLabel(tile.getLabel()); in updateState()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileImplTest.java57 private TileImpl mTile; field in QSTileImplTest
70 mTile = new TileImpl(mHost); in setup()
71 mTile.setTileSpec(spec); in setup()
77 mTile.click(); in testClick_Metrics()
83 mTile.secondaryClick(); in testSecondaryClick_Metrics()
89 mTile.longClick(); in testLongClick_Metrics()
97 mTile.getState().value = true; in testPopulate()
98 mTile.populate(maker); in testPopulate()
122 if (arg.getSubtype() != mTile.getMetricsCategory()) { in matches()
123 mInvalid = "Expected subtype " + mTile.getMetricsCategory() + " but was " in matches()
/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()