OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:genreId
(Results
1 - 25
of
26
) sorted by null
1
2
/packages/apps/TV/src/com/android/tv/guide/
GenreListAdapter.java
76
int
genreId
= filteredGenreIds.get(position);
77
holder.onBind(
genreId
, mGenreLabels[
genreId
]);
109
public void onBind(int
genreId
, String genreLabel) {
110
mGenreId =
genreId
;
ProgramManager.java
271
void resetChannelListWithGenre(int
genreId
) {
272
if (
genreId
== mSelectedGenreId) {
275
mFilteredChannels = mGenreChannelList.get(
genreId
);
276
mSelectedGenreId =
genreId
;
278
Log.d(TAG, "resetChannelListWithGenre: " + GenreItems.getCanonicalGenre(
genreId
)
742
boolean hasGenre(int
genreId
) {
743
return !isGap() && program.hasGenre(
genreId
);
ProgramGuide.java
563
* Requests change genre to {@code
genreId
}.
565
void requestGenreChange(int
genreId
) {
566
if (mLastRequestedGenreId ==
genreId
) {
573
mLastRequestedGenreId =
genreId
;
[
all
...]
/cts/tests/tests/provider/src/android/provider/cts/
MediaStore_Audio_GenresTest.java
112
long
genreId
= ContentUris.parseId(genreUri);
113
assertTrue(
genreId
!= -1);
127
Uri membersUri = Members.getContentUri(volumeName,
genreId
);
133
assertEquals(
genreId
, cursor.getLong(cursor.getColumnIndex(Genres._ID)));
MediaStore_Audio_Genres_MembersTest.java
97
long
genreId
= c.getLong(c.getColumnIndex(Genres._ID));
102
assertEquals(uri.toString(), "content://media/external/audio/genres/" +
genreId
);
108
genreId
);
119
assertEquals(
genreId
, c.getLong(c.getColumnIndex(Members.GENRE_ID)));
159
assertEquals(
genreId
, c.getLong(c.getColumnIndex(Members.GENRE_ID)));
181
assertEquals(
genreId
, c.getLong(c.getColumnIndex(Members.GENRE_ID)));
192
assertEquals(
genreId
, c.getLong(c.getColumnIndex(Members.GENRE_ID)));
221
if (g ==
genreId
) {
264
genreId
);
275
assertEquals(
genreId
, c.getLong(c.getColumnIndex(Members.GENRE_ID)))
[
all
...]
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DvrBrowseFragment.java
514
int
genreId
= GenreItems.getId(genre);
515
if(
genreId
>= mGenreAdapters.length) {
516
Log.d(TAG, "Wrong Genre ID: " +
genreId
);
518
result.add(mGenreAdapters[
genreId
]);
530
for (int
genreId
: genreIds) {
531
if(
genreId
>= mGenreAdapters.length) {
532
Log.d(TAG, "Wrong Genre ID: " +
genreId
);
534
result.add(mGenreAdapters[
genreId
]);
/packages/apps/TV/tests/unit/src/com/android/tv/data/
ProgramTest.java
179
private static void assertHasGenre(Program program, int
genreId
, boolean expected) {
180
assertEquals("hasGenre(" +
genreId
+ ")", expected, program.hasGenre(
genreId
));
/packages/apps/TV/src/com/android/tv/data/
Program.java
379
public boolean hasGenre(int
genreId
) {
380
if (
genreId
== GenreItems.ID_ALL_CHANNELS) {
385
if (id ==
genreId
) {
[
all
...]
/packages/apps/TV/src/com/android/tv/util/
Utils.java
[
all
...]
/frameworks/base/core/java/android/provider/
MediaStore.java
[
all
...]
/packages/providers/MediaProvider/src/com/android/providers/media/
MediaProvider.java
[
all
...]
/external/robolectric/v1/lib/main/
android.jar
/prebuilts/sdk/12/
android.jar
/prebuilts/sdk/14/
android.jar
/prebuilts/sdk/15/
android.jar
/prebuilts/sdk/18/
android.jar
/prebuilts/sdk/19/
android.jar
/prebuilts/sdk/21/
android.jar
/prebuilts/sdk/25/
android.jar
/prebuilts/sdk/4/
android.jar
/prebuilts/sdk/6/
android.jar
/prebuilts/tools/common/api-versions/android-1/
android.jar
/prebuilts/tools/common/api-versions/android-2/
android.jar
/prebuilts/tools/common/api-versions/android-3/
android.jar
/prebuilts/tools/common/m2/repository/com/google/android/android/4.0.1.2/
android-4.0.1.2.jar
Completed in 176 milliseconds
1
2