Home
last modified time | relevance | path

Searched refs:tile (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageView.java254 Tile tile = mActiveTiles.valueAt(i); in layoutTiles() local
255 int level = tile.mTileLevel; in layoutTiles()
257 || !range[level - fromLevel].contains(tile.mX, tile.mY)) { in layoutTiles()
261 recycleTile(tile); in layoutTiles()
285 Tile tile = mActiveTiles.valueAt(i); in invalidateTiles() local
286 recycleTile(tile); in invalidateTiles()
386 Tile tile = mRecycledQueue.pop(); in freeTextures() local
387 while (tile != null) { in freeTextures()
388 tile.recycle(); in freeTextures()
389 tile = mRecycledQueue.pop(); in freeTextures()
[all …]
/packages/apps/WallpaperPicker/src/com/android/photos/views/
DTiledImageRenderer.java310 Tile tile = mActiveTiles.valueAt(i); in layoutTiles() local
311 int level = tile.mTileLevel; in layoutTiles()
313 || !range[level - fromLevel].contains(tile.mX, tile.mY)) { in layoutTiles()
317 recycleTile(tile); in layoutTiles()
342 Tile tile = mActiveTiles.valueAt(i); in invalidateTiles() local
343 recycleTile(tile); in invalidateTiles()
395 Tile tile = mRecycledQueue.pop(); in freeTextures() local
396 while (tile != null) { in freeTextures()
397 tile.recycle(); in freeTextures()
398 tile = mRecycledQueue.pop(); in freeTextures()
[all …]
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageRenderer.java310 Tile tile = mActiveTiles.valueAt(i); in layoutTiles() local
311 int level = tile.mTileLevel; in layoutTiles()
313 || !range[level - fromLevel].contains(tile.mX, tile.mY)) { in layoutTiles()
317 recycleTile(tile); in layoutTiles()
342 Tile tile = mActiveTiles.valueAt(i); in invalidateTiles() local
343 recycleTile(tile); in invalidateTiles()
395 Tile tile = mRecycledQueue.pop(); in freeTextures() local
396 while (tile != null) { in freeTextures()
397 tile.recycle(); in freeTextures()
398 tile = mRecycledQueue.pop(); in freeTextures()
[all …]
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardFeatureProviderImpl.java111 public String getDashboardKeyForTile(Tile tile) { in getDashboardKeyForTile() argument
112 if (tile == null) { in getDashboardKeyForTile()
115 if (tile.hasKey()) { in getDashboardKeyForTile()
116 return tile.getKey(mContext); in getDashboardKeyForTile()
119 final ComponentName component = tile.getIntent().getComponent(); in getDashboardKeyForTile()
126 boolean forceRoundedIcon, int sourceMetricsCategory, Preference pref, Tile tile, in bindPreferenceToTileAndGetObservers() argument
134 pref.setKey(getDashboardKeyForTile(tile)); in bindPreferenceToTileAndGetObservers()
137 DynamicDataObserver observer = bindTitleAndGetObserver(pref, tile); in bindPreferenceToTileAndGetObservers()
141 observer = bindSummaryAndGetObserver(pref, tile); in bindPreferenceToTileAndGetObservers()
145 observer = bindSwitchAndGetObserver(pref, tile); in bindPreferenceToTileAndGetObservers()
[all …]
DCategoryManager.java101 Tile tile = category.getTile(j); in updateCategoryFromDenylist() local
102 if (tileDenylist.contains(tile.getIntent().getComponent())) { in updateCategoryFromDenylist()
118 final Tile tile = category.getTile(i); in getTileByComponentMap()
119 result.put(tile.getIntent().getComponent(), tile); in getTileByComponentMap()
127 getTileByComponentMap().forEach((component, tile) -> { in logTiles()
128 Log.d(TAG, "Tile: " + tile.getCategory().replace("com.android.settings.", "") in logTiles()
129 + ": " + tile.getTitle(context) + ", " + component.flattenToShortString()); in logTiles()
185 for (Tile tile : tiles) { in backwardCompatCleanupForCategory()
186 if (CategoryKey.KEY_COMPAT_MAP.containsKey(tile.getCategory())) { in backwardCompatCleanupForCategory()
195 for (Tile tile : tiles) { in backwardCompatCleanupForCategory()
[all …]
DDashboardFragment.java311 protected boolean displayTile(Tile tile) { in displayTile() argument
312 if (mSuppressInjectedTileKeys != null && tile.hasKey()) { in displayTile()
314 return !mSuppressInjectedTileKeys.contains(tile.getKey(getContext())); in displayTile()
487 for (Tile tile : tiles) { in refreshDashboardTiles()
488 final String key = mDashboardFeatureProvider.getDashboardKeyForTile(tile); in refreshDashboardTiles()
490 Log.d(tag, "tile does not contain a key, skipping " + tile); in refreshDashboardTiles()
493 if (!displayTile(tile)) { in refreshDashboardTiles()
500 forceRoundedIcons, getMetricsCategory(), preference, tile, key, in refreshDashboardTiles() local
504 final Preference pref = createPreference(tile); in refreshDashboardTiles()
507 forceRoundedIcons, getMetricsCategory(), pref, tile, key, in refreshDashboardTiles()
[all …]
DDashboardFeatureProvider.java44 String getDashboardKeyForTile(Tile tile); in getDashboardKeyForTile() argument
61 boolean forceRoundedIcon, int sourceMetricsCategory, Preference pref, Tile tile, in bindPreferenceToTileAndGetObservers() argument
67 void openTileIntent(FragmentActivity activity, Tile tile); in openTileIntent() argument
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFeatureProviderImplTest.java157 final Tile tile = spy(new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE)); in bindPreference_shouldBindAllData() local
160 .when(tile).getIcon(any(Context.class)); in bindPreference_shouldBindAllData()
163 MetricsEvent.SETTINGS_GESTURES, preference, tile, "123", Preference.DEFAULT_ORDER); in bindPreference_shouldBindAllData()
171 assertThat(preference.getOrder()).isEqualTo(tile.getOrder()); in bindPreference_shouldBindAllData()
177 final Tile tile = spy(new ProviderTile(mProviderInfo, CategoryKey.CATEGORY_HOMEPAGE, in bindPreference_shouldBindAllSwitchData() local
181 .when(tile).getIcon(any(Context.class)); in bindPreference_shouldBindAllSwitchData()
183 mActivity, mForceRoundedIcon, MetricsEvent.SETTINGS_GESTURES, preference, tile, in bindPreference_shouldBindAllSwitchData()
191 assertThat(preference.getOrder()).isEqualTo(tile.getOrder()); in bindPreference_shouldBindAllSwitchData()
199 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE); in bindPreference_noFragmentMetadata_shouldBindIntent() local
202 MetricsEvent.SETTINGS_GESTURES, preference, tile, "123", Preference.DEFAULT_ORDER); in bindPreference_noFragmentMetadata_shouldBindIntent()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/
DQuickSettingGridAdapter.java134 QuickSettingGridAdapter addTile(Tile tile) { in addTile() argument
135 if (tile.isAvailable()) { in addTile()
136 mTiles.add(tile); in addTile()
142 for (SeekbarTile tile : mSeekbarTiles) { in start()
143 tile.start(); in start()
145 for (Tile tile : mTiles) { in start()
146 tile.start(); in start()
151 for (SeekbarTile tile : mSeekbarTiles) { in stop()
152 tile.stop(); in stop()
154 for (Tile tile : mTiles) { in stop()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/profileselector/
DProfileSelectDialogTest.java70 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE); in updateUserHandlesIfNeeded_Normal() local
71 tile.userHandle.add(NORMAL_USER); in updateUserHandlesIfNeeded_Normal()
73 ProfileSelectDialog.updateUserHandlesIfNeeded(mContext, tile); in updateUserHandlesIfNeeded_Normal()
75 assertThat(tile.userHandle).hasSize(1); in updateUserHandlesIfNeeded_Normal()
76 assertThat(tile.userHandle.get(0).getIdentifier()).isEqualTo(NORMAL_USER.getIdentifier()); in updateUserHandlesIfNeeded_Normal()
82 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE); in updateUserHandlesIfNeeded_Remove() local
83 tile.userHandle.add(REMOVED_USER); in updateUserHandlesIfNeeded_Remove()
84 tile.userHandle.add(NORMAL_USER); in updateUserHandlesIfNeeded_Remove()
85 tile.userHandle.add(REMOVED_USER); in updateUserHandlesIfNeeded_Remove()
87 ProfileSelectDialog.updateUserHandlesIfNeeded(mContext, tile); in updateUserHandlesIfNeeded_Remove()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DAccountDetailDashboardFragmentTest.java109 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_ACCOUNT_DETAIL); in refreshDashboardTiles_HasAccountType_shouldDisplay() local
113 assertThat(mFragment.displayTile(tile)).isTrue(); in refreshDashboardTiles_HasAccountType_shouldDisplay()
118 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_ACCOUNT_DETAIL); in refreshDashboardTiles_NoAccountType_shouldNotDisplay() local
121 assertThat(mFragment.displayTile(tile)).isFalse(); in refreshDashboardTiles_NoAccountType_shouldNotDisplay()
126 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_ACCOUNT_DETAIL); in refreshDashboardTiles_OtherAccountType_shouldNotDisplay() local
130 assertThat(mFragment.displayTile(tile)).isFalse(); in refreshDashboardTiles_OtherAccountType_shouldNotDisplay()
142 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_ACCOUNT_DETAIL); in refreshDashboardTiles_HasAccountType_shouldAddAccountNameToIntent() local
149 tile.userHandle = null; in refreshDashboardTiles_HasAccountType_shouldAddAccountNameToIntent()
150 mFragment.displayTile(tile); in refreshDashboardTiles_HasAccountType_shouldAddAccountNameToIntent()
156 preference, tile, null /* key */, Preference.DEFAULT_ORDER); in refreshDashboardTiles_HasAccountType_shouldAddAccountNameToIntent()
[all …]
/packages/apps/Settings/src/com/android/settings/search/
DSettingsSearchIndexablesProvider.java212 for (Tile tile : category.getTiles()) { in querySiteMapPairs()
215 if (tile.getMetaData() != null) { in querySiteMapPairs()
216 childClass = tile.getMetaData().getString( in querySiteMapPairs()
220 childClass = tile.getComponentName(); in querySiteMapPairs()
221 childTitle = tile.getTitle(getContext()); in querySiteMapPairs()
405 for (Tile tile : category.getTiles()) { in getInjectionIndexableRawData()
406 if (!isEligibleForIndexing(currentPackageName, tile)) { in getInjectionIndexableRawData()
410 final CharSequence title = tile.getTitle(context); in getInjectionIndexableRawData()
415 raw.key = dashboardFeatureProvider.getDashboardKeyForTile(tile); in getInjectionIndexableRawData()
416 final CharSequence summary = tile.getSummary(context); in getInjectionIndexableRawData()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DTiledTexture.java161 private static void freeTile(Tile tile) { in freeTile() argument
162 tile.invalidateContent(); in freeTile()
163 tile.bitmap = null; in freeTile()
165 tile.nextFreeTile = sFreeTileHead; in freeTile()
166 sFreeTileHead = tile; in freeTile()
209 Tile tile = obtainTile(); in TiledTexture() local
210 tile.offsetX = x; in TiledTexture()
211 tile.offsetY = y; in TiledTexture()
212 tile.bitmap = bitmap; in TiledTexture()
213 tile.setSize( in TiledTexture()
[all …]
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/
DProfileSelectDialog.java54 public static void show(FragmentManager manager, Tile tile, int sourceMetricCategory) { in show() argument
57 args.putParcelable(ARG_SELECTED_TILE, tile); in show()
94 public static void updateUserHandlesIfNeeded(Context context, Tile tile) { in updateUserHandlesIfNeeded() argument
95 final List<UserHandle> userHandles = tile.userHandle; in updateUserHandlesIfNeeded()
96 if (tile.userHandle == null || tile.userHandle.size() <= 1) { in updateUserHandlesIfNeeded()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountDetailDashboardFragment.java152 protected boolean displayTile(Tile tile) { in displayTile() argument
153 if (!super.displayTile(tile)) { in displayTile()
159 final Bundle metadata = tile.getMetaData(); in displayTile()
165 final Intent intent = tile.getIntent(); in displayTile()
/packages/apps/Launcher3/
Dbuglist_with_title.txt6 160361464 tracyzhou P2 FIXED Place launcher above the target app in live tile mode ----
20 162564471 tracyzhou P2 FIXED [Live tile] Handle tapping overview actions in live tile mo…
/packages/modules/NeuralNetworks/common/operations/
DTile.h24 namespace tile {
DTile.cpp28 namespace tile { namespace
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualHolder.java48 mTileLayout = itemView.findViewById(R.id.tile); in IndividualHolder()
DDesktopRotationHolder.java58 mTile = itemView.findViewById(R.id.tile); in DesktopRotationHolder()
DSetIndividualHolder.java52 mTile = itemView.findViewById(R.id.tile); in SetIndividualHolder()
DMyPhotosViewHolder.java57 itemView.findViewById(R.id.tile).setOnClickListener(this); in MyPhotosViewHolder()
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/individual/
DIndividualPickerActivityTest.java394 assertEquals("Attribution 0", holder.itemView.findViewById(R.id.tile) in testWallpaperHasContentDescriptionFromAttribution()
/packages/modules/NeuralNetworks/common/
DCpuExecutor.cpp1607 tile::prepare(input.shape(), reinterpret_cast<const int32_t*>(multiples.buffer), in executeOperation()
1610 tile::eval(input.buffer, input.shape(), in executeOperation()
/packages/modules/NeuralNetworks/tools/api/
DNeuralNetworksTypes.t113 * the whole filter tile will simply be ignored.

12