Home
last modified time | relevance | path

Searched refs:currentLevel (Results 1 – 2 of 2) sorted by relevance

/packages/apps/TV/src/com/android/tv/parental/
DParentalControlSettings.java105 @ContentRatingLevel int currentLevel = getContentRatingLevel(); in updateRatingsForCurrentLevel() local
106 if (currentLevel != TvSettings.CONTENT_RATING_LEVEL_CUSTOM) { in updateRatingsForCurrentLevel()
107 mRatings = ContentRatingLevelPolicy.getRatingsForLevel(this, manager, currentLevel); in updateRatingsForCurrentLevel()
108 if (currentLevel != TvSettings.CONTENT_RATING_LEVEL_NONE) { in updateRatingsForCurrentLevel()
118 @ContentRatingLevel int currentLevel = getContentRatingLevel(); in setContentRatingLevel() local
119 if (level == currentLevel) { in setContentRatingLevel()
122 if (currentLevel == TvSettings.CONTENT_RATING_LEVEL_CUSTOM) { in setContentRatingLevel()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DRatingsFragment.java83 int currentLevel = tvActivity.getParentalControlSettings().getContentRatingLevel(); in getDescription() local
84 if (sLevelResourceIdMap.indexOfKey(currentLevel) >= 0) { in getDescription()
85 return tvActivity.getString(sLevelResourceIdMap.get(currentLevel)); in getDescription()