/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | MultiAttachmentLayout.java | 82 private static class Tile { class in MultiAttachmentLayout 88 private Tile(final int startX, final int startY, final int endX, final int endY) { in Tile() method in MultiAttachmentLayout.Tile 105 public static Tile large(final int startX, final int startY) { in large() 106 return new Tile(startX, startY, startX + 1, startY + 1); in large() 109 public static Tile wide(final int startX, final int startY) { in wide() 110 return new Tile(startX, startY, startX + 1, startY); in wide() 113 public static Tile small(final int startX, final int startY) { in small() 114 return new Tile(startX, startY, startX, startY); in small() 122 public final List<Tile> tiles; 123 public Layout(final Tile[] tilesArray) { in Layout() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/dashboard/ |
D | CategoryManagerTest.java | 39 import com.android.settingslib.drawer.Tile; 54 private Map<Pair<String, String>, Tile> mTileByComponentCache; 76 final Tile tile1 = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_ACCOUNT); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForNewKeys() 77 final Tile tile2 = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_ACCOUNT); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForNewKeys() 93 final Tile tile1 = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_ACCOUNT); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForMixedKeys() 95 final Tile tile2 = new ActivityTile(mActivityInfo, oldCategory); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForMixedKeys() 116 final Tile tile1 = new ActivityTile(mActivityInfo, oldCategory); in backwardCompatCleanupForCategory_shouldChangeCategoryForOldKeys() 139 final Tile tile1 = createActivityTile(category.key, testPackage, "class1", 100); in sortCategories_singlePackage_shouldReorderBasedOnPriority() 140 final Tile tile2 = createActivityTile(category.key, testPackage, "class2", 50); in sortCategories_singlePackage_shouldReorderBasedOnPriority() 141 final Tile tile3 = createActivityTile(category.key, testPackage, "class3", 200); in sortCategories_singlePackage_shouldReorderBasedOnPriority() [all …]
|
/packages/apps/WallpaperPicker/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 96 private final LongSparseArray<Tile> mActiveTiles = new LongSparseArray<Tile>(); 310 Tile tile = mActiveTiles.valueAt(i); in layoutTiles() 342 Tile tile = mActiveTiles.valueAt(i); in invalidateTiles() 395 Tile tile = mRecycledQueue.pop(); in freeTextures() 404 Tile texture = mActiveTiles.valueAt(i); in freeTextures() 474 Tile tile = mActiveTiles.valueAt(i); in uploadBackgroundTiles() 481 private void queueForDecode(Tile tile) { in queueForDecode() 492 private void decodeTile(Tile tile) { in decodeTile() 519 private Tile obtainTile(int x, int y, int level) { in obtainTile() 521 Tile tile = mRecycledQueue.pop(); in obtainTile() [all …]
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 96 private final LongSparseArray<Tile> mActiveTiles = new LongSparseArray<Tile>(); 310 Tile tile = mActiveTiles.valueAt(i); in layoutTiles() 342 Tile tile = mActiveTiles.valueAt(i); in invalidateTiles() 395 Tile tile = mRecycledQueue.pop(); in freeTextures() 404 Tile texture = mActiveTiles.valueAt(i); in freeTextures() 474 Tile tile = mActiveTiles.valueAt(i); in uploadBackgroundTiles() 481 private void queueForDecode(Tile tile) { in queueForDecode() 492 private void decodeTile(Tile tile) { in decodeTile() 519 private Tile obtainTile(int x, int y, int level) { in obtainTile() 521 Tile tile = mRecycledQueue.pop(); in obtainTile() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | TileImageView.java | 99 private final LongSparseArray<Tile> mActiveTiles = new LongSparseArray<Tile>(); 254 Tile tile = mActiveTiles.valueAt(i); in layoutTiles() 285 Tile tile = mActiveTiles.valueAt(i); in invalidateTiles() 377 Tile texture = mActiveTiles.valueAt(i); in freeTextures() 386 Tile tile = mRecycledQueue.pop(); in freeTextures() 470 Tile tile = mActiveTiles.valueAt(i); in uploadBackgroundTiles() 475 void queueForUpload(Tile tile) { in queueForUpload() 484 synchronized void queueForDecode(Tile tile) { in queueForDecode() 491 boolean decodeTile(Tile tile) { in decodeTile() 512 private synchronized Tile obtainTile(int x, int y, int level) { in obtainTile() [all …]
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | CategoryManager.java | 31 import com.android.settingslib.drawer.Tile; 50 private final Map<Pair<String, String>, Tile> mTileByComponentCache; 101 Tile tile = category.getTile(j); in updateCategoryFromDenylist() 110 public synchronized Map<ComponentName, Tile> getTileByComponentMap() { in getTileByComponentMap() 111 final Map<ComponentName, Tile> result = new ArrayMap<>(); in getTileByComponentMap() 118 final Tile tile = category.getTile(i); in getTileByComponentMap() 162 Map<Pair<String, String>, Tile> tileByComponentCache, in backwardCompatCleanupForCategory() 169 final Map<String, List<Tile>> packageToTileMap = new HashMap<>(); in backwardCompatCleanupForCategory() 170 for (Entry<Pair<String, String>, Tile> tileEntry : tileByComponentCache.entrySet()) { in backwardCompatCleanupForCategory() 172 List<Tile> tiles = packageToTileMap.get(packageName); in backwardCompatCleanupForCategory() [all …]
|
D | DashboardFeatureProviderImpl.java | 69 import com.android.settingslib.drawer.Tile; 111 public String getDashboardKeyForTile(Tile tile) { in getDashboardKeyForTile() 126 boolean forceRoundedIcon, int sourceMetricsCategory, Preference pref, Tile tile, in bindPreferenceToTileAndGetObservers() 190 public void openTileIntent(FragmentActivity activity, Tile tile) { in openTileIntent() 228 private DynamicDataObserver bindTitleAndGetObserver(Preference preference, Tile tile) { 259 private DynamicDataObserver bindSummaryAndGetObserver(Preference preference, Tile tile) { 288 private DynamicDataObserver bindSwitchAndGetObserver(Preference preference, Tile tile) { 359 void bindIcon(Preference preference, Tile tile, boolean forceRoundedIcon) { 402 private void setPreferenceIcon(Preference preference, Tile tile, boolean forceRoundedIcon, 415 private void launchIntentOrSelectProfile(FragmentActivity activity, Tile tile, Intent intent, [all …]
|
D | DashboardFeatureProvider.java | 22 import com.android.settingslib.drawer.Tile; 44 String getDashboardKeyForTile(Tile tile); in getDashboardKeyForTile() 61 boolean forceRoundedIcon, int sourceMetricsCategory, Preference pref, Tile tile, in bindPreferenceToTileAndGetObservers() 67 void openTileIntent(FragmentActivity activity, Tile tile); in openTileIntent()
|
D | DashboardFragment.java | 48 import com.android.settingslib.drawer.Tile; 311 protected boolean displayTile(Tile tile) { in displayTile() 477 final List<Tile> tiles = category.getTiles(); in refreshDashboardTiles() 487 for (Tile tile : tiles) { in refreshDashboardTiles() 533 Preference createPreference(Tile tile) { in createPreference()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | DashboardFeatureProviderImplTest.java | 75 import com.android.settingslib.drawer.Tile; 157 final Tile tile = spy(new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE)); in bindPreference_shouldBindAllData() 177 final Tile tile = spy(new ProviderTile(mProviderInfo, CategoryKey.CATEGORY_HOMEPAGE, in bindPreference_shouldBindAllSwitchData() 199 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE); in bindPreference_noFragmentMetadata_shouldBindIntent() 212 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE); in bindPreference_noFragmentMetadata_shouldBindToProfileSelector() 227 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE); in bindPreference_noFragmentMetadataSingleUser_shouldBindToDirectLaunchIntent() 249 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE); in bindPreference_toInternalSettingActivity_shouldBindToDirectLaunchIntentAndNotLog() 265 final Tile tile = mock(Tile.class); in bindPreference_nullPreference_shouldIgnore() 275 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE); in bindPreference_withNullKeyNullPriority_shouldGenerateKeyAndPriority() 289 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE); in bindPreference_noSummary_shouldSetNullSummary() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | TiledTexture.java | 49 private static Tile sFreeTileHead = null; 59 private final Tile[] mTiles; // Can be modified in different threads. 112 private static class Tile extends UploadedTexture { class in TiledTexture 116 public Tile nextFreeTile; 161 private static void freeTile(Tile tile) { in freeTile() 170 private static Tile obtainTile() { in obtainTile() 172 Tile result = sFreeTileHead; in obtainTile() 173 if (result == null) return new Tile(); in obtainTile() 184 Tile next = mTiles[mUploadIndex++]; in uploadNextTile() 205 ArrayList<Tile> list = new ArrayList<Tile>(); in TiledTexture() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/ |
D | QuickSettingGridAdapter.java | 52 private final List<Tile> mTiles = new ArrayList<>(); 73 interface Tile extends View.OnClickListener { interface in QuickSettingGridAdapter 134 QuickSettingGridAdapter addTile(Tile tile) { in addTile() 145 for (Tile tile : mTiles) { in start() 154 for (Tile tile : mTiles) { in stop() 186 Tile tile = mTiles.get(position - mSeekbarTiles.size()); in onBindViewHolder()
|
D | DayNightTile.java | 34 public class DayNightTile implements QuickSettingGridAdapter.Tile {
|
D | CelluarTile.java | 34 public class CelluarTile implements QuickSettingGridAdapter.Tile, DataUsageController.Callback {
|
D | WifiTile.java | 37 public class WifiTile implements QuickSettingGridAdapter.Tile, CarWifiManager.Listener {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | AccountDetailDashboardFragmentTest.java | 52 import com.android.settingslib.drawer.Tile; 109 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_ACCOUNT_DETAIL); in refreshDashboardTiles_HasAccountType_shouldDisplay() 118 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_ACCOUNT_DETAIL); in refreshDashboardTiles_NoAccountType_shouldNotDisplay() 126 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_ACCOUNT_DETAIL); in refreshDashboardTiles_OtherAccountType_shouldNotDisplay() 142 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_ACCOUNT_DETAIL); in refreshDashboardTiles_HasAccountType_shouldAddAccountNameToIntent() 170 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_ACCOUNT_DETAIL); in displayTile_shouldAddUserHandleToTileIntent()
|
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/ |
D | ProfileSelectDialog.java | 34 import com.android.settingslib.drawer.Tile; 46 private Tile mSelectedTile; 54 public static void show(FragmentManager manager, Tile tile, int sourceMetricCategory) { in show() 94 public static void updateUserHandlesIfNeeded(Context context, Tile tile) { in updateUserHandlesIfNeeded()
|
/packages/apps/Settings/src/com/android/settings/core/ |
D | CategoryMixin.java | 38 import com.android.settingslib.drawer.Tile; 155 private Map<ComponentName, Tile> mPreviousTileMap; 186 final Map<ComponentName, Tile> currentTileMap = in getChangedCategories() 189 final Tile previousTile = mPreviousTileMap.get(component); in getChangedCategories()
|
/packages/apps/Traceur/src/com/android/traceur/ |
D | QsService.java | 24 import android.service.quicksettings.Tile; 57 getQsTile().setState(tracingOn ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE); in update()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/profileselector/ |
D | ProfileSelectDialogTest.java | 34 import com.android.settingslib.drawer.Tile; 70 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE); in updateUserHandlesIfNeeded_Normal() 82 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE); in updateUserHandlesIfNeeded_Remove()
|
/packages/apps/Settings/src/com/android/settings/development/qstile/ |
D | DevelopmentTiles.java | 39 import android.service.quicksettings.Tile; 95 state = Tile.STATE_UNAVAILABLE; in refresh() 97 state = isEnabled() ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in refresh() 105 setIsEnabled(getQsTile().getState() == Tile.STATE_INACTIVE); in onClick()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/qstile/ |
D | DevelopmentTilesTest.java | 28 import android.service.quicksettings.Tile; 47 private Tile mTile;
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | SettingsSearchIndexablesProvider.java | 75 import com.android.settingslib.drawer.Tile; 212 for (Tile tile : category.getTiles()) { in querySiteMapPairs() 405 for (Tile tile : category.getTiles()) { in getInjectionIndexableRawData() 452 boolean isEligibleForIndexing(String packageName, Tile tile) { in isEligibleForIndexing()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AccountDetailDashboardFragment.java | 38 import com.android.settingslib.drawer.Tile; 152 protected boolean displayTile(Tile tile) { in displayTile()
|
/packages/modules/NeuralNetworks/common/ |
D | Android.bp | 198 "operations/Tile.cpp", 375 "operations/Tile.cpp",
|