Searched refs:genres (Results 1 – 7 of 7) sorted by relevance
137 Iterator<String> genres = musicProvider.getGenres().iterator(); in getRandomQueue() local138 if (!genres.hasNext()) { in getRandomQueue()141 String genre = genres.next(); in getRandomQueue()
2659 public static String encode(@NonNull @Genre String... genres) { in encode() argument2660 if (genres == null) { in encode()2666 for (String genre : genres) { in encode()2698 public static @Genre String[] decode(@NonNull String genres) { in decode() argument2699 if (TextUtils.isEmpty(genres)) { in decode()2703 if (genres.indexOf(COMMA) == -1 && genres.indexOf(DOUBLE_QUOTE) == -1) { in decode()2704 return new String[] {genres.trim()}; in decode()2708 int length = genres.length(); in decode()2711 char c = genres.charAt(i); in decode()
181 public RecommendationExtender setGenres(String[] genres) { in setGenres() argument182 mGenres = genres; in setGenres()
1001 public Builder setGenres(String[] genres) { in setGenres() argument1002 mBuilderContentGenres = genres; in setGenres()
284 public Builder setBroadcastGenres(@Genre String[] genres) { in setBroadcastGenres() argument285 mValues.put(Programs.COLUMN_BROADCAST_GENRE, Programs.Genres.encode(genres)); in setBroadcastGenres()
754 public T setCanonicalGenres(@Genre String[] genres) { in setCanonicalGenres() argument755 mValues.put(Programs.COLUMN_CANONICAL_GENRE, Programs.Genres.encode(genres)); in setCanonicalGenres()
316 List<String> genres = mMusicProvider.getGenres(); in loadChildrenImpl() local317 toIndex = page == -1 ? genres.size() : Math.min(fromIndex + pageSize, genres.size()); in loadChildrenImpl()320 String genre = genres.get(i); in loadChildrenImpl()