Home
last modified time | relevance | path

Searched refs:accountPreference (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DBrandedAccountPreferenceController.java61 final Preference accountPreference = screen.findPreference(getPreferenceKey()); in displayPreference() local
62 if (accountPreference != null && (mAccounts == null || mAccounts.length == 0)) { in displayPreference()
63 screen.removePreference(accountPreference); in displayPreference()
67 accountPreference.setSummary(mAccounts[0].name); in displayPreference()
68 accountPreference.setOnPreferenceClickListener(preference -> { in displayPreference()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DBrandedAccountPreferenceController.java60 final Preference accountPreference = screen.findPreference(getPreferenceKey()); in displayPreference() local
61 if (accountPreference != null && (mAccounts == null || mAccounts.length == 0)) { in displayPreference()
62 screen.removePreference(accountPreference); in displayPreference()
66 accountPreference.setSummary(mAccounts[0].name); in displayPreference()
/packages/services/Telephony/src/com/android/phone/settings/
DPhoneAccountSettingsFragment.java380 Preference accountPreference = new Preference(getActivity()); in initAccountList() local
384 accountPreference.setTitle((TextUtils.isEmpty(accountLabel) && isSimAccount) in initAccountList()
390 accountPreference.setIcon(icon.loadDrawable(getActivity())); in initAccountList()
395 accountPreference.setIntent(intent); in initAccountList()
398 accountPreference.setOrder(order++); in initAccountList()
399 mAccountList.addPreference(accountPreference); in initAccountList()