Home
last modified time | relevance | path

Searched refs:getDrawableForType (Results 1 – 15 of 15) 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.java185 final Drawable drawable = getDrawableForType(pref.getType()); in onAuthDescriptionsUpdated()
242 Drawable getDrawableForType(final String accountType) { in getDrawableForType() method in ChooseAccountPreferenceController
DAccountHeaderPreferenceController.java97 .setIcon(helper.getDrawableForType(mContext, mAccount.type)) in onResume()
DAccountSyncSettings.java143 .setIcon(getDrawableForType(mAccount.type)) in onActivityCreated()
DAccountPreferenceController.java611 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.java150 Drawable icon = mAccountTypesHelper.getDrawableForType(accountType); in getAuthenticatorDescriptionPreferences()
DAccountListPreferenceController.java235 Drawable icon = mAuthenticatorHelper.getDrawableForType(getContext(), accountType); in getAccountPreferences()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DChooseAccountPreferenceControllerTest.java206 doReturn(new ColorDrawable()).when(mController).getDrawableForType(anyString()); in updateAuthDescriptions_twoProvider_shouldAddTwoPreference()
207 doReturn(new ColorDrawable()).when(mController).getDrawableForType(anyString()); in updateAuthDescriptions_twoProvider_shouldAddTwoPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowAuthenticationHelper.java70 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.java199 when(mMockAuthenticatorHelper.getDrawableForType(any(), any())).thenReturn(null); in initMocks()
DAccountListPreferenceControllerTest.java521 when(mMockAuthenticatorHelper.getDrawableForType(any(), any())).thenReturn(null); in initMocks()
/packages/apps/Settings/src/com/android/settings/privatespace/delete/
DPrivateSpaceDeleteFragment.java147 Drawable icon = helper.getDrawableForType(getContext(), accountType); in loadPrivateProfileAccountList()