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.java107 @ContentRatingLevel int currentLevel = getContentRatingLevel(); in updateRatingsForCurrentLevel() local
108 if (currentLevel != TvSettings.CONTENT_RATING_LEVEL_CUSTOM) { in updateRatingsForCurrentLevel()
109 mRatings = ContentRatingLevelPolicy.getRatingsForLevel(this, manager, currentLevel); in updateRatingsForCurrentLevel()
110 if (currentLevel != TvSettings.CONTENT_RATING_LEVEL_NONE) { in updateRatingsForCurrentLevel()
120 @ContentRatingLevel int currentLevel = getContentRatingLevel(); in setContentRatingLevel() local
121 if (level == currentLevel) { in setContentRatingLevel()
124 if (currentLevel == TvSettings.CONTENT_RATING_LEVEL_CUSTOM) { in setContentRatingLevel()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DRatingsFragment.java94 int currentLevel = tvActivity.getParentalControlSettings().getContentRatingLevel(); in getDescription() local
95 if (sLevelResourceIdMap.indexOfKey(currentLevel) >= 0) { in getDescription()
96 return tvActivity.getString(sLevelResourceIdMap.get(currentLevel)); in getDescription()