Home
last modified time | relevance | path

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

/aosp12/packages/apps/Settings/src/com/android/settings/accounts/
H A DAccountPreferenceBase.java123 protected Drawable getDrawableForType(final String accountType) { in getDrawableForType() method in AccountPreferenceBase
124 return mAuthenticatorHelper.getDrawableForType(getActivity(), accountType); in getDrawableForType()
H A DChooseAccountPreferenceController.java184 final Drawable drawable = getDrawableForType(pref.getType()); in onAuthDescriptionsUpdated()
235 Drawable getDrawableForType(final String accountType) { in getDrawableForType() method in ChooseAccountPreferenceController
H A DAccountHeaderPreferenceController.java97 .setIcon(helper.getDrawableForType(mContext, mAccount.type)) in onResume()
H A DAccountSyncSettings.java140 .setIcon(getDrawableForType(mAccount.type)) in onActivityCreated()
H A DAccountPreferenceController.java517 final Drawable icon = helper.getDrawableForType(mContext, accountType); in getAccountTypePreferences()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
H A DAccountTypesHelper.java178 public Drawable getDrawableForType(String accountType) { in getDrawableForType() method in AccountTypesHelper
179 return mAuthenticatorHelper.getDrawableForType(mContext, accountType); in getDrawableForType()
H A DAccountDetailsBasePreferenceController.java100 preference.setIcon(helper.getDrawableForType(getContext(), mAccount.type)); in updateState()
H A DChooseAccountPreferenceController.java151 Drawable icon = mAccountTypesHelper.getDrawableForType(accountType); in getAuthenticatorDescriptionPreferences()
H A DAccountListPreferenceController.java225 Drawable icon = mAuthenticatorHelper.getDrawableForType(getContext(), accountType); in getAccountPreferences()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
H A DPrivacyDialog.kt107 val d = getDrawableForType(element.type)
149 private fun getDrawableForType(type: PrivacyType): LayerDrawable { regex
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
H A 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()
/aosp12/frameworks/base/core/java/android/accounts/
H A DChooseAccountActivity.java94 getDrawableForType(((Account) mAccounts[i]).type)); in onCreate()
119 private Drawable getDrawableForType(String accountType) { in getDrawableForType() method in ChooseAccountActivity
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/
H A DAuthenticatorHelper.java85 getDrawableForType(context, accountType); in preloadDrawableForType()
97 public Drawable getDrawableForType(Context context, final String accountType) { in getDrawableForType() method in AuthenticatorHelper
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
H A DShadowAuthenticationHelper.java69 protected Drawable getDrawableForType(Context context, final String accountType) { in getDrawableForType() method in ShadowAuthenticationHelper
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/
H A DAccountDetailsBasePreferenceControllerTest.java116 when(mAuthenticatorHelper.getDrawableForType(mContext, mAccount.type)).thenReturn( in onCreate_shouldSetIcon()
H A DChooseAccountPreferenceControllerTest.java203 when(mMockAuthenticatorHelper.getDrawableForType(any(), any())).thenReturn(null); in initMocks()
H A DAccountListPreferenceControllerTest.java345 when(mMockAuthenticatorHelper.getDrawableForType(any(), any())).thenReturn(null); in initMocks()
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt423 Landroid/accounts/ChooseAccountActivity;->getDrawableForType(Ljava/lang/String;)Landroid/graphics/d…