Searched refs:genres (Results 1 - 10 of 10) sorted by relevance

/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
H A DQueueHelper.java137 Iterator<String> genres = musicProvider.getGenres().iterator();
138 if (!genres.hasNext()) {
141 String genre = genres.next();
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
H A DQueueHelper.java137 Iterator<String> genres = musicProvider.getGenres().iterator();
138 if (!genres.hasNext()) {
141 String genre = genres.next();
/frameworks/support/recommendation/src/android/support/app/recommendation/
H A DRecommendationExtender.java173 * Sets the content genres associated with the notification content. These genres may be used
178 * @param genres Array of genre string tags that describe the content referred to by a
181 public RecommendationExtender setGenres(String[] genres) { argument
182 mGenres = genres;
187 * Returns an array containing the content genres that describe the content associated with the
H A DContentRecommendation.java603 * Returns an array containing the genres that describe the content. Genres are open ended
993 * Sets the content genres for the recommendation. These genres may be used for content
998 * @param genres Array of genre string tags that describe the recommended content.
1000 public Builder setGenres(String[] genres) { argument
1001 mBuilderContentGenres = genres;
/frameworks/base/media/java/android/media/tv/
H A DTvContract.java549 * @param genre {@link Programs.Genres} to search. If {@code null}, builds a URI for all genres.
876 * <p>Canonical genres are defined in {@link Genres}. Use {@link Genres#encode} to create a
2547 /** Canonical genres for TV programs. */
2655 * @param genres Genre strings.
2659 public static String encode(@NonNull @Genre String... genres) { argument
2660 if (genres == null) {
2666 for (String genre : genres) {
2694 * @param genres The encoded genre string retrieved from the
2698 public static @Genre String[] decode(@NonNull String genres) { argument
2699 if (TextUtils.isEmpty(genres)) {
[all...]
/frameworks/support/tv-provider/src/android/support/media/tv/
H A DTvContractCompat.java704 * <p>Canonical genres are defined in {@link Genres}. Use {@link Genres#encode} to create a
1520 * list of a few genres. For example: Drama, Sci-Fi.
2493 /** Canonical genres for TV programs. */
2601 * @param genres Genre strings.
2605 public static String encode(@NonNull @Genre String... genres) { argument
2606 if (genres == null) {
2612 for (String genre : genres) {
2640 * @param genres The encoded genre string retrieved from the
2644 public static @Genre String[] decode(@NonNull String genres) { argument
2645 if (TextUtils.isEmpty(genres)) {
[all...]
H A DProgram.java278 * Sets the broadcast-specified genres of the program.
280 * @param genres Array of genres that apply to the program based on the broadcast standard
285 public Builder setBroadcastGenres(String[] genres) { argument
286 mValues.put(Programs.COLUMN_BROADCAST_GENRE, Programs.Genres.encode(genres));
H A DBaseProgram.java721 * Sets the genres of the program.
723 * @param genres An array of {@link Programs.Genres} that apply to the program which will be
728 public T setCanonicalGenres(@Genre String[] genres) { argument
729 mValues.put(Programs.COLUMN_CANONICAL_GENRE, Programs.Genres.encode(genres));
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DMediaBrowserServiceSupport.java315 List<String> genres = mMusicProvider.getGenres();
316 toIndex = page == -1 ? genres.size() : Math.min(fromIndex + pageSize, genres.size());
319 String genre = genres.get(i);
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DMediaBrowserServiceSupport.java315 List<String> genres = mMusicProvider.getGenres();
316 toIndex = page == -1 ? genres.size() : Math.min(fromIndex + pageSize, genres.size());
319 String genre = genres.get(i);

Completed in 166 milliseconds