/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/ |
QueueHelper.java | 136 Iterator<String> genres = musicProvider.getGenres().iterator(); local 137 if (!genres.hasNext()) { 140 String genre = genres.next();
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/ |
QueueHelper.java | 137 Iterator<String> genres = musicProvider.getGenres().iterator(); local 138 if (!genres.hasNext()) { 141 String genre = genres.next();
|
/frameworks/support/recommendation/src/android/support/app/recommendation/ |
RecommendationExtender.java | 173 * Sets the content genres associated with the notification content. These genres may be used 174 * for content ranking. Genres are open ended String tags. 178 * @param genres Array of genre string tags that describe the content referred to by a 181 public RecommendationExtender setGenres(String[] genres) { 182 mGenres = genres; 187 * Returns an array containing the content genres that describe the content associated with the
|
ContentRecommendation.java | 603 * Returns an array containing the genres that describe the content. Genres are open ended [all...] |
/cts/tests/tests/tv/src/android/media/tv/cts/ |
TvContractTest.java | 32 import android.media.tv.TvContract.Programs.Genres; 93 private static final String ENCODED_GENRE_STRING = Genres.ANIMAL_WILDLIFE + "," + Genres.COMEDY 94 + "," + Genres.DRAMA + "," + Genres.EDUCATION + "," + Genres.FAMILY_KIDS + "," 95 + Genres.GAMING + "," + Genres.MOVIES + "," + Genres.NEWS + "," + Genres.SHOPPING + ", 1236 List genres = Arrays.asList(Genres.decode(ENCODED_GENRE_STRING)); local 1265 String[] genres = new String[] {EMPTY_GENRE}; local 1278 String[] genres = new String[] {EMPTY_GENRE, local 1303 String[] genres = new String[] {EMPTY_GENRE, local 1324 String[] genres = new String[] {EMPTY_GENRE, local [all...] |
/frameworks/base/media/java/android/media/tv/ |
TvContract.java | 549 * @param genre {@link Programs.Genres} to search. If {@code null}, builds a URI for all genres. 561 if (!Programs.Genres.isCanonical(genre)) { [all...] |
/frameworks/support/tv-provider/src/android/support/media/tv/ |
TvContractCompat.java | 39 import android.support.media.tv.TvContractCompat.Programs.Genres; 704 * <p>Canonical genres are defined in {@link Genres}. Use {@link Genres#encode} to create a 705 * text that can be stored in this column. Use {@link Genres#decode} to get the canonical 709 * @see Genres 710 * @see Genres#encode 711 * @see Genres#decode [all...] |
Program.java | 117 return Programs.Genres.decode(mValues.getAsString(Programs.COLUMN_BROADCAST_GENRE)); 186 builder.setBroadcastGenres(Programs.Genres.decode( 278 * 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) { 286 mValues.put(Programs.COLUMN_BROADCAST_GENRE, Programs.Genres.encode(genres));
|
BaseProgram.java | 30 import android.support.media.tv.TvContractCompat.Programs.Genres.Genre; 155 return Programs.Genres.decode(mValues.getAsString(Programs.COLUMN_CANONICAL_GENRE)); 380 builder.setCanonicalGenres(Programs.Genres.decode( 721 * 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) { 729 mValues.put(Programs.COLUMN_CANONICAL_GENRE, Programs.Genres.encode(genres)); [all...] |
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/ |
LocalMediaBrowserService.java | 104 MediaDescription genres = new MediaDescription.Builder() local 109 mRootItems.add(new MediaBrowser.MediaItem(genres, MediaBrowser.MediaItem.FLAG_BROWSABLE));
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
MediaBrowserServiceSupport.java | 313 Log.d(TAG, "OnLoadChildren.GENRES"); 315 List<String> genres = mMusicProvider.getGenres(); local 316 toIndex = page == -1 ? genres.size() : Math.min(fromIndex + pageSize, genres.size()); 319 String genre = genres.get(i); [all...] |
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
DvrBrowseFragment.java | 508 private List<RecordedProgramAdapter> getGenreAdapters(String[] genres) { 510 if (genres == null || genres.length == 0) { 513 for (String genre : genres) {
|
/prebuilts/sdk/current/support/recommendation/ |
android-support-recommendation.jar | |
/packages/apps/TV/src/com/android/tv/util/ |
Utils.java | 30 import android.media.tv.TvContract.Programs.Genres; 911 String[] genres = new String[canonicalGenreIds.length]; local [all...] |
/packages/apps/TV/src/com/android/tv/data/ |
Program.java | 353 * Returns array of canonical genres for this program. 361 String[] genres = new String[mCanonicalGenreIds.length]; local 363 genres[i] = GenreItems.getCanonicalGenre(mCanonicalGenreIds[i]); 365 return genres; 492 TvContract.Programs.Genres.encode(canonicalGenres)); 769 * Sets the canonical genres by id 770 * @param genres the genres 773 public Builder setCanonicalGenres(String genres) { 774 mProgram.mCanonicalGenreIds = Utils.getCanonicalGenreIds(genres); [all...] |
/packages/apps/TV/src/com/android/tv/dvr/data/ |
SeriesRecording.java | 378 public Builder setCanonicalGenreIds(String genres) { 379 mCanonicalGenreIds = Utils.getCanonicalGenreIds(genres);
|
RecordedProgram.java | 286 return setBroadcastGenres(TvContract.Programs.Genres.decode(broadcastGenres)); 299 return setCanonicalGenres(TvContract.Programs.Genres.decode(canonicalGenres)); 835 private static String safeEncode(@Nullable String[] genres) { 836 return genres == null ? null : TvContract.Programs.Genres.encode(genres);
|
/prebuilts/sdk/current/support/tv-provider/ |
android-support-tv-provider.jar | |
/packages/providers/TvProvider/src/com/android/providers/tv/ |
TvProvider.java | 45 import android.media.tv.TvContract.Programs.Genres; 1798 String[] genres = Genres.decode(canonicalGenres); local 1814 String[] genres = Genres.decode(broadcastGenres); local [all...] |
/prebuilts/sdk/21/ |
android.jar | |
/prebuilts/sdk/24/ |
android.jar | |
/prebuilts/sdk/27/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |
/prebuilts/sdk/system_23/ |
android.jar | |
/prebuilts/sdk/system_current/ |
android.jar | |