Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DAvatarViewMixinTest.java85 final AvatarViewMixin avatarViewMixin = new AvatarViewMixin(mActivity, mImageView); in hasAccount_useDefaultAccountData_returnFalse()
92 final AvatarViewMixin avatarViewMixin = new AvatarViewMixin(mActivity, mImageView); in hasAccount_useShadowAccountData_returnTrue()
98 final AvatarViewMixin mockAvatar = spy(new AvatarViewMixin(mActivity, mImageView)); in onStart_useMockAvatarViewMixin_shouldBeExecuted()
108 final AvatarViewMixin avatarViewMixin = new AvatarViewMixin(mActivity, mImageView); in onStart_noAccount_mAccountNameShouldBeNull()
118 final AvatarViewMixin avatarViewMixin = new AvatarViewMixin(mActivity, mImageView); in queryProviderAuthority_useShadowPackagteManager_returnNull()
125 final AvatarViewMixin avatarViewMixin = new AvatarViewMixin(mActivity, mImageView); in queryProviderAuthority_useNewShadowPackagteManager_returnAuthority()
141 shadowPackageManager.addResolveInfoForIntent(AvatarViewMixin.INTENT_GET_ACCOUNT_DATA, in queryProviderAuthority_useNewShadowPackagteManager_returnAuthority()
172 final AvatarViewMixin avatarViewMixin = new AvatarViewMixin(activity, mImageView); in onClickAvatar_withEmptyUri_startActivityShouldNotBeExecuted()
/packages/apps/Settings/src/com/android/settings/accounts/
DAvatarViewMixin.java52 public class AvatarViewMixin implements LifecycleObserver { class
83 public AvatarViewMixin(SettingsHomepageActivity activity, ImageView avatarView) { in AvatarViewMixin() method in AvatarViewMixin
/packages/apps/Settings/src/com/android/settings/homepage/
DSettingsHomepageActivity.java70 import com.android.settings.accounts.AvatarViewMixin;
435 if (AvatarViewMixin.isAvatarSupported(this)) { in initAvatarView()
437 getLifecycle().addObserver(new AvatarViewMixin(this, avatarView)); in initAvatarView()
441 getLifecycle().addObserver(new AvatarViewMixin(this, avatarTwoPaneView)); in initAvatarView()