Home
last modified time | relevance | path

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

/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.java517 final Drawable icon = helper.getDrawableForType(mContext, accountType); in getAccountTypePreferences()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountTypesHelper.java178 public Drawable getDrawableForType(String accountType) { in getDrawableForType() method in AccountTypesHelper
179 return mAuthenticatorHelper.getDrawableForType(mContext, accountType); in getDrawableForType()
DAccountDetailsBasePreferenceController.java100 preference.setIcon(helper.getDrawableForType(getContext(), mAccount.type)); in updateState()
DChooseAccountPreferenceController.java151 Drawable icon = mAccountTypesHelper.getDrawableForType(accountType); in getAuthenticatorDescriptionPreferences()
DAccountListPreferenceController.java204 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
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/
DAccountDetailsBasePreferenceControllerTest.java116 when(mAuthenticatorHelper.getDrawableForType(mContext, mAccount.type)).thenReturn( in onCreate_shouldSetIcon()
DChooseAccountPreferenceControllerTest.java203 when(mMockAuthenticatorHelper.getDrawableForType(any(), any())).thenReturn(null); in initMocks()
DAccountListPreferenceControllerTest.java279 when(mMockAuthenticatorHelper.getDrawableForType(any(), any())).thenReturn(null); in initMocks()