Searched refs:PreferenceUtils (Results 1 – 12 of 12) sorted by relevance
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/ |
D | LegalFragment.java | 26 import com.android.tv.settings.PreferenceUtils; 45 PreferenceUtils.resolveSystemActivityOrRemove(context, screen, in onCreatePreferences() 46 findPreference(KEY_TERMS), PreferenceUtils.FLAG_SET_TITLE); in onCreatePreferences() 47 PreferenceUtils.resolveSystemActivityOrRemove(context, screen, in onCreatePreferences() 48 findPreference(KEY_LICENSE), PreferenceUtils.FLAG_SET_TITLE); in onCreatePreferences() 49 PreferenceUtils.resolveSystemActivityOrRemove(context, screen, in onCreatePreferences() 50 findPreference(KEY_COPYRIGHT), PreferenceUtils.FLAG_SET_TITLE); in onCreatePreferences() 51 PreferenceUtils.resolveSystemActivityOrRemove(context, screen, in onCreatePreferences() 52 findPreference(KEY_WEBVIEW_LICENSE), PreferenceUtils.FLAG_SET_TITLE); in onCreatePreferences() 53 PreferenceUtils.resolveSystemActivityOrRemove(context, screen, in onCreatePreferences() [all …]
|
D | AboutFragment.java | 51 import com.android.tv.settings.PreferenceUtils; 118 PreferenceUtils.resolveSystemActivityOrRemove(getActivity(), screen, deviceNamePref, 0); in onCreatePreferences() 181 PreferenceUtils.resolveSystemActivityOrRemove(getActivity(), screen, in onCreatePreferences() 182 updateSettingsPref, PreferenceUtils.FLAG_SET_TITLE); in onCreatePreferences() 200 PreferenceUtils.resolveSystemActivityOrRemove(getActivity(), screen, regulatoryPref, 0); in onCreatePreferences()
|
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/util/ |
D | PreferenceUtilsTest.java | 67 PACKAGE_NAME + PreferenceUtils.SETTINGS_SUGGESTION_ACTIVITY_ALIAS); in setUp() 82 assertThat(PreferenceUtils.hasAtLeastOnePreferenceSet(mContext)).isFalse(); in testHasAtLeastOnePreferenceSet_notSet() 89 assertThat(PreferenceUtils.hasAtLeastOnePreferenceSet(mContext)).isTrue(); in testHasAtLeastOnePreferenceSet_set() 97 assertThat(PreferenceUtils.hasAtLeastOneEmergencyContact(mContext)).isFalse(); in testHasAtLeastOneEmergencyContact_notSet() 110 assertThat(PreferenceUtils.hasAtLeastOneEmergencyContact(mContext)).isTrue(); in testHasAtLeastOneEmergencyContact_set() 115 PreferenceUtils.enableSettingsSuggestion(mContext); in testEnableSettingsSuggestion() 133 PreferenceUtils.updateSettingsSuggestionState(mContext); in testUpdateSettingsSuggestionState_contactSet() 145 PreferenceUtils.updateSettingsSuggestionState(mContext); in testUpdateSettingsSuggestionState_noPreferencesOrContactSet() 158 PreferenceUtils.updateSettingsSuggestionState(mContext); in testUpdateSettingsSuggestionState_preferenceSet()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/edit/ |
D | EditInfoActivity.java | 40 import com.android.emergency.util.PreferenceUtils; 80 PreferenceUtils.updateSettingsSuggestionState(this); in onCreate() 131 PreferenceUtils.enableSettingsSuggestion(this); in onClearAllPreferences()
|
D | EditMedicalInfoFragment.java | 29 import com.android.emergency.util.PreferenceUtils; 67 PreferenceUtils.updateSettingsSuggestionState(getActivity()); in onCreatePreferences()
|
D | EditInfoFragment.java | 38 import com.android.emergency.util.PreferenceUtils; 179 PreferenceUtils.updateSettingsSuggestionState(mContext); in onPreferenceChange()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
D | ViewEmergencyContactsPreference.java | 26 import com.android.emergency.util.PreferenceUtils; 40 if (PreferenceUtils.hasAtLeastOnePreferenceSet(getContext())) { in onBindViewHolder()
|
D | EmergencyContactsPreference.java | 33 import com.android.emergency.util.PreferenceUtils; 213 PreferenceUtils.updateSettingsSuggestionState(getContext()); in setEmergencyContacts()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/view/ |
D | ViewInfoActivity.java | 51 import com.android.emergency.util.PreferenceUtils; 191 if (PreferenceUtils.hasAtLeastOnePreferenceSet(this)) { in setUpFragments() 195 if (PreferenceUtils.hasAtLeastOneEmergencyContact(this)) { in setUpFragments()
|
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/edit/ |
D | EditInfoActivityTest.java | 48 import com.android.emergency.util.PreferenceUtils; 96 packageName + PreferenceUtils.SETTINGS_SUGGESTION_ACTIVITY_ALIAS); in testInitialState() 126 packageName + PreferenceUtils.SETTINGS_SUGGESTION_ACTIVITY_ALIAS); in testClearAllPreferences()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | PreferenceUtils.java | 33 public final class PreferenceUtils { class
|
/packages/apps/EmergencyInfo/src/com/android/emergency/util/ |
D | PreferenceUtils.java | 33 public class PreferenceUtils { class
|