Home | History | Annotate | Download | only in drawer

Lines Matching refs:category

57      * <p>A category must be specified in the meta-data for the activity named
88 "com.android.settings.category.wireless";
94 "com.android.settings.category.device";
97 * The key used to get the category from metadata of activities of action
100 * <li>com.android.settings.category.wireless</li>
101 * <li>com.android.settings.category.device</li>
102 * <li>com.android.settings.category.personal</li>
103 * <li>com.android.settings.category.system</li>
105 private static final String EXTRA_CATEGORY_KEY = "com.android.settings.category";
188 * Build a list of DashboardCategory. Each category must be defined in manifest.
201 * represent this category (eg: .Settings$DeviceSettings)
211 * represent this category (eg: .Settings$DeviceSettings)
250 DashboardCategory category = categoryMap.get(tile.category);
251 if (category == null) {
252 category = createCategory(context, tile.category, categoryDefinedInManifest);
253 if (category == null) {
254 Log.w(LOG_TAG, "Couldn't find category " + tile.category);
257 categoryMap.put(category.key, category);
259 category.addTile(tile);
262 for (DashboardCategory category : categories) {
263 Collections.sort(category.tiles, TILE_COMPARATOR);
275 * @param categoryKey The category key
277 * represent this category (eg: .Settings$DeviceSettings)
281 DashboardCategory category = new DashboardCategory();
282 category.key = categoryKey;
284 return category;
296 category.title = resolved.activityInfo.loadLabel(pm);
297 category.priority = SETTING_PKG.equals(
299 if (DEBUG) Log.d(LOG_TAG, "Adding category " + category.title);
302 return category;
351 // Load category
369 tile.category = categoryKey;