Lines Matching defs:categories
45 private static final String EXTRA_FACET_CATEGORIES = "categories";
50 // Each facet of the navigation bar maps to a set of package names or categories defined in
58 // Set of categories each facet will filter on.
92 // Check if the package matches any of the categories for the facets
103 // No need to check categories because we've already refreshed the cache.
163 private void initFacetFilterMaps(int id, String[] packageNames, String[] categories) {
164 mFacetCategories.add(categories);
165 for (int i = 0; i < categories.length; i++) {
166 mFacetCategoryMap.put(categories[i], id);
178 // For each facet, check if the given package name matches one of its categories
180 String[] categories = mFacetCategories.get(i);
181 for (int j = 0; j < categories.length; j++) {
182 String category = categories[j];
190 // all categories next time this package name shows up.
218 // If there weren't multiple packages defined for the facet, check the categories
220 String categories[] = mFacetCategories.get(index);
223 for (int i = 0; i < categories.length; i++) {
224 String category = categories[i];