Lines Matching defs:category
84 * the <strong>action</strong> and <strong>category</strong> must match, and
175 * The part of a match constant that describes the category of match
186 * basic category of match. The value {@link #MATCH_ADJUSTMENT_NORMAL}
193 * Quality adjustment applied to the category of match that signifies
1155 * Add a new Intent category to match against. The semantics of
1158 * filter in order to match. In other words, adding a category to the
1159 * filter has no impact on matching unless that category is specified in
1162 * @param category Name of category to match, i.e. Intent.CATEGORY_EMBED.
1164 public final void addCategory(String category) {
1166 if (!mCategories.contains(category)) {
1167 mCategories.add(category.intern());
1179 * Return a category in the filter.
1186 * Is the given category included in the filter?
1188 * @param category The category that the filter supports.
1190 * @return True if the category is explicitly mentioned in the filter.
1192 public final boolean hasCategory(String category) {
1193 return mCategories != null && mCategories.contains(category);
1206 * Match this filter against an Intent's categories. Each category in
1214 * first category that didn't match.
1228 final String category = it.next();
1229 if (!mCategories.contains(category)) {
1230 return category;
1316 Log.v(logTag, "No matching category " + categoryMismatch + " for " + this);