Searched defs:tile (Results 1 - 12 of 12) 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/dashboard/
H A DDashboardFeatureProvider.java64 * Returns an unique string key for the tile.
66 String getDashboardKeyForTile(Tile tile); argument
69 * Binds preference to data provided by tile.
71 * @param activity If tile contains intent to launch, it will be launched from this activity
74 * @param tile The binding data
75 * @param key They key for preference. If null, we will generate one from tile data
77 * both this value and tile's own priority.
80 Tile tile, String key, int baseOrder);
94 * Opens a tile to its destination intent.
96 void openTileIntent(Activity activity, Tile tile); argument
79 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 */,
106 public String getDashboardKeyForTile(Tile tile) { argument
107 if (tile == null || tile.intent == null) {
110 if (!TextUtils.isEmpty(tile.key)) {
111 return tile.key;
114 final ComponentName component = tile.intent.getComponent();
121 Tile tile, Strin
120 bindPreferenceToTile(Activity activity, int sourceMetricsCategory, Preference pref, Tile tile, String key, int baseOrder) argument
190 openTileIntent(Activity activity, Tile tile) argument
209 launchIntentOrSelectProfile(Activity activity, Tile tile, Intent intent, int sourceMetricCategory) argument
[all...]
H A DDashboardFragment.java142 public void notifySummaryChanged(Tile tile) { argument
143 final String key = mDashboardFeatureProvider.getDashboardKeyForTile(tile);
149 key, tile.title, tile.summary));
152 pref.setSummary(tile.summary);
225 * Returns true if this tile should be displayed
227 protected boolean displayTile(Tile tile) { argument
232 boolean tintTileIcon(Tile tile) { argument
233 if (tile.icon == null) {
236 // First check if the tile ha
[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
172 getSummaryProvider(Tile tile) argument
205 getMetaData(Tile tile) argument
256 makeProviderW(Tile tile) argument
285 notifySummaryChanged(Tile tile) argument
[all...]
H A DDashboardAdapter.java222 public void notifySummaryChanged(Tile tile) { argument
223 final int position = mDashboardData.getPositionByTile(tile);
225 // Since usually tile in parameter and tile in mCategories are same instance,
248 final Tile tile = (Tile) mDashboardData.getItemEntityByPosition(position);
249 onBindTile(holder, tile);
250 holder.itemView.setTag(tile);
460 private void onBindTile(DashboardItemHolder holder, Tile tile) { argument
461 if (tile.remoteViews != null) {
464 itemView.addView(tile
[all...]
H A DDashboardData.java37 * Condition, suggestion or category tile.
154 * First, try to find the exact identical instance of the tile object, if not found,
155 * then try to find a tile has the same title.
157 * @param tile tile that need to be found
160 public int getPositionByTile(Tile tile) { argument
164 if (entity == tile) {
166 } else if (entity instanceof Tile && tile.title.equals(((Tile) entity).title)) {
275 final Tile tile = mCategory.tiles.get(j);
276 addToItemList(tile,
[all...]
/packages/apps/Settings/src/com/android/settings/accounts/
H A DAccountDetailDashboardFragment.java124 protected boolean displayTile(Tile tile) { argument
128 final Bundle metadata = tile.metaData;
133 if (display && tile.intent != null) {
134 tile.intent.putExtra(EXTRA_ACCOUNT_NAME, mAccount.name);
/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 344 milliseconds