HomeSort by relevance Sort by last modified time
    Searched refs:TvSettings (Results 1 - 13 of 13) sorted by null

  /packages/apps/TV/src/com/android/tv/
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;
90 if (mPipSound == TvSettings.PIP_SOUND_MAIN) {
92 } else if (mPipSound == TvSettings.PIP_SOUND_PIP_WINDOW) {
97 if (mPipLayout == TvSettings.PIP_LAYOUT_BOTTOM_RIGHT) {
99 } else if (mPipLayout == TvSettings.PIP_LAYOUT_TOP_RIGHT) {
101 } else if (mPipLayout == TvSettings.PIP_LAYOUT_TOP_LEFT) {
103 } else if (mPipLayout == TvSettings.PIP_LAYOUT_BOTTOM_LEFT)
    [all...]
MainActivity.java 134 import com.android.tv.util.TvSettings;
135 import com.android.tv.util.TvSettings.PipSound;
286 @PipSound private int mPipSound = TvSettings.PIP_SOUND_MAIN; // Default
    [all...]
  /packages/apps/TV/src/com/android/tv/parental/
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) {
41 } else if (level == TvSettings.CONTENT_RATING_LEVEL_HIGH) {
43 } else if (level == TvSettings.CONTENT_RATING_LEVEL_MEDIUM) {
45 } else if (level == TvSettings.CONTENT_RATING_LEVEL_LOW) {
ParentalControlSettings.java 25 import com.android.tv.util.TvSettings;
26 import com.android.tv.util.TvSettings.ContentRatingLevel;
70 TvSettings.addContentRatingSystem(mContext, contentRatingSystem.getId());
82 TvSettings.removeContentRatingSystem(mContext, contentRatingSystem.getId());
87 return TvSettings.hasContentRatingSystem(mContext, contentRatingSystem.getId());
110 if (currentLevel != TvSettings.CONTENT_RATING_LEVEL_CUSTOM) {
122 if (currentLevel == TvSettings.CONTENT_RATING_LEVEL_CUSTOM) {
125 TvSettings.setContentRatingLevel(mContext, level);
126 if (level == TvSettings.CONTENT_RATING_LEVEL_CUSTOM) {
138 return TvSettings.getContentRatingLevel(mContext)
    [all...]
  /packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
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,
57 sLevelResourceIdMap.put(TvSettings.CONTENT_RATING_LEVEL_HIGH,
59 sLevelResourceIdMap.put(TvSettings.CONTENT_RATING_LEVEL_MEDIUM,
61 sLevelResourceIdMap.put(TvSettings.CONTENT_RATING_LEVEL_LOW,
63 sLevelResourceIdMap.put(TvSettings.CONTENT_RATING_LEVEL_CUSTOM,
67 sDescriptionResourceIdMap.put(TvSettings.CONTENT_RATING_LEVEL_HIGH,
69 sDescriptionResourceIdMap.put(TvSettings.CONTENT_RATING_LEVEL_MEDIUM,
71 sDescriptionResourceIdMap.put(TvSettings.CONTENT_RATING_LEVEL_LOW
    [all...]
RatingSystemsFragment.java 30 import com.android.tv.util.TvSettings;
130 if (TvSettings.isContentRatingSystemSet(tvActivity)) {
  /packages/apps/TV/src/com/android/tv/menu/
PipOptionsRowAdapter.java 28 import com.android.tv.util.TvSettings;
103 boolean newEnabled = mTvViewUiManager.getPipLayout() != TvSettings.PIP_LAYOUT_SIDE_BY_SIDE;
126 int newLayout = (oldLayout + 1) % (TvSettings.PIP_LAYOUT_LAST + 1);
132 int newSize = (oldSize + 1) % (TvSettings.PIP_SIZE_LAST + 1);
  /packages/apps/TV/src/com/android/tv/ui/
TvViewUiManager.java 49 import com.android.tv.util.TvSettings;
187 if (mPipStarted && getPipLayout() == TvSettings.PIP_LAYOUT_SIDE_BY_SIDE) {
264 mSharedPreferences.edit().putInt(TvSettings.PREF_DISPLAY_MODE, displayMode).apply();
275 .getInt(TvSettings.PREF_DISPLAY_MODE, DisplayMode.MODE_NORMAL);
312 * {@link TvSettings#PIP_LAYOUT_BOTTOM_RIGHT}, {@link TvSettings#PIP_LAYOUT_TOP_RIGHT},
313 * {@link TvSettings#PIP_LAYOUT_TOP_LEFT}, {@link TvSettings#PIP_LAYOUT_BOTTOM_LEFT} and
314 * {@link TvSettings#PIP_LAYOUT_SIDE_BY_SIDE}.
322 * {@link TvSettings#PIP_LAYOUT_BOTTOM_RIGHT}, {@link TvSettings#PIP_LAYOUT_TOP_RIGHT}
    [all...]
  /packages/apps/TV/src/com/android/tv/util/
TvSettings.java 34 public final class TvSettings {
35 private TvSettings() {}
  /packages/apps/TvSettings/Settings/
Android.mk 19 LOCAL_PACKAGE_NAME := TvSettings
  /packages/apps/TV/src/com/android/tv/dialog/
PinDialogFragment.java 48 import com.android.tv.util.TvSettings;
122 mDisablePinUntil = TvSettings.getDisablePinUntil(getActivity());
256 TvSettings.setDisablePinUntil(getActivity(), mDisablePinUntil);
322 mSharedPreferences.edit().putString(TvSettings.PREF_PIN, pin).apply();
327 mPin = mSharedPreferences.getString(TvSettings.PREF_PIN, "");
  /device/google/atv/products/
atv_base.mk 21 TvSettings \
  /device/asus/fugu/
device.mk 302 TvSettings \

Completed in 535 milliseconds