OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SubRating
(Results
1 - 6
of
6
) sorted by null
/packages/apps/TV/src/com/android/tv/parental/
ContentRatingsManager.java
25
import com.android.tv.parental.ContentRatingSystem.
SubRating
;
71
List<
SubRating
> subRatings = getSubRatings(rating, canonicalRating);
74
for (
SubRating
subRating
: subRatings) {
75
builder.append(
subRating
.getTitle());
100
private List<
SubRating
> getSubRatings(Rating rating, TvContentRating canonicalRating) {
101
List<
SubRating
> subRatings = new ArrayList<>();
107
for (
SubRating
subRating
: rating.getSubRatings()) {
108
if (
subRating
.getName().equals(subRatingString))
[
all
...]
ContentRatingSystem.java
70
private final List<
SubRating
> mSubRatings;
113
public List<
SubRating
> getSubRatings(){
156
String displayName, List<Rating> ratings, List<
SubRating
> subRatings,
178
private final List<
SubRating
.Builder> mSubRatingBuilders = new ArrayList<>();
211
// Rating has reference to
SubRating
, not Name of it.
212
// (Note that Rating/
SubRating
is ordered list so we cannot use Map)
218
public void addSubRatingBuilder(
SubRating
.Builder subRatingBuilder) {
226
// (Note that Rating/
SubRating
is ordered list so we cannot use Map)
266
List<
SubRating
> subRatings = new ArrayList<>();
268
for (
SubRating
.Builder builder : mSubRatingBuilders)
[
all
...]
ContentRatingLevelPolicy.java
22
import com.android.tv.parental.ContentRatingSystem.
SubRating
;
71
for (
SubRating
subRating
: rating.getSubRatings()) {
74
rating.getName(),
subRating
.getName());
ParentalControlSettings.java
24
import com.android.tv.parental.ContentRatingSystem.
SubRating
;
206
* @param
subRating
The content sub-rating to set.
211
SubRating
subRating
, boolean blocked) {
212
return setRatingBlockedInternal(contentRatingSystem, rating,
subRating
, blocked);
220
* @param
subRating
The content sub-rating to check.
224
SubRating
subRating
) {
225
return mRatings.contains(toTvContentRating(contentRatingSystem, rating,
subRating
));
229
SubRating
subRating, boolean blocked)
[
all
...]
ContentRatingsParser.java
30
import com.android.tv.parental.ContentRatingSystem.
SubRating
;
301
private
SubRating
.Builder parseSubRatingDefinition(XmlResourceParser parser)
303
SubRating
.Builder builder = new
SubRating
.Builder();
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
SubRatingsFragment.java
27
import com.android.tv.parental.ContentRatingSystem.
SubRating
;
64
for (
SubRating
subRating
: mRating.getSubRatings()) {
65
mSubRatingItems.add(new SubRatingItem(
subRating
));
107
for (
SubRating
subRating
: mRating.getSubRatings()) {
108
setSubRatingEnabled(
subRating
, true);
130
private final
SubRating
mSubRating;
132
private SubRatingItem(
SubRating
subRating
) {
[
all
...]
Completed in 53 milliseconds