Searched refs:CustomTile (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | TileServices.java | 57 private final ArrayMap<CustomTile, TileServiceManager> mServices = new ArrayMap<>(); 58 private final ArrayMap<ComponentName, CustomTile> mTiles = new ArrayMap<>(); 59 private final ArrayMap<IBinder, CustomTile> mTokenMap = new ArrayMap<>(); 90 public TileServiceManager getTileWrapper(CustomTile tile) { in getTileWrapper() 110 public void freeService(CustomTile tile, TileServiceManager service) { in freeService() 156 private void verifyCaller(CustomTile tile) { in verifyCaller() 171 CustomTile customTile = getTileForComponent(component); in requestListening() 190 CustomTile customTile = getTileForToken(token); in updateQsTile() 210 CustomTile customTile = getTileForToken(token); in onStartSuccessful() 230 CustomTile customTile = getTileForToken(token); in onShowDialog() [all …]
|
D | CustomTile.java | 55 public class CustomTile extends QSTileImpl<State> implements TileChangeListener { class 82 private CustomTile(QSHost host, String action, Context userContext) { in CustomTile() method in CustomTile 400 public static CustomTile create(QSHost host, String spec, Context userContext) { in create() 408 return new CustomTile(host, action, userContext); in create()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | CustomTileTest.kt | 56 val TILE_SPEC = CustomTile.toSpec(componentName) 68 private lateinit var customTile: CustomTile 78 `when`(mTileServices.getTileWrapper(any(CustomTile::class.java))) in setUp() 88 customTile = CustomTile.create(mTileHost, TILE_SPEC, mContext) in setUp() 99 val tile = CustomTile.create(mTileHost, TILE_SPEC, userContext) in testCorrectUser() 107 customTile = CustomTile.create(mTileHost, TILE_SPEC, mContext) in testToggleableTileHasBooleanState() 122 customTile = CustomTile.create(mTileHost, TILE_SPEC, mContext) in testValueUpdatedInBooleanTile()
|
D | TileServicesTest.java | 135 mTileService.getTileWrapper(mock(CustomTile.class)); in testRecalculateBindAllowance() 170 mTileService.getTileWrapper(mock(CustomTile.class)); in testCalcFew()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSTileHost.java | 47 import com.android.systemui.qs.external.CustomTile; 272 if (tile != null && (!(tile instanceof CustomTile) in onTuningChanged() 273 || ((CustomTile) tile).getUser() == currentUser)) { in onTuningChanged() 277 if (!(tile instanceof CustomTile) && mCurrentUser != currentUser) { in onTuningChanged() 370 String spec = CustomTile.toSpec(tile); in addTile() 384 newSpecs.remove(CustomTile.toSpec(tile)); in removeTile() 393 if (!tileSpec.startsWith(CustomTile.PREFIX)) continue; in changeTiles() 395 ComponentName component = CustomTile.getComponentFromSpec(tileSpec); in changeTiles()
|
D | QSPanel.java | 56 import com.android.systemui.qs.external.CustomTile; 998 final String spec = CustomTile.toSpec(tile); in clickTile()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSFactoryImpl.java | 28 import com.android.systemui.qs.external.CustomTile; 181 if (tileSpec.startsWith(CustomTile.PREFIX)) { in createTileInternal() 182 return CustomTile.create(mQsHostLazy.get(), tileSpec, in createTileInternal()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | AutoTileManager.java | 31 import com.android.systemui.qs.external.CustomTile; 320 if (mSpec.startsWith(CustomTile.PREFIX)) { in handleValueChanged() 321 mHost.addTile(CustomTile.getComponentFromSpec(mSpec), /* end */ true); in handleValueChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | TileQueryHelper.java | 41 import com.android.systemui.qs.external.CustomTile; 116 if (spec.startsWith(CustomTile.PREFIX)) continue; in addCurrentAndStockTiles() 162 String spec = CustomTile.toSpec(componentName); in addPackageTiles()
|
D | TileAdapter.java | 50 import com.android.systemui.qs.external.CustomTile; 473 if (spec.startsWith(CustomTile.PREFIX)) { in strip() 474 ComponentName component = CustomTile.getComponentFromSpec(spec); in strip()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QSTileHostTest.java | 52 import com.android.systemui.qs.external.CustomTile; 84 private static final String CUSTOM_TILE_SPEC = CustomTile.toSpec(CUSTOM_TILE); 107 private CustomTile mCustomTile;
|
/frameworks/base/packages/SystemUI/docs/ |
D | qs-tiles.md | 40 …CustomTile`](/packages/SystemUI/src/com/android/systemui/qs/external/CustomTile.java): Equivalent … 196 #### CustomTile subsubsection 202 …current `TileService` components and dispatches them to SystemUI or the corresponding `CustomTile`. 235 …it and collapse it. And a way for the StatusBar service to add tiles (only works for `CustomTile`). 259 …gnized but it has the `custom(` prefix, the factory tries to create a `CustomTile` for the compone… 273 …entation of `QSTile` (either a SystemUI subclass of `QSTileImpl` or a `CustomTile`). If the tile i… 282 #### Lifecycle of a CustomTile 284 In step 3 of the previous process, when a `CustomTile` is created, additional steps are taken to en… 286 …CustomTile` obtains the `TileServices` class from the `QSTileHost` and request the creation of a `… 288 3. `TileServices` creates maps between the token, the `CustomTile`, the `TileServiceManager`, the t…
|