Searched refs:tile (Results 1 - 10 of 10) sorted by relevance

/packages/apps/Settings/src/com/android/settings/dashboard/
H A DDashboardCategory.java38 * Identifier for this tile, to correlate with a new list when
65 public void addTile(DashboardTile tile) { argument
66 tiles.add(tile);
69 public void addTile(int n, DashboardTile tile) { argument
70 tiles.add(n, tile);
73 public void removeTile(DashboardTile tile) { argument
74 tiles.remove(tile);
115 DashboardTile tile = tiles.get(n);
116 tile.writeToParcel(dest, flags);
127 DashboardTile tile
[all...]
H A DDashboardSummary.java130 DashboardTile tile = category.getTile(i);
133 updateTileView(context, res, tile, tileView.getImageView(),
136 tileView.setTile(tile);
148 private void updateTileView(Context context, Resources res, DashboardTile tile, argument
151 if (tile.iconRes > 0) {
152 tileIcon.setImageResource(tile.iconRes);
158 tileTextView.setText(tile.getTitle(res));
160 CharSequence summary = tile.getSummary(res);
H A DDashboardTileView.java74 public void setTile(DashboardTile tile) { argument
75 mTile = tile;
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DTileImageView.java53 * This is the tile state in the CPU side.
89 // The offsets of the (left, top) of the upper-left tile to the (left, top)
132 // The tile returned by this method can be specified this way: Assuming
201 // 1. Decide the tile level we want to use for display.
202 // 2. Decide the tile levels we want to keep as texture (in addition to
211 // The tile levels we want to keep as texture is in the range
219 // We want to keep one more tile level as texture in addition to what
243 // If rotation is transient, don't update the tile.
251 // Recycle unused tiles: if the level of the active tile is outside the
255 Tile tile
476 queueForUpload(Tile tile) argument
485 queueForDecode(Tile tile) argument
492 decodeTile(Tile tile) argument
523 recycleTile(Tile tile) argument
624 drawTile( Tile tile, GLCanvas canvas, RectF source, RectF target) argument
745 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/Launcher3/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...]
/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/UnifiedEmail/src/com/android/mail/browse/
H A DMessageAttachmentTile.java142 MessageAttachmentTile tile = (MessageAttachmentTile) tileGrid.getChildAt(i);
143 queue.add(tile);
150 MessageAttachmentTile tile = queue.remove();
151 tile.downloadAttachment(maxAdditionalPriority - i, i != 0);
/packages/apps/Settings/src/com/android/settings/
H A DSettingsActivity.java1025 if (innerNodeName.equals("dashboard-tile")) {
1026 DashboardTile tile = new DashboardTile();
1030 tile.id = sa.getResourceId(
1037 tile.titleRes = tv.resourceId;
1039 tile.title = tv.string;
1046 tile.summaryRes = tv.resourceId;
1048 tile.summary = tv.string;
1051 tile.iconRes = sa.getResourceId(
1053 tile.fragment = sa.getString(
1074 tile
1214 updateHomeSettingTiles(DashboardTile tile) argument
[all...]
H A DUtils.java191 DashboardTile tile) {
193 Intent intent = tile.intent;
232 //tile.icon = icon;
233 tile.title = title;
234 tile.summary = summary;
236 tile.intent = new Intent().setClassName(resolveInfo.activityInfo.packageName,
190 updateTileToSpecificActivityFromMetaDataOrRemove(Context context, DashboardTile tile) argument

Completed in 386 milliseconds