Home
last modified time | relevance | path

Searched refs:STATUS_ON (Results 1 – 12 of 12) sorted by relevance

/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/
DManagerUtil.java20 import static com.android.tv.settings.library.PreferenceCompat.STATUS_ON;
86 return checked ? STATUS_ON : STATUS_OFF; in getChecked()
90 return selectable ? STATUS_ON : STATUS_OFF; in getSelectable()
94 return visible ? STATUS_ON : STATUS_OFF; in getVisible()
98 return enabled ? STATUS_ON : STATUS_OFF; in getEnabled()
102 return persistent ? STATUS_ON : STATUS_OFF; in getPersistent()
112 return pref.getChecked() == STATUS_ON; in isChecked()
DPreferenceCompat.java46 public static final byte STATUS_ON = 2; field in PreferenceCompat
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/
DNotificationsPreferenceController.java20 import static com.android.tv.settings.library.PreferenceCompat.STATUS_ON;
146 if (!(preferenceCompat.getEnabled() == STATUS_ON)) { in handlePreferenceTreeClick()
155 byte status = checked ? STATUS_ON : STATUS_OFF; in setNotificationsEnabled()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/accessibility/
DAccessibilityState.java22 import static com.android.tv.settings.library.PreferenceCompat.STATUS_ON;
148 (mHighContrastPreference.getChecked() == STATUS_ON ? 1 : 0)); in onPreferenceTreeClick()
153 (mAudioDescriptionPreference.getChecked() == STATUS_ON ? 1 : 0)); in onPreferenceTreeClick()
158 (mBoldTextPreference.getChecked() == STATUS_ON ? BOLD_TEXT_ADJUSTMENT : 0)); in onPreferenceTreeClick()
DAccessibilityServiceState.java20 import static com.android.tv.settings.library.PreferenceCompat.STATUS_ON;
201 !(mEnablePref.getChecked() == STATUS_ON)); in onPreferenceChange()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/display/daydream/
DAllowTurnScreenOffWithWakeLockPC.java22 import static com.android.tv.settings.library.PreferenceCompat.STATUS_ON;
82 return mPreferenceCompat.getChecked() == STATUS_ON; in isChecked()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/
DInputMethodAndSubtypeUtilCompat.java172 ? pref.getChecked() == PreferenceCompat.STATUS_ON in saveInputMethodSubtypeList()
209 if (subtypePref.getEnabled() == PreferenceCompat.STATUS_ON in saveInputMethodSubtypeList()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/display/displaysound/
DHdrFormatPreferenceController.java88 final boolean enabled = mPreferenceCompat.getChecked() == PreferenceCompat.STATUS_ON; in handlePreferenceTreeClick()
DSoundFormatPreferenceController.java186 return mPreferenceCompat.getVisible() == PreferenceCompat.STATUS_ON; in isAvailable()
DAdvancedVolumeState.java153 if (mSurroundSoundManual.getChecked() == PreferenceCompat.STATUS_ON) { in onCreate()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/inputmethod/
DInputMethodPreferenceController.java110 if (mPreferenceCompat.getChecked() == PreferenceCompat.STATUS_ON) { in handlePreferenceChange()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DWifiDetailsState.java262 mRandomMacPref.setSelectable(PreferenceCompat.STATUS_ON); in updateRandomMacPref()