OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ratings
(Results
1 - 10
of
10
) sorted by null
/frameworks/support/tv-provider/src/android/support/media/tv/
TvContractUtils.java
36
* Parses a string of comma-separated
ratings
into an array of {@link TvContentRating}.
38
* @param commaSeparatedRatings String containing various
ratings
, separated by commas.
45
String[]
ratings
= commaSeparatedRatings.split("\\s*,\\s*");
local
46
TvContentRating[] contentRatings = new TvContentRating[
ratings
.length];
48
contentRatings[i] = TvContentRating.unflattenFromString(
ratings
[i]);
57
* @return A comma-separated String of
ratings
.
63
StringBuilder
ratings
= new StringBuilder(contentRatings[0].flattenToString());
local
65
ratings
.append(DELIMITER);
66
ratings
.append(contentRatings[i].flattenToString());
68
return
ratings
.toString()
94
StringBuilder
ratings
= new StringBuilder(audioLanguages[0]);
local
[
all
...]
/packages/apps/TV/src/com/android/tv/parental/
ContentRatingLevelPolicy.java
53
Set<TvContentRating>
ratings
= new HashSet<>();
local
70
ratings
.add(tvContentRating);
75
ratings
.add(tvContentRating);
80
return
ratings
;
ContentRatingSystem.java
66
// Ordered list of main content
ratings
. UX should respect the order.
69
// Ordered list of sub content
ratings
. UX should respect the order.
72
// List of orders. This describes the automatic lock/unlock relationship between
ratings
.
134
* Returns true if the
ratings
is owned by this content rating system.
156
String displayName, List<Rating>
ratings
, List<SubRating> subRatings,
164
mRatings =
ratings
;
224
// To provide easy access to the
Ratings
in it,
228
// at this moment. Keep builders here and build it with
Ratings
later.
276
List<Rating>
ratings
= new ArrayList<>();
local
279
ratings
.add(builder.build(subRatings))
[
all
...]
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/
TvContractUtils.java
223
TvContentRating[]
ratings
= stringToContentRatings(cursor.getString(2));
local
228
ratings
));
307
String[]
ratings
= commaSeparatedRatings.split("\\s*,\\s*");
local
308
TvContentRating[] contentRatings = new TvContentRating[
ratings
.length];
310
contentRatings[i] = TvContentRating.unflattenFromString(
ratings
[i]);
320
StringBuilder
ratings
= new StringBuilder(contentRatings[0].flattenToString());
local
322
ratings
.append(DELIMITER);
323
ratings
.append(contentRatings[i].flattenToString());
325
return
ratings
.toString();
/packages/apps/TV/tests/unit/src/com/android/tv/data/
ProgramTest.java
101
TvContentRating[]
ratings
= new TvContentRating[2];
local
102
ratings
[0] = TvContentRating.unflattenFromString("1/2/3");
103
ratings
[1] = TvContentRating.unflattenFromString("4/5/6");
124
.setContentRatings(
ratings
)
/packages/apps/TV/src/com/android/tv/data/epg/
EpgFetcher.java
526
TvContentRating[]
ratings
= program.getContentRatings();
local
527
if (
ratings
!= null &&
ratings
.length > 0) {
528
StringBuilder sb = new StringBuilder(
ratings
[0].flattenToString());
529
for (int i = 1; i <
ratings
.length; ++i) {
531
sb.append(
ratings
[i].flattenToString());
/frameworks/base/media/java/android/media/tv/
TvInputManager.java
256
* Broadcast intent action when the user blocked content
ratings
change. For use with the
297
* <rating-system-definition></code> element specifies the
ratings
, sub-
ratings
and rating
1337
List<TvContentRating>
ratings
= new ArrayList<>();
local
[
all
...]
/packages/apps/TV/src/com/android/tv/tuner/tvinput/
TunerSessionWorker.java
1526
TvContentRating[]
ratings
= mTvContentRatingCache
local
[
all
...]
/frameworks/base/services/core/java/com/android/server/tv/
TvInputManagerService.java
1087
List<String>
ratings
= new ArrayList<>();
local
[
all
...]
/prebuilts/sdk/current/support/tv-provider/
android-support-tv-provider.jar
Completed in 8378 milliseconds