Searched defs:tile (Results 1 - 13 of 13) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
H A DShadowTileService.java35 public void setTile(Tile tile) { argument
36 mTile = tile;
/packages/apps/Settings/src/com/android/settings/accounts/
H A DUserAndAccountDashboardFragment.java80 protected boolean displayTile(Tile tile) { argument
81 final Bundle metadata = tile.metaData;
H A DAccountDetailDashboardFragment.java117 protected boolean displayTile(Tile tile) { argument
121 final Bundle metadata = tile.metaData;
/packages/apps/Settings/src/com/android/settings/dashboard/
H A DDashboardFeatureProvider.java59 * Returns an unique string key for the tile.
61 String getDashboardKeyForTile(Tile tile); argument
64 * Binds preference to data provided by tile.
66 * @param activity If tile contains intent to launch, it will be launched from this activity
69 * @param tile The binding data
70 * @param key They key for preference. If null, we will generate one from tile data
72 * both this value and tile's own priority.
75 Tile tile, String key, int baseOrder);
89 * Opens a tile to its destination intent.
91 void openTileIntent(Activity activity, Tile tile); argument
74 bindPreferenceToTile(Activity activity, int sourceMetricsCategory, Preference pref, Tile tile, String key, int baseOrder) argument
[all...]
H A DDashboardFeatureProviderImpl.java82 Log.d(TAG, "tile list is empty, skipping category " + category.title);
86 for (Tile tile : tiles) {
88 bindPreferenceToTile(activity, sourceMetricsCategory, pref, tile, null /* key */,
101 public String getDashboardKeyForTile(Tile tile) { argument
102 if (tile == null || tile.intent == null) {
105 if (!TextUtils.isEmpty(tile.key)) {
106 return tile.key;
109 final ComponentName component = tile.intent.getComponent();
116 Tile tile, Strin
115 bindPreferenceToTile(Activity activity, int sourceMetricsCategory, Preference pref, Tile tile, String key, int baseOrder) argument
185 openTileIntent(Activity activity, Tile tile) argument
204 launchIntentOrSelectProfile(Activity activity, Tile tile, Intent intent, int sourceMetricCategory) argument
[all...]
H A DDashboardFragment.java138 public void notifySummaryChanged(Tile tile) { argument
139 final String key = mDashboardFeatureProvider.getDashboardKeyForTile(tile);
145 key, tile.title, tile.summary));
148 pref.setSummary(tile.summary);
221 * Returns true if this tile should be displayed
223 protected boolean displayTile(Tile tile) { argument
298 Log.d(TAG, "tile list is empty, skipping category " + category.title);
317 for (Tile tile : tiles) {
318 final String key = mDashboardFeatureProvider.getDashboardKeyForTile(tile);
[all...]
H A DSummaryLoader.java75 Tile tile = tiles.get(j);
76 mWorker.obtainMessage(Worker.MSG_GET_PROVIDER, tile).sendToTarget();
98 for (Tile tile : tiles) {
99 mWorker.obtainMessage(Worker.MSG_GET_PROVIDER, tile).sendToTarget();
119 final Tile tile = getTileFromCategory(
122 if (tile == null) {
124 Log.d(TAG, "Can't find tile for " + component);
129 Log.d(TAG, "setSummary " + tile.title + " - " + summary);
132 updateSummaryIfNeeded(tile, summary);
138 void updateSummaryIfNeeded(Tile tile, CharSequenc argument
171 getSummaryProvider(Tile tile) argument
204 getMetaData(Tile tile) argument
239 makeProviderW(Tile tile) argument
284 notifySummaryChanged(Tile tile) argument
[all...]
H A DDashboardAdapter.java148 final Tile tile = categories.get(i).tiles.get(j);
151 tile.intent.getComponent().getPackageName())) {
154 tile.icon.setTint(tintColor);
206 public void notifySummaryChanged(Tile tile) { argument
207 final int position = mDashboardData.getPositionByTile(tile);
209 // Since usually tile in parameter and tile in mCategories are same instance,
230 final Tile tile = (Tile) mDashboardData.getItemEntityByPosition(position);
231 onBindTile(holder, tile);
232 holder.itemView.setTag(tile);
407 onBindTile(DashboardItemHolder holder, Tile tile) argument
[all...]
H A DDashboardData.java36 * Condition, suggestion or category tile.
145 * First, try to find the exact identical instance of the tile object, if not found,
146 * then try to find a tile has the same title.
148 * @param tile tile that need to be found
151 public int getPositionByTile(Tile tile) { argument
155 if (entity == tile) {
157 } else if (entity instanceof Tile && tile.title.equals(((Tile) entity).title)) {
219 private void countSuggestion(Tile tile, boolean add) { argument
221 mItems.add(new Item(tile,
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DTiledTexture.java37 // upload the whole bitmap but we reduce the time of uploading each tile
161 private static void freeTile(Tile tile) { argument
162 tile.invalidateContent();
163 tile.bitmap = null;
165 tile.nextFreeTile = sFreeTileHead;
166 sFreeTileHead = tile;
186 // Make sure tile has not already been recycled by the time
209 Tile tile = obtainTile();
210 tile.offsetX = x;
211 tile
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DTileImageView.java52 * This is the tile state in the CPU side.
88 // The offsets of the (left, top) of the upper-left tile to the (left, top)
131 // The tile returned by this method can be specified this way: Assuming
200 // 1. Decide the tile level we want to use for display.
201 // 2. Decide the tile levels we want to keep as texture (in addition to
210 // The tile levels we want to keep as texture is in the range
218 // We want to keep one more tile level as texture in addition to what
242 // If rotation is transient, don't update the tile.
250 // Recycle unused tiles: if the level of the active tile is outside the
254 Tile tile
475 queueForUpload(Tile tile) argument
484 queueForDecode(Tile tile) argument
491 decodeTile(Tile tile) argument
522 recycleTile(Tile tile) argument
623 drawTile( Tile tile, GLCanvas canvas, RectF source, RectF target) argument
744 push(Tile tile) argument
[all...]
/packages/apps/Gallery2/src/com/android/photos/views/
H A DTiledImageRenderer.java46 * This is the tile state in the CPU side.
131 * If the source does not care about the tile size, it should use
146 * The tile returned by this method can be specified this way: Assuming
253 // 1. Decide the tile level we want to use for display.
254 // 2. Decide the tile levels we want to keep as texture (in addition to
264 // The tile levels we want to keep as texture is in the range
272 // We want to keep one more tile level as texture in addition to what
296 // If rotation is transient, don't update the tile.
306 // Recycle unused tiles: if the level of the active tile is outside the
310 Tile tile
481 queueForDecode(Tile tile) argument
492 decodeTile(Tile tile) argument
531 recycleTile(Tile tile) argument
632 drawTile( Tile tile, GLCanvas canvas, RectF source, RectF target) argument
762 push(Tile tile) argument
773 contains(Tile tile) argument
[all...]
/packages/apps/WallpaperPicker/src/com/android/photos/views/
H A DTiledImageRenderer.java46 * This is the tile state in the CPU side.
131 * If the source does not care about the tile size, it should use
146 * The tile returned by this method can be specified this way: Assuming
253 // 1. Decide the tile level we want to use for display.
254 // 2. Decide the tile levels we want to keep as texture (in addition to
264 // The tile levels we want to keep as texture is in the range
272 // We want to keep one more tile level as texture in addition to what
296 // If rotation is transient, don't update the tile.
306 // Recycle unused tiles: if the level of the active tile is outside the
310 Tile tile
481 queueForDecode(Tile tile) argument
492 decodeTile(Tile tile) argument
531 recycleTile(Tile tile) argument
632 drawTile( Tile tile, GLCanvas canvas, RectF source, RectF target) argument
762 push(Tile tile) argument
773 contains(Tile tile) argument
[all...]

Completed in 305 milliseconds