/packages/apps/TV/src/com/android/tv/parental/ |
D | ParentalControlSettings.java | 24 import com.android.tv.util.TvSettings; 25 import com.android.tv.util.TvSettings.ContentRatingLevel; 68 TvSettings.addContentRatingSystem(mContext, contentRatingSystem.getId()); in setContentRatingSystemEnabled() 80 TvSettings.removeContentRatingSystem(mContext, contentRatingSystem.getId()); in setContentRatingSystemEnabled() 85 return TvSettings.hasContentRatingSystem(mContext, contentRatingSystem.getId()); in isContentRatingSystemEnabled() 108 if (currentLevel != TvSettings.CONTENT_RATING_LEVEL_CUSTOM) { in updateRatingsForCurrentLevel() 110 if (currentLevel != TvSettings.CONTENT_RATING_LEVEL_NONE) { in updateRatingsForCurrentLevel() 124 if (currentLevel == TvSettings.CONTENT_RATING_LEVEL_CUSTOM) { in setContentRatingLevel() 127 TvSettings.setContentRatingLevel(mContext, level); in setContentRatingLevel() 128 if (level == TvSettings.CONTENT_RATING_LEVEL_CUSTOM) { in setContentRatingLevel() [all …]
|
D | ContentRatingLevelPolicy.java | 22 import com.android.tv.util.TvSettings; 23 import com.android.tv.util.TvSettings.ContentRatingLevel; 38 if (level == TvSettings.CONTENT_RATING_LEVEL_NONE) { in getRatingsForLevel() 40 } else if (level == TvSettings.CONTENT_RATING_LEVEL_HIGH) { in getRatingsForLevel() 42 } else if (level == TvSettings.CONTENT_RATING_LEVEL_MEDIUM) { in getRatingsForLevel() 44 } else if (level == TvSettings.CONTENT_RATING_LEVEL_LOW) { in getRatingsForLevel()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/ |
D | RatingsFragment.java | 41 import com.android.tv.util.TvSettings; 42 import com.android.tv.util.TvSettings.ContentRatingLevel; 67 sLevelResourceIdMap.put(TvSettings.CONTENT_RATING_LEVEL_NONE, R.string.option_rating_none); in sLevelResourceIdMap.put() 68 sLevelResourceIdMap.put(TvSettings.CONTENT_RATING_LEVEL_HIGH, R.string.option_rating_high); in sLevelResourceIdMap.put() 70 TvSettings.CONTENT_RATING_LEVEL_MEDIUM, R.string.option_rating_medium); in sLevelResourceIdMap.put() 71 sLevelResourceIdMap.put(TvSettings.CONTENT_RATING_LEVEL_LOW, R.string.option_rating_low); in sLevelResourceIdMap.put() 73 TvSettings.CONTENT_RATING_LEVEL_CUSTOM, R.string.option_rating_custom); in sLevelResourceIdMap.put() 77 TvSettings.CONTENT_RATING_LEVEL_HIGH, R.string.option_rating_high_description); in sDescriptionResourceIdMap.put() 79 TvSettings.CONTENT_RATING_LEVEL_MEDIUM, R.string.option_rating_medium_description); in sDescriptionResourceIdMap.put() 81 TvSettings.CONTENT_RATING_LEVEL_LOW, R.string.option_rating_low_description); in sDescriptionResourceIdMap.put() [all …]
|
D | RatingSystemsFragment.java | 29 import com.android.tv.util.TvSettings; 131 if (TvSettings.isContentRatingSystemSet(tvActivity)) { in setDefaultRatingSystemsIfNeeded()
|
/packages/apps/TvSettings/ |
D | Android.bp | 15 // Classic TvSettings 76 name: "TvSettings", 132 // Two-panel TvSettings 150 overrides: ["TvSettings"], 176 // Two-panel TvSettings 0 Debug 194 overrides: ["TvSettings"],
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | InteractiveAppSettingsFragment.java | 19 import com.android.tv.util.TvSettings; 43 setChecked(TvSettings.isTvIAppOn(getContext())); in getItemList() 49 TvSettings.setTvIAppOn(getContext(), checked); in getItemList()
|
/packages/apps/TV/src/com/android/tv/dialog/ |
D | PinDialogFragment.java | 40 import com.android.tv.util.TvSettings; 126 mDisablePinUntil = TvSettings.getDisablePinUntil(getActivity()); in onCreate() 277 TvSettings.setDisablePinUntil(getActivity(), mDisablePinUntil); 343 mSharedPreferences.edit().putString(TvSettings.PREF_PIN, pin).apply(); 348 mPin = mSharedPreferences.getString(TvSettings.PREF_PIN, "");
|
/packages/apps/TvSettings/Settings/tests/robotests/ |
D | Android.bp | 2 // TvSettings Robolectric test target. # 33 instrumentation_for: "TvSettings",
|
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/ |
D | DvrPlaybackSideFragment.java | 30 import com.android.tv.util.TvSettings; 108 TvSettings.setDvrPlaybackTrackSettings(getContext(), mTrackType, mSelectedTrack); in onGuidedActionClicked()
|
D | DvrPlaybackOverlayFragment.java | 56 import com.android.tv.util.TvSettings; 365 return TvSettings.getDvrPlaybackTrackSettings(getContext(), trackType); in getTrackSetting()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | TvSettings.java | 34 public final class TvSettings { class 75 private TvSettings() {} in TvSettings() method in TvSettings
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | TvViewUiManager.java | 49 import com.android.tv.util.TvSettings; 265 mSharedPreferences.edit().putInt(TvSettings.PREF_DISPLAY_MODE, displayMode).apply(); in setDisplayMode() 274 mSharedPreferences.getInt(TvSettings.PREF_DISPLAY_MODE, DisplayMode.MODE_NORMAL); in restoreDisplayMode()
|
/packages/apps/TV/src/com/android/tv/ |
D | MainActivity.java | 163 import com.android.tv.util.TvSettings; 770 TvSettings.setTvIAppOn(getApplicationContext(), checked); in onInteractiveAppChecked() 2011 String id = TvSettings.getMultiAudioId(this); 2012 String language = TvSettings.getMultiAudioLanguage(this); 2013 int channelCount = TvSettings.getMultiAudioChannelCount(this); 2705 TvSettings.setMultiAudioId(this, track.getId()); 2706 TvSettings.setMultiAudioLanguage(this, track.getLanguage()); 2707 TvSettings.setMultiAudioChannelCount(this, track.getAudioChannelCount()); 2712 TvSettings.setMultiAudioId(this, null); 2713 TvSettings.setMultiAudioLanguage(this, null); [all …]
|
/packages/apps/TV/src/com/android/tv/interactive/ |
D | IAppManager.java | 49 import com.android.tv.util.TvSettings; 179 if (TvSettings.isTvIAppOn(mMainActivity.getApplicationContext())) { in onAitInfoUpdated()
|