Home
last modified time | relevance | path

Searched refs:CustomTile (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServices.java56 private final ArrayMap<CustomTile, TileServiceManager> mServices = new ArrayMap<>();
57 private final ArrayMap<ComponentName, CustomTile> mTiles = new ArrayMap<>();
58 private final ArrayMap<IBinder, CustomTile> mTokenMap = new ArrayMap<>();
83 public TileServiceManager getTileWrapper(CustomTile tile) { in getTileWrapper()
100 public void freeService(CustomTile tile, TileServiceManager service) { in freeService()
146 private void verifyCaller(CustomTile tile) { in verifyCaller()
161 CustomTile customTile = getTileForComponent(component); in requestListening()
180 CustomTile customTile = getTileForToken(token); in updateQsTile()
200 CustomTile customTile = getTileForToken(token); in onStartSuccessful()
220 CustomTile customTile = getTileForToken(token); in onShowDialog()
[all …]
DCustomTile.java53 public class CustomTile extends QSTileImpl<State> implements TileChangeListener { class
78 private CustomTile(QSTileHost host, String action) { in CustomTile() method in CustomTile
367 public static CustomTile create(QSTileHost host, String spec) { in create()
375 return new CustomTile(host, action); in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTileHost.java42 import com.android.systemui.qs.external.CustomTile;
234 if (tile != null && (!(tile instanceof CustomTile) in onTuningChanged()
235 || ((CustomTile) tile).getUser() == currentUser)) { in onTuningChanged()
239 if (!(tile instanceof CustomTile) && mCurrentUser != currentUser) { in onTuningChanged()
306 newSpecs.add(0, CustomTile.toSpec(tile)); in addTile()
312 newSpecs.remove(CustomTile.toSpec(tile)); in removeTile()
321 if (!tileSpec.startsWith(CustomTile.PREFIX)) continue; in changeTiles()
323 ComponentName component = CustomTile.getComponentFromSpec(tileSpec); in changeTiles()
DQSPanel.java49 import com.android.systemui.qs.external.CustomTile;
614 final String spec = CustomTile.toSpec(tile); in clickTile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSFactoryImpl.java28 import com.android.systemui.qs.external.CustomTile;
177 if (tileSpec.startsWith(CustomTile.PREFIX)) return CustomTile.create(mHost, tileSpec); in createTileInternal()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileServicesTest.java87 mTileService.getTileWrapper(mock(CustomTile.class)); in testRecalculateBindAllowance()
123 mTileService.getTileWrapper(mock(CustomTile.class)); in testCalcFew()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileQueryHelper.java41 import com.android.systemui.qs.external.CustomTile;
151 String spec = CustomTile.toSpec(componentName); in addPackageTiles()
DTileAdapter.java50 import com.android.systemui.qs.external.CustomTile;
455 if (spec.startsWith(CustomTile.PREFIX)) { in strip()
456 ComponentName component = CustomTile.getComponentFromSpec(spec); in strip()