Home
last modified time | relevance | path

Searched refs:RadioPreference (Results 1 – 7 of 7) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/autofill/
DAutofillPickerFragment.java38 import com.android.tv.settings.RadioPreference;
108 RadioPreference activePref = null; in bind()
110 final RadioPreference radioPreference = new RadioPreference(context); in bind()
125 activePref = ((RadioPreference) screen.findPreference(KEY_FOR_NONE)); in bind()
136 if (preference instanceof RadioPreference) { in onPreferenceTreeClick()
145 final RadioPreference newPref = (RadioPreference) preference; in onPreferenceTreeClick()
151 RadioPreference currentPref = (RadioPreference) findPreference(currentKey); in onPreferenceTreeClick()
157 RadioPreference pref = (RadioPreference) findPreference(newKey); in onPreferenceTreeClick()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DCaptionFragment.java33 import com.android.tv.settings.RadioPreference;
58 private RadioPreference mCaptionsStyle0Pref;
59 private RadioPreference mCaptionsStyle1Pref;
60 private RadioPreference mCaptionsStyle2Pref;
61 private RadioPreference mCaptionsStyle3Pref;
62 private RadioPreference mCaptionsStyleCustomPref;
102 mCaptionsStyle0Pref = (RadioPreference) findPreference(KEY_CAPTIONS_STYLE_0); in onCreatePreferences()
103 mCaptionsStyle1Pref = (RadioPreference) findPreference(KEY_CAPTIONS_STYLE_1); in onCreatePreferences()
104 mCaptionsStyle2Pref = (RadioPreference) findPreference(KEY_CAPTIONS_STYLE_2); in onCreatePreferences()
105 mCaptionsStyle3Pref = (RadioPreference) findPreference(KEY_CAPTIONS_STYLE_3); in onCreatePreferences()
[all …]
DLanguageFragment.java35 import com.android.tv.settings.RadioPreference;
92 final RadioPreference radioPreference = new RadioPreference(themedContext); in onCreatePreferences()
116 if (preference instanceof RadioPreference) { in onPreferenceTreeClick()
117 final RadioPreference radioPreference = (RadioPreference) preference; in onPreferenceTreeClick()
DInputOptionsFragment.java32 import com.android.tv.settings.RadioPreference;
142 if (preference instanceof RadioPreference) { in onPreferenceTreeClick()
143 final RadioPreference radioPreference = (RadioPreference) preference; in onPreferenceTreeClick()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DRadioPreference.java28 public class RadioPreference extends CheckBoxPreference { class
31 public RadioPreference(Context context) { in RadioPreference() method in RadioPreference
35 public RadioPreference(Context context, AttributeSet attrs) { in RadioPreference() method in RadioPreference
38 context.obtainStyledAttributes(attrs, R.styleable.RadioPreference, 0, 0); in RadioPreference()
59 if (!(p instanceof RadioPreference)) { in clearOtherRadioPreferences()
62 final RadioPreference radioPreference = (RadioPreference) p; in clearOtherRadioPreferences()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/autofill/
DAutofillPickerFragmentTest.java32 import com.android.tv.settings.RadioPreference;
60 private RadioPreference mNonePreference;
71 mNonePreference = new RadioPreference(mFragment.getContext()); in setUp()
88 RadioPreference pref = (RadioPreference) captor.getValue(); in selectedService()
103 RadioPreference pref = (RadioPreference) captor.getValue(); in selectedNone()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessibility/
DAccessibilityShortcutServiceFragment.java36 import com.android.tv.settings.RadioPreference;
85 final RadioPreference preference = new RadioPreference(themedContext); in onCreatePreferences()