Home
last modified time | relevance | path

Searched refs:categories (Results 1 – 8 of 8) sorted by relevance

/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DMediaIDHelper.java36 public static String createMediaID(String musicID, String... categories) { in createMediaID() argument
43 if (categories != null && categories.length > 0) { in createMediaID()
44 sb.append(categories[0]); in createMediaID()
45 for (int i=1; i < categories.length; i++) { in createMediaID()
46 sb.append(CATEGORY_SEPARATOR).append(categories[i]); in createMediaID()
DQueueHelper.java104 Iterable<MediaMetadata> tracks, String... categories) { in convertToQueue() argument
112 track.getDescription().getMediaId(), categories); in convertToQueue()
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DFlagUtils.java91 Map<String, List<String>> categories = new HashMap<>();
116 categories.put("Non-user", nonUser);
117 categories.put("Recents and UI", recentsAndUi);
118 categories.put("New Task", newTask);
119 categories.put("Clear Task", clearTask);
120 categories.put("Rearrange Task", rearrangeTask);
121 categories.put("Other", other);
122 return categories;
DIntentFragment.java67 Set<String> categories = intent.getCategories(); in onResume() local
74 if (categories != null) { in onResume()
77 categories.toArray(new String[0])); in onResume()
DIntentBuilderView.java173 private void fillCheckBoxLayout(ViewGroup layout, Map<String, List<String>> categories, in fillCheckBoxLayout() argument
176 for (String category : categories.keySet()) { in fillCheckBoxLayout()
182 for (String item : categories.get(category)) { in fillCheckBoxLayout()
/development/scripts/
Dcombine_sdks.sh75 for i in widgets categories broadcast_actions service_actions; do
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkey.java294 final Set<String> categories = intent.getCategories(); in isActivityStartingAllowed() local
296 && categories != null in isActivityStartingAllowed()
297 && categories.contains(Intent.CATEGORY_HOME)) { in isActivityStartingAllowed()
/development/build/
Dsdk.atree225 docs/offline-sdk/categories.txt platforms/${PLATFORM_NAME}/data/categories.txt