Home
last modified time | relevance | path

Searched refs:tiles (Results 1 – 25 of 94) sorted by relevance

1234

/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
H A DQSFactoryImpl.java29 import com.android.systemui.qs.tiles.AlarmTile;
31 import com.android.systemui.qs.tiles.BluetoothTile;
33 import com.android.systemui.qs.tiles.CastTile;
34 import com.android.systemui.qs.tiles.CellularTile;
38 import com.android.systemui.qs.tiles.DndTile;
40 import com.android.systemui.qs.tiles.HotspotTile;
41 import com.android.systemui.qs.tiles.InternetTile;
42 import com.android.systemui.qs.tiles.LocationTile;
44 import com.android.systemui.qs.tiles.NfcTile;
51 import com.android.systemui.qs.tiles.UserTile;
[all …]
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/
H A DWindowManagerProxy.java86 void dismissOrMaximizeDocked(final LegacySplitScreenTaskListener tiles, in dismissOrMaximizeDocked() argument
91 applyDismissSplit(tiles, layout, dismissOrMaximize); in dismissOrMaximizeDocked()
232 outWct.reorder(tiles.mSecondary.token, true /* onTop */); in buildEnterSplit()
257 wct.setLaunchRoot(tiles.mSecondary.token, null, null); in applyDismissSplit()
258 buildDismissSplit(wct, tiles, layout, dismissOrMaximize); in applyDismissSplit()
273 final TaskOrganizer taskOrg = tiles.getTaskOrganizer(); in buildDismissSplit()
285 || p.token.equals(tiles.mPrimary.token)); in buildDismissSplit()
322 : layout.mSecondary.top - tiles.mHomeBounds.top; in buildDismissSplit()
324 sft.setPosition(tiles.mSecondarySurface, posX, posY); in buildDismissSplit()
328 sft.setWindowCrop(tiles.mSecondarySurface, crop); in buildDismissSplit()
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DAutoAddTracker.kt110 restoredTiles?.let { tiles ->
120 val tilesToRemove = restoredAutoAdded.filter { it !in tiles }
124 val tiles = synchronized(autoAdded) { regex
129 saveTiles(tiles)
199 val tiles = synchronized(autoAdded) { regex
206 tiles?.let { saveTiles(it) }
215 val tiles = synchronized(autoAdded) { regex
222 tiles?.let { saveTiles(it) }
229 private fun saveTiles(tiles: String) {
232 tiles,
H A DQSTileHost.java519 tiles.add(spec); in loadTileSpecs()
527 tiles.add(tile); in loadTileSpecs()
533 if (!tiles.contains("internet")) { in loadTileSpecs()
534 if (tiles.contains("wifi")) { in loadTileSpecs()
536 tiles.set(tiles.indexOf("wifi"), "internet"); in loadTileSpecs()
537 tiles.remove("cell"); in loadTileSpecs()
540 tiles.set(tiles.indexOf("cell"), "internet"); in loadTileSpecs()
543 tiles.remove("wifi"); in loadTileSpecs()
544 tiles.remove("cell"); in loadTileSpecs()
547 return tiles; in loadTileSpecs()
[all …]
H A DQuickQSPanelController.java112 List<QSTile> tiles = new ArrayList<>(); in setTiles() local
114 tiles.add(tile); in setTiles()
115 if (tiles.size() == mView.getNumQuickTiles()) { in setTiles()
119 super.setTiles(tiles, /* collapsedView */ true); in setTiles()
H A DQSTileRevealController.java58 public void updateRevealedTiles(Collection<QSTile> tiles) { in updateRevealedTiles() argument
60 for (QSTile tile : tiles) { in updateRevealedTiles()
H A DQSPanelControllerBase.java197 public void setTiles(Collection<QSTile> tiles, boolean collapsedView) { in setTiles() argument
200 mQsTileRevealController.updateRevealedTiles(tiles); in setTiles()
209 for (QSTile tile : tiles) { in setTiles()
/aosp12/frameworks/base/packages/SystemUI/docs/
H A Dqs-tiles.md7 …k Settings tiles. It provides descriptions about the lifecycle of a tile, how to create new tiles
15 The following image shows QQS on the left and QS on the right, with the tiles highlighted.
27 ## What are tiles made of?
34 * `Icon`: Defines the basic interface for an icon as used by the tiles.
42tiles operate on `QSTile` or the interfaces defined in it. However, all the current implementation…
62 #### SystemUI tiles
120 ## Third party tiles (TileService)
227 ## How are tiles created/instantiated?
245 … provides a way of creating tiles and views from a spec. It can be used in plugins to provide diff…
269 …on to SystemUI tiles and third party tiles. Following that, there will be a section with the steps…
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/dashboard/
H A DCategoryManager.java188 List<Tile> tiles = packageToTileMap.get(packageName); in backwardCompatCleanupForCategory() local
189 if (tiles == null) { in backwardCompatCleanupForCategory()
190 tiles = new ArrayList<>(); in backwardCompatCleanupForCategory()
191 packageToTileMap.put(packageName, tiles); in backwardCompatCleanupForCategory()
193 tiles.add(tileEntry.getValue()); in backwardCompatCleanupForCategory()
197 final List<Tile> tiles = entry.getValue(); in backwardCompatCleanupForCategory() local
201 for (Tile tile : tiles) { in backwardCompatCleanupForCategory()
211 for (Tile tile : tiles) { in backwardCompatCleanupForCategory()
H A DDashboardFragment.java477 final List<Tile> tiles = category.getTiles(); in refreshDashboardTiles() local
478 if (tiles == null) { in refreshDashboardTiles()
487 for (Tile tile : tiles) { in refreshDashboardTiles()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
H A DTilesStatesTextTest.kt35 val tiles = mContext.getString(R.string.quick_settings_tiles_stock).split(",") regex
36 tiles.forEach { spec ->
57 val tiles = mContext.getString(R.string.quick_settings_tiles_stock).split(",") regex
58 tiles.forEach { spec ->
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
H A DPeopleSpaceActivity.java114 private void setTileViews(int viewId, int tilesId, List<PeopleSpaceTile> tiles) { in setTileViews() argument
115 if (tiles.isEmpty()) { in setTileViews()
124 for (int i = 0; i < tiles.size(); ++i) { in setTileViews()
125 PeopleSpaceTile tile = tiles.get(i); in setTileViews()
127 layout, tile.getId(), i == (tiles.size() - 1)); in setTileViews()
/aosp12/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
H A DTileUtils.java247 final ArrayList<Tile> tiles = new ArrayList<>(); in getCategories() local
254 loadTilesForAction(context, user, SETTINGS_ACTION, cache, null, tiles, true); in getCategories()
256 OPERATOR_DEFAULT_CATEGORY, tiles, false); in getCategories()
258 MANUFACTURER_DEFAULT_CATEGORY, tiles, false); in getCategories()
261 loadTilesForAction(context, user, EXTRA_SETTINGS_ACTION, cache, null, tiles, false); in getCategories()
262 loadTilesForAction(context, user, IA_SETTINGS_ACTION, cache, null, tiles, false); in getCategories()
267 for (Tile tile : tiles) { in getCategories()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/
H A DMultiAttachmentLayout.java122 public final List<Tile> tiles; field in MultiAttachmentLayout.Layout
124 tiles = Arrays.asList(tilesArray); in Layout()
223 mPlusNumber = count - mCurrentLayout.tiles.size(); in determineLayout()
230 final int count = mCurrentLayout.tiles.size(); in buildViews()
314 final Tile imageTile = mCurrentLayout.tiles.get(i); in onMeasure()
348 final Tile imageTile = mCurrentLayout.tiles.get(i); in onLayout()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DTiledImageDrawable.java39 public TiledImageDrawable(ImageTileSet tiles) { in TiledImageDrawable() argument
40 mTiles = tiles; in TiledImageDrawable()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
H A DQSTileHostTest.java173 List<String> tiles = QSTileHost.loadTileSpecs(mContext, "", mFeatureFlags); in testLoadTileSpecs_emptySetting() local
174 assertFalse(tiles.isEmpty()); in testLoadTileSpecs_emptySetting()
179 List<String> tiles = QSTileHost.loadTileSpecs(mContext, null, mFeatureFlags); in testLoadTileSpecs_nullSetting() local
180 assertFalse(tiles.isEmpty()); in testLoadTileSpecs_nullSetting()
419 List<String> tiles = List.of("spec1", "spec2", "spec3"); in testRemoveTiles() local
420 mQSTileHost.saveTilesToSettings(tiles); in testRemoveTiles()
H A DQuickQSPanelControllerTest.kt111 `when`(qsTileHost.tiles).thenReturn(listOf(tile, tile))
120 `when`(qsTileHost.tiles).thenReturn(listOf(tile, tile, tile, tile))
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/
H A DTileQueryHelperTest.java201 String tiles = TextUtils.join(",", specs); in testQueryTiles_correctTilesAndOrderOnlyStockTiles() local
202 assertThat(tiles, is(equalTo(STOCK_TILES))); in testQueryTiles_correctTilesAndOrderOnlyStockTiles()
221 String tiles = TextUtils.join(",", specs); in testQueryTiles_correctTilesAndOrderOtherFactoryTiles() local
222 assertThat(tiles, is(equalTo(ALL_TILES))); in testQueryTiles_correctTilesAndOrderOtherFactoryTiles()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
H A DInternetDialogUtil.java1 package com.android.systemui.qs.tiles.dialog;
H A DInternetDialogFactory.kt16 package com.android.systemui.qs.tiles.dialog
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
H A DTileQueryHelper.java278 private State getState(Collection<QSTile> tiles, String spec) { in getState() argument
279 for (QSTile tile : tiles) { in getState()
321 void onTilesChanged(List<TileInfo> tiles); in onTilesChanged() argument
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/
H A DInternetAdapterTest.java1 package com.android.systemui.qs.tiles.dialog;
3 import static com.android.systemui.qs.tiles.dialog.InternetDialogController.MAX_WIFI_ENTRY_COUNT;
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeUI.java27 import com.android.systemui.qs.tiles.DndTile;
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DCameraToggleTile.java17 package com.android.systemui.qs.tiles;
H A DMicrophoneToggleTile.java17 package com.android.systemui.qs.tiles;

1234