Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileImplTest.java72 private TileImpl mTile; field in QSTileImplTest
93 mTile = spy(new TileImpl(mHost)); in setup()
94 mTile.mHandler = mTile.new H(mTestableLooper.getLooper()); in setup()
95 mTile.setTileSpec(spec); in setup()
100 mTile.click(); in testClick_Metrics()
107 mTile.click(); in testClick_Metrics_Status_Bar_Status()
115 mTile.secondaryClick(); in testSecondaryClick_Metrics()
122 mTile.secondaryClick(); in testSecondaryClick_Metrics_Status_Bar_Status()
130 mTile.longClick(); in testLongClick_Metrics()
137 mTile.click(); in testLongClick_Metrics_Status_Bar_Status()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTile.java65 private final Tile mTile; field in CustomTile
82 mTile = new Tile(); in CustomTile()
107 boolean updateIcon = mTile.getIcon() == null in updateDefaultTileAndIcon()
108 || iconEquals(mTile.getIcon(), mDefaultIcon); in updateDefaultTileAndIcon()
112 mTile.setIcon(mDefaultIcon); in updateDefaultTileAndIcon()
115 boolean updateLabel = mTile.getLabel() == null in updateDefaultTileAndIcon()
116 || TextUtils.equals(mTile.getLabel(), mDefaultLabel); in updateDefaultTileAndIcon()
119 mTile.setLabel(mDefaultLabel); in updateDefaultTileAndIcon()
180 return mTile; in getQsTile()
184 mTile.setIcon(tile.getIcon()); in updateState()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DTileTest.java33 private Tile mTile; field in TileTest
44 mTile = new Tile(mActivityInfo, "category"); in setUp()
50 assertThat(mTile.isPrimaryProfileOnly()).isTrue(); in isPrimaryProfileOnly_profilePrimary_shouldReturnTrue()
56 assertThat(mTile.isPrimaryProfileOnly()).isFalse(); in isPrimaryProfileOnly_profileAll_shouldReturnFalse()
61 assertThat(mTile.isPrimaryProfileOnly()).isFalse(); in isPrimaryProfileOnly_noExplicitValue_shouldReturnFalse()
67 assertThat(mTile.isPrimaryProfileOnly()).isFalse(); in isPrimaryProfileOnly_nullMetadata_shouldReturnFalse()
82 assertThat(mTile.getIcon(RuntimeEnvironment.application)).isNull(); in getIcon_providedByUri_returnNull()
89 assertThat(mTile.getIcon(RuntimeEnvironment.application).getResId()) in getIcon_hasIconMetadata_returnIcon()
97 assertThat(mTile.getIcon(RuntimeEnvironment.application).getResId()) in getIcon_noIconMetadata_returnActivityIcon()
/frameworks/base/core/java/android/service/quicksettings/
DTileService.java153 private Tile mTile; field in TileService
331 return mTile; in getQsTile()
339 mTile = mService.getTile(mTileToken); in onBind()
343 if (mTile != null) { in onBind()
344 mTile.setService(mService, mTileToken); in onBind()
/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java312 Bitmap mTile; field in PlatLogoActivity.BackslashDrawable
323 mTile = Bitmap.createBitmap(width, width, Bitmap.Config.ALPHA_8); in BackslashDrawable()
326 final Canvas tileCanvas = new Canvas(mTile); in BackslashDrawable()
349 mShader = new BitmapShader(mTile, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); in BackslashDrawable()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt64127 Landroid/service/quicksettings/TileService;->mTile:Landroid/service/quicksettings/Tile;