OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:contentRatings
(Results
1 - 12
of
12
) sorted by null
/frameworks/support/tv-provider/src/android/support/media/tv/
TvContractUtils.java
46
TvContentRating[]
contentRatings
= new TvContentRating[ratings.length];
47
for (int i = 0; i <
contentRatings
.length; ++i) {
48
contentRatings
[i] = TvContentRating.unflattenFromString(ratings[i]);
50
return
contentRatings
;
56
* @param
contentRatings
An array of TvContentRatings.
59
public static String contentRatingsToString(TvContentRating[]
contentRatings
) {
60
if (
contentRatings
== null ||
contentRatings
.length == 0) {
63
StringBuilder ratings = new StringBuilder(
contentRatings
[0].flattenToString());
64
for (int i = 1; i <
contentRatings
.length; ++i)
[
all
...]
BaseProgram.java
682
* @param
contentRatings
An array of {@link TvContentRating} that apply to this program
687
public T setContentRatings(TvContentRating[]
contentRatings
) {
689
TvContractUtils.contentRatingsToString(
contentRatings
));
[
all
...]
/packages/apps/TV/common/src/com/android/tv/common/
TvContentRatingCache.java
87
List<TvContentRating>
contentRatings
= new ArrayList<>();
90
contentRatings
.add(TvContentRating.unflattenFromString(rating));
95
return
contentRatings
.size() == 0 ?
96
null :
contentRatings
.toArray(new TvContentRating[
contentRatings
.size()]);
123
public static String contentRatingsToString(TvContentRating[]
contentRatings
) {
124
if (
contentRatings
== null ||
contentRatings
.length == 0) {
127
String[] ratingStrings = new String[
contentRatings
.length];
128
for (int i = 0; i <
contentRatings
.length; i++)
[
all
...]
/packages/apps/TV/tests/common/src/com/android/tv/testing/
ProgramInfo.java
100
public final TvContentRating[]
contentRatings
;
123
TvContentRating[]
contentRatings
, String genre, String resourceUri) {
131
this.
contentRatings
=
contentRatings
;
204
contentRatings
,
233
Objects.equals(
contentRatings
, that.
contentRatings
) &&
289
public Builder setContentRatings(TvContentRating[]
contentRatings
) {
290
mContentRatings =
contentRatings
;
ProgramUtils.java
54
TvContentRatingCache.contentRatingsToString(program.
contentRatings
));
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/
TvContractUtils.java
308
TvContentRating[]
contentRatings
= new TvContentRating[ratings.length];
309
for (int i = 0; i <
contentRatings
.length; ++i) {
310
contentRatings
[i] = TvContentRating.unflattenFromString(ratings[i]);
312
return
contentRatings
;
315
public static String contentRatingsToString(TvContentRating[]
contentRatings
) {
316
if (
contentRatings
== null ||
contentRatings
.length == 0) {
320
StringBuilder ratings = new StringBuilder(
contentRatings
[0].flattenToString());
321
for (int i = 1; i <
contentRatings
.length; ++i) {
323
ratings.append(
contentRatings
[i].flattenToString())
[
all
...]
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/rich/
RichTvInputService.java
262
mCurrentContentRating = info.
contentRatings
.length > 0 ?
263
info.
contentRatings
[0] : null;
459
public final TvContentRating[]
contentRatings
;
462
TvContentRating[]
contentRatings
, String videoUrl, int videoType, int resourceId) {
467
this.
contentRatings
=
contentRatings
;
479
public final TvContentRating[]
contentRatings
;
482
TvContentRating[]
contentRatings
) {
485
this.
contentRatings
=
contentRatings
;
[
all
...]
ChannelXMLParser.java
170
String
contentRatings
= null;
193
contentRatings
= value;
197
TvContractUtils.stringToContentRatings(
contentRatings
), videoUrl, videoType, 0);
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/syncadapter/
SyncAdapter.java
104
TvContractUtils.contentRatingsToString(program.
contentRatings
));
/prebuilts/sdk/current/support/tv-provider/
android-support-tv-provider.jar
/packages/apps/TV/src/com/android/tv/data/
Program.java
485
.append(",
contentRatings
=")
723
* @param
contentRatings
the content ratings
726
public Builder setContentRatings(TvContentRating[]
contentRatings
) {
727
mProgram.mContentRatings =
contentRatings
;
/packages/apps/TV/src/com/android/tv/tuner/ts/
SectionParser.java
[
all
...]
Completed in 910 milliseconds