Home
last modified time | relevance | path

Searched refs:getDrawableForType (Results 1 – 16 of 16) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DAccountPreferenceBase.java123 protected Drawable getDrawableForType(final String accountType) { in getDrawableForType() method in AccountPreferenceBase
124 return mAuthenticatorHelper.getDrawableForType(getActivity(), accountType); in getDrawableForType()
DChooseAccountPreferenceController.java184 final Drawable drawable = getDrawableForType(pref.getType()); in onAuthDescriptionsUpdated()
235 Drawable getDrawableForType(final String accountType) { in getDrawableForType() method in ChooseAccountPreferenceController
DAccountHeaderPreferenceController.java97 .setIcon(helper.getDrawableForType(mContext, mAccount.type)) in onResume()
DAccountSyncSettings.java128 .setIcon(getDrawableForType(mAccount.type)) in onActivityCreated()
DAccountPreferenceController.java498 final Drawable icon = helper.getDrawableForType(mContext, accountType); in getAccountTypePreferences()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountPreferenceBase.java123 protected Drawable getDrawableForType(final String accountType) { in getDrawableForType() method in AccountPreferenceBase
124 return mAuthenticatorHelper.getDrawableForType(getActivity(), accountType); in getDrawableForType()
DChooseAccountPreferenceController.java184 final Drawable drawable = getDrawableForType(pref.getType()); in onAuthDescriptionsUpdated()
235 Drawable getDrawableForType(final String accountType) { in getDrawableForType() method in ChooseAccountPreferenceController
DAccountHeaderPreferenceController.java97 .setIcon(helper.getDrawableForType(mContext, mAccount.type)) in onResume()
DAccountSyncSettings.java140 .setIcon(getDrawableForType(mAccount.type)) in onActivityCreated()
DAccountPreferenceController.java516 final Drawable icon = helper.getDrawableForType(mContext, accountType); in getAccountTypePreferences()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountTypesHelper.java177 public Drawable getDrawableForType(String accountType) { in getDrawableForType() method in AccountTypesHelper
178 return mAuthenticatorHelper.getDrawableForType(mContext, accountType); in getDrawableForType()
DAccountDetailsPreferenceController.java97 preference.setIcon(helper.getDrawableForType(getContext(), mAccount.type)); in updateState()
DChooseAccountPreferenceController.java154 Drawable icon = mAccountTypesHelper.getDrawableForType(accountType); in getAuthenticatorDescriptionPreferences()
DAccountListPreferenceController.java201 Drawable icon = mAuthenticatorHelper.getDrawableForType(getContext(), accountType); in getAccountPreferences()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DChooseAccountPreferenceControllerTest.java199 doReturn(new ColorDrawable()).when(mController).getDrawableForType(anyString()); in updateAuthDescriptions_twoProvider_shouldAddTwoPreference()
200 doReturn(new ColorDrawable()).when(mController).getDrawableForType(anyString()); in updateAuthDescriptions_twoProvider_shouldAddTwoPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowAuthenticationHelper.java69 protected Drawable getDrawableForType(Context context, final String accountType) { in getDrawableForType() method in ShadowAuthenticationHelper