Searched refs:category (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/awt/javax/imageio/spi/
H A DRegisterableService.java35 * registered to the specified category of the specified registry.
39 * @param category
40 * the class representing a category.
42 void onRegistration(ServiceRegistry registry, Class<?> category); argument
46 * deregistered to the specified category of the specified registry.
50 * @param category
51 * the class representing a category.
53 void onDeregistration(ServiceRegistry registry, Class<?> category); argument
H A DServiceRegistry.java32 * Each category is defined by a class or interface. Only a single instance of a
33 * each class is allowed to be registered as a category.
92 * @param category
93 * the category.
95 * category, false otherwise.
97 public <T> boolean registerServiceProvider(T provider, Class<T> category) { argument
98 return categories.addProvider(provider, category);
124 * Deregisters the specifies service provider from the specified category.
128 * @param category
129 * the specified category
133 deregisterServiceProvider(T provider, Class<T> category) argument
163 getServiceProviders(Class<T> category, Filter filter, boolean useOrdering) argument
181 getServiceProviders(Class<T> category, boolean useOrdering) argument
209 setOrdering(Class<T> category, T firstProvider, T secondProvider) argument
225 unsetOrdering(Class<T> category, T firstProvider, T secondProvider) argument
235 deregisterAll(Class<?> category) argument
335 getProviders(Class<?> category, boolean useOrdering) argument
358 addCategory(Class<?> category) argument
373 addProvider(Object provider, Class<?> category) argument
401 addToNamed(Object provider, Class<?> category) argument
[all...]
H A DIIOServiceProvider.java70 public void onRegistration(ServiceRegistry registry, Class<?> category) { argument
74 public void onDeregistration(ServiceRegistry registry, Class<?> category) { argument
/frameworks/base/awt/org/apache/harmony/x/imageio/plugins/png/
H A DPNGImageReaderSpi.java85 public void onRegistration(ServiceRegistry registry, Class<?> category) { argument
86 super.onRegistration(registry, category);
/frameworks/base/awt/org/apache/harmony/x/imageio/plugins/jpeg/
H A DJPEGImageReaderSpi.java83 public void onRegistration(ServiceRegistry registry, Class<?> category) { argument
84 // super.onRegistration(registry, category);
/frameworks/base/core/java/android/os/
H A DBatteryStats.java747 * @param category category of data (e.g. "total", "last", "unplugged", "current" )
751 private static final void dumpLine(PrintWriter pw, int uid, String category, String type, argument
755 pw.print(category); pw.print(',');
790 String category = STAT_NAMES[which];
793 dumpLine(pw, 0 /* uid */, category, BATTERY_DATA,
830 dumpLine(pw, 0 /* uid */, category, MISC_DATA,
841 dumpLine(pw, 0 /* uid */, category, SCREEN_BRIGHTNESS_DATA, args);
848 dumpLine(pw, 0 /* uid */, category, SIGNAL_STRENGTH_TIME_DATA, args);
849 dumpLine(pw, 0 /* uid */, category, SIGNAL_SCANNING_TIME_DAT
[all...]
/frameworks/base/services/java/com/android/server/
H A DUiModeManagerService.java110 static Intent buildHomeIntent(String category) { argument
112 intent.addCategory(category);
134 String category = null;
139 category = Intent.CATEGORY_CAR_DOCK;
146 category = Intent.CATEGORY_DESK_DOCK;
151 category = Intent.CATEGORY_HOME;
155 if (category != null) {
158 Intent homeIntent = buildHomeIntent(category);
H A DPackageManagerService.java6669 "replacePreferredActivity expects filter to have only 1 category.");
6695 String category = filter.getCategory(0);
6698 if (pa.getAction(0).equals(action) && pa.getCategory(0).equals(category)) {
/frameworks/base/core/java/android/content/
H A DIntentFilter.java78 * the <strong>action</strong> and <strong>category</strong> must match, and
158 * The part of a match constant that describes the category of match
169 * basic category of match. The value {@link #MATCH_ADJUSTMENT_NORMAL}
176 * Quality adjustment applied to the category of match that signifies
962 * Add a new Intent category to match against. The semantics of
965 * filter in order to match. In other words, adding a category to the
966 * filter has no impact on matching unless that category is specified in
969 * @param category Name of category to match, i.e. Intent.CATEGORY_EMBED.
971 public final void addCategory(String category) { argument
999 hasCategory(String category) argument
[all...]
H A DIntent.java110 * <li> <p><b>category</b> -- Gives additional information about the action
137 * <li> <p><b>{@link #ACTION_MAIN} with category {@link #CATEGORY_HOME}</b> --
147 * <i>*{@literal /}*</i> and category {@link #CATEGORY_OPENABLE}</b>
157 * <p>There are a variety of standard Intent action and category constants
202 * resolution: the action, type, and category. Using this information, a query
246 * &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
252 * &lt;category android:name="android.intent.category.DEFAULT" /&gt;
257 * &lt;category androi
3158 hasCategory(String category) argument
3956 addCategory(String category) argument
3971 removeCategory(String category) argument
[all...]
/frameworks/base/sax/tests/saxtests/src/android/sax/
H A DSafeSaxTest.java280 mediaGroup.getChild(MEDIA_NAMESPACE, "category")
283 video.category = body;
414 || localName.equals("category")
511 if (localName.equals("category")) {
512 video.category = takeText();
536 public String category; field in class:SafeSaxTest.YouTubeVideo
/frameworks/base/core/java/android/view/
H A DMenuInflater.java258 final int category = a.getInt(com.android.internal.R.styleable.MenuItem_menuCategory, groupCategory);
260 itemCategoryOrder = (category & Menu.CATEGORY_MASK) | (order & Menu.USER_MASK);
/frameworks/base/tools/aapt/
H A DCommand.cpp945 if (tag == "category") {
946 String8 category = getAttribute(tree, NAME_ATTR, &error); local
952 if (category == "android.intent.category.LAUNCHER") {
/frameworks/base/packages/TtsService/src/android/tts/
H A DTtsService.java129 private static final String CATEGORY = "android.intent.category.TTS";
1209 for (String category : intent.getCategories()) {
1210 if (category.equals(CATEGORY)) {

Completed in 558 milliseconds