Searched refs:TvSettings (Results 1 – 11 of 11) sorted by relevance
/packages/apps/TV/src/com/android/tv/ |
D | TvOptionsManager.java | 24 import com.android.tv.util.TvSettings; 25 import com.android.tv.util.TvSettings.PipLayout; 26 import com.android.tv.util.TvSettings.PipSize; 27 import com.android.tv.util.TvSettings.PipSound; 91 if (mPipSound == TvSettings.PIP_SOUND_MAIN) { in getOptionString() 93 } else if (mPipSound == TvSettings.PIP_SOUND_PIP_WINDOW) { in getOptionString() 98 if (mPipLayout == TvSettings.PIP_LAYOUT_BOTTOM_RIGHT) { in getOptionString() 100 } else if (mPipLayout == TvSettings.PIP_LAYOUT_TOP_RIGHT) { in getOptionString() 102 } else if (mPipLayout == TvSettings.PIP_LAYOUT_TOP_LEFT) { in getOptionString() 104 } else if (mPipLayout == TvSettings.PIP_LAYOUT_BOTTOM_LEFT) { in getOptionString() [all …]
|
D | MainActivity.java | 144 import com.android.tv.util.TvSettings; 145 import com.android.tv.util.TvSettings.PipSound; 309 @PipSound private int mPipSound = TvSettings.PIP_SOUND_MAIN; // Default 1571 if (mPipSound == TvSettings.PIP_SOUND_MAIN) { in setVolumeByAudioFocusStatus() 2192 String id = TvSettings.getMultiAudioId(this); 2193 String language = TvSettings.getMultiAudioLanguage(this); 2194 int channelCount = TvSettings.getMultiAudioChannelCount(this); 2776 if (mPipSound == TvSettings.PIP_SOUND_PIP_WINDOW) { 2778 mPipSound = TvSettings.PIP_SOUND_MAIN; 2938 if (mPipSound == TvSettings.PIP_SOUND_MAIN) { [all …]
|
/packages/apps/TV/src/com/android/tv/parental/ |
D | ParentalControlSettings.java | 25 import com.android.tv.util.TvSettings; 26 import com.android.tv.util.TvSettings.ContentRatingLevel; 70 TvSettings.addContentRatingSystem(mContext, contentRatingSystem.getId()); in setContentRatingSystemEnabled() 82 TvSettings.removeContentRatingSystem(mContext, contentRatingSystem.getId()); in setContentRatingSystemEnabled() 87 return TvSettings.hasContentRatingSystem(mContext, contentRatingSystem.getId()); in isContentRatingSystemEnabled() 110 if (currentLevel != TvSettings.CONTENT_RATING_LEVEL_CUSTOM) { in updateRatingsForCurrentLevel() 122 if (currentLevel == TvSettings.CONTENT_RATING_LEVEL_CUSTOM) { in setContentRatingLevel() 125 TvSettings.setContentRatingLevel(mContext, level); in setContentRatingLevel() 126 if (level == TvSettings.CONTENT_RATING_LEVEL_CUSTOM) { in setContentRatingLevel() 138 return TvSettings.getContentRatingLevel(mContext); in getContentRatingLevel() [all …]
|
D | ContentRatingLevelPolicy.java | 23 import com.android.tv.util.TvSettings; 24 import com.android.tv.util.TvSettings.ContentRatingLevel; 39 if (level == TvSettings.CONTENT_RATING_LEVEL_NONE) { in getRatingsForLevel() 41 } else if (level == TvSettings.CONTENT_RATING_LEVEL_HIGH) { in getRatingsForLevel() 43 } else if (level == TvSettings.CONTENT_RATING_LEVEL_MEDIUM) { in getRatingsForLevel() 45 } else if (level == TvSettings.CONTENT_RATING_LEVEL_LOW) { in getRatingsForLevel()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | TvViewUiManager.java | 52 import com.android.tv.util.TvSettings; 206 if (mPipStarted && getPipLayout() == TvSettings.PIP_LAYOUT_SIDE_BY_SIDE) { in startShrunkenTvView() 283 mSharedPreferences.edit().putInt(TvSettings.PREF_DISPLAY_MODE, displayMode).apply(); in setDisplayMode() 294 .getInt(TvSettings.PREF_DISPLAY_MODE, DisplayMode.MODE_NORMAL); in restoreDisplayMode() 351 TvSettings.setPipLayout(mContext, pipLayout); in setPipLayout() 354 if (mPipLayout == TvSettings.PIP_LAYOUT_SIDE_BY_SIDE) { in setPipLayout() 368 setPipLayout(TvSettings.getPipLayout(mContext), false); in restorePipLayout() 400 if (mPipLayout != TvSettings.PIP_LAYOUT_SIDE_BY_SIDE) { in hidePipForPause() 430 TvSettings.setPipSize(mContext, pipSize); in setPipSize() 440 setPipSize(TvSettings.getPipSize(mContext), false); in restorePipSize() [all …]
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/ |
D | RatingsFragment.java | 39 import com.android.tv.util.TvSettings; 40 import com.android.tv.util.TvSettings.ContentRatingLevel; 55 sLevelResourceIdMap.put(TvSettings.CONTENT_RATING_LEVEL_NONE, in sLevelResourceIdMap.put() 57 sLevelResourceIdMap.put(TvSettings.CONTENT_RATING_LEVEL_HIGH, in sLevelResourceIdMap.put() 59 sLevelResourceIdMap.put(TvSettings.CONTENT_RATING_LEVEL_MEDIUM, in sLevelResourceIdMap.put() 61 sLevelResourceIdMap.put(TvSettings.CONTENT_RATING_LEVEL_LOW, in sLevelResourceIdMap.put() 63 sLevelResourceIdMap.put(TvSettings.CONTENT_RATING_LEVEL_CUSTOM, in sLevelResourceIdMap.put() 67 sDescriptionResourceIdMap.put(TvSettings.CONTENT_RATING_LEVEL_HIGH, in sDescriptionResourceIdMap.put() 69 sDescriptionResourceIdMap.put(TvSettings.CONTENT_RATING_LEVEL_MEDIUM, in sDescriptionResourceIdMap.put() 71 sDescriptionResourceIdMap.put(TvSettings.CONTENT_RATING_LEVEL_LOW, in sDescriptionResourceIdMap.put() [all …]
|
D | RatingSystemsFragment.java | 30 import com.android.tv.util.TvSettings; 130 if (TvSettings.isContentRatingSystemSet(tvActivity)) { in setDefaultRatingSystemsIfNeeded()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | PipOptionsRowAdapter.java | 28 import com.android.tv.util.TvSettings; 103 boolean newEnabled = mTvViewUiManager.getPipLayout() != TvSettings.PIP_LAYOUT_SIDE_BY_SIDE; in updateSizeAction() 126 int newLayout = (oldLayout + 1) % (TvSettings.PIP_LAYOUT_LAST + 1); in executeAction() 132 int newSize = (oldSize + 1) % (TvSettings.PIP_SIZE_LAST + 1); in executeAction()
|
/packages/apps/TV/src/com/android/tv/dialog/ |
D | PinDialogFragment.java | 48 import com.android.tv.util.TvSettings; 133 mDisablePinUntil = TvSettings.getDisablePinUntil(getActivity()); in onCreate() 270 TvSettings.setDisablePinUntil(getActivity(), mDisablePinUntil); 337 mSharedPreferences.edit().putString(TvSettings.PREF_PIN, pin).apply(); 342 mPin = mSharedPreferences.getString(TvSettings.PREF_PIN, "");
|
/packages/apps/TV/src/com/android/tv/util/ |
D | TvSettings.java | 34 public final class TvSettings { class 35 private TvSettings() {} in TvSettings() method in TvSettings
|
/packages/apps/TvSettings/Settings/ |
D | Android.mk | 19 LOCAL_PACKAGE_NAME := TvSettings
|