HomeSort by relevance Sort by last modified time
    Searched refs:PreviewPrograms (Results 1 - 19 of 19) sorted by null

  /frameworks/support/tv-provider/src/main/java/androidx/tvprovider/media/tv/
PreviewProgram.java 25 import androidx.tvprovider.media.tv.TvContractCompat.PreviewPrograms;
31 * A convenience class to access {@link PreviewPrograms} entries in the system content
41 * .setType(PreviewPrograms.TYPE_MOVIE)
47 * Uri previewProgramUri = getContentResolver().insert(PreviewPrograms.CONTENT_URI,
92 * @return The value of {@link PreviewPrograms#COLUMN_CHANNEL_ID} for the program.
95 Long l = mValues.getAsLong(PreviewPrograms.COLUMN_CHANNEL_ID);
100 * @return The value of {@link PreviewPrograms#COLUMN_WEIGHT} for the program.
103 Integer i = mValues.getAsInteger(PreviewPrograms.COLUMN_WEIGHT);
158 values.remove(PreviewPrograms.COLUMN_CHANNEL_ID);
159 values.remove(PreviewPrograms.COLUMN_WEIGHT)
    [all...]
BasePreviewProgram.java 30 import androidx.tvprovider.media.tv.TvContractCompat.PreviewPrograms;
147 * @see androidx.tvprovider.media.tv.TvContractCompat.PreviewPrograms#COLUMN_INTERNAL_PROVIDER_ID
150 return mValues.getAsString(PreviewPrograms.COLUMN_INTERNAL_PROVIDER_ID);
155 * @see androidx.tvprovider.media.tv.TvContractCompat.PreviewPrograms#COLUMN_PREVIEW_VIDEO_URI
158 String uri = mValues.getAsString(PreviewPrograms.COLUMN_PREVIEW_VIDEO_URI);
165 * .PreviewPrograms#COLUMN_LAST_PLAYBACK_POSITION_MILLIS
168 Integer i = mValues.getAsInteger(PreviewPrograms.COLUMN_LAST_PLAYBACK_POSITION_MILLIS);
174 * @see androidx.tvprovider.media.tv.TvContractCompat.PreviewPrograms#COLUMN_DURATION_MILLIS
177 Integer i = mValues.getAsInteger(PreviewPrograms.COLUMN_DURATION_MILLIS);
183 * @see androidx.tvprovider.media.tv.TvContractCompat.PreviewPrograms#COLUMN_INTENT_UR
    [all...]
TvContractCompat.java 470 return ContentUris.withAppendedId(PreviewPrograms.CONTENT_URI, previewProgramId);
479 return PreviewPrograms.CONTENT_URI.buildUpon()
    [all...]
PreviewChannelHelper.java 367 TvContractCompat.PreviewPrograms.CONTENT_URI,
  /frameworks/support/tv-provider/src/androidTest/java/androidx/tvprovider/media/tv/
PreviewProgramTest.java 36 import androidx.tvprovider.media.tv.TvContractCompat.PreviewPrograms;
122 Uri previewProgramUri = resolver.insert(PreviewPrograms.CONTENT_URI,
145 Uri previewProgramUri = resolver.insert(PreviewPrograms.CONTENT_URI,
206 .setType(PreviewPrograms.TYPE_TV_EPISODE)
207 .setPosterArtAspectRatio(PreviewPrograms.ASPECT_RATIO_3_2)
208 .setThumbnailAspectRatio(PreviewPrograms.ASPECT_RATIO_16_9)
210 .setAvailability(PreviewPrograms.AVAILABILITY_FREE_WITH_SUBSCRIPTION)
215 .setInteractionType(PreviewPrograms.INTERACTION_TYPE_VIEWS)
218 .setReviewRatingStyle(PreviewPrograms.REVIEW_RATING_STYLE_PERCENTAGE)
228 PreviewPrograms._ID
    [all...]
PreviewChannelHelperTest.java 50 * {@link PreviewChannel PreviewChannels} and {@link PreviewProgram PreviewPrograms} correctly.
79 .setType(TvContractCompat.PreviewPrograms.TYPE_MOVIE)
80 .setPosterArtAspectRatio(TvContractCompat.PreviewPrograms.ASPECT_RATIO_2_3)
81 .setThumbnailAspectRatio(TvContractCompat.PreviewPrograms.ASPECT_RATIO_16_9)
83 .setAvailability(TvContractCompat.PreviewPrograms.AVAILABILITY_AVAILABLE)
89 .setInteractionType(TvContractCompat.PreviewPrograms.INTERACTION_TYPE_LIKES)
92 .setReviewRatingStyle(TvContractCompat.PreviewPrograms.REVIEW_RATING_STYLE_STARS)
  /packages/apps/TV/tests/common/src/com/android/tv/testing/
FakeTvProvider.java 50 import android.support.media.tv.TvContractCompat.PreviewPrograms;
421 sPreviewProgramProjectionMap.put(PreviewPrograms._ID, PreviewPrograms._ID);
423 PreviewPrograms.COLUMN_PACKAGE_NAME, PreviewPrograms.COLUMN_PACKAGE_NAME);
425 PreviewPrograms.COLUMN_CHANNEL_ID, PreviewPrograms.COLUMN_CHANNEL_ID);
427 PreviewPrograms.COLUMN_TITLE, PreviewPrograms.COLUMN_TITLE);
429 PreviewPrograms.COLUMN_SEASON_DISPLAY_NUMBER
    [all...]
  /packages/providers/TvProvider/src/com/android/providers/tv/
TvProvider.java 43 import android.media.tv.TvContract.PreviewPrograms;
374 sPreviewProgramProjectionMap.put(PreviewPrograms._ID, PreviewPrograms._ID);
375 sPreviewProgramProjectionMap.put(PreviewPrograms.COLUMN_PACKAGE_NAME,
376 PreviewPrograms.COLUMN_PACKAGE_NAME);
377 sPreviewProgramProjectionMap.put(PreviewPrograms.COLUMN_CHANNEL_ID,
378 PreviewPrograms.COLUMN_CHANNEL_ID);
379 sPreviewProgramProjectionMap.put(PreviewPrograms.COLUMN_TITLE,
380 PreviewPrograms.COLUMN_TITLE);
381 sPreviewProgramProjectionMap.put(PreviewPrograms.COLUMN_SEASON_DISPLAY_NUMBER
    [all...]
TransientRowHelper.java 23 import android.media.tv.TvContract.PreviewPrograms;
81 db.delete(TvProvider.PREVIEW_PROGRAMS_TABLE, PreviewPrograms.COLUMN_TRANSIENT + "=1", null);
  /packages/providers/TvProvider/tests/src/com/android/providers/tv/
TransientRowHelperTests.java 29 import android.media.tv.TvContract.PreviewPrograms;
133 values.put(PreviewPrograms.COLUMN_CHANNEL_ID, channelId);
135 values.put(PreviewPrograms.COLUMN_TYPE, PreviewPrograms.TYPE_MOVIE);
136 values.put(PreviewPrograms.COLUMN_TRANSIENT, program.isTransient ? 1 : 0);
137 Uri uri = mResolver.insert(PreviewPrograms.CONTENT_URI, values);
145 PreviewPrograms._ID,
146 PreviewPrograms.COLUMN_TRANSIENT,
149 Cursor cursor = mResolver.query(PreviewPrograms.CONTENT_URI, projection, null, null, null);
DatabaseHelperTest.java 91 TvContract.PreviewPrograms.CONTENT_URI, null, null, null, null)) {
  /cts/tests/tests/tv/src/android/media/tv/cts/
TvContractTest.java 30 import android.media.tv.TvContract.PreviewPrograms;
171 values.put(PreviewPrograms.COLUMN_CHANNEL_ID, channelId);
172 values.put(PreviewPrograms.COLUMN_WEIGHT, 100);
187 values.put(PreviewPrograms.COLUMN_INTERNAL_PROVIDER_ID, "ID-4321");
188 values.put(PreviewPrograms.COLUMN_PREVIEW_VIDEO_URI, "http://test.com/preview.mp4");
189 values.put(PreviewPrograms.COLUMN_LAST_PLAYBACK_POSITION_MILLIS, 5000);
190 values.put(PreviewPrograms.COLUMN_DURATION_MILLIS, 60000);
191 values.put(PreviewPrograms.COLUMN_INTENT_URI, "intent_for_video");
192 values.put(PreviewPrograms.COLUMN_TITLE, "program_title");
193 values.put(PreviewPrograms.COLUMN_SHORT_DESCRIPTION, "short_description")
    [all...]
  /packages/apps/TV/src/com/android/tv/data/
PreviewProgramContent.java 71 .setType(TvContractCompat.PreviewPrograms.TYPE_CHANNEL)
94 .setType(TvContractCompat.PreviewPrograms.TYPE_CLIP)
PreviewDataManager.java 434 TvContract.PreviewPrograms.CONTENT_URI,
  /developers/samples/android/tv/ChannelsPrograms/Application/src/main/java/com/example/android/tv/channelsprograms/
SyncProgramsJobService.java 147 TvContractCompat.PreviewPrograms.CONTENT_URI,
  /frameworks/base/media/java/android/media/tv/
TvContract.java 651 return ContentUris.withAppendedId(PreviewPrograms.CONTENT_URI, previewProgramId);
660 return PreviewPrograms.CONTENT_URI.buildUpon()
    [all...]
  /prebuilts/sdk/27/
android.jar 
  /prebuilts/sdk/28/
android.jar 
  /prebuilts/sdk/current/
android.jar 

Completed in 382 milliseconds