Searched refs:mUserAvatarView (Results 1 – 3 of 3) sorted by relevance
48 private UserAvatarView mUserAvatarView; field in UserAvatarViewTest54 mUserAvatarView = ((CarAdminUiTestActivity) activity).mUserAvatarView; in setup()63 mUserAvatarView.setAvatar(bitmap); in setAvatar()65 assertThat(mUserAvatarView.getUserIconDrawable().getUserIcon()).isEqualTo(bitmap); in setAvatar()66 assertThat(mUserAvatarView.getUserIconDrawable().getBadge()).isNull(); in setAvatar()73 mUserAvatarView.setAvatarWithBadge(bitmap, ActivityManager.getCurrentUser()); in setAvatarWithBadge_success()75 assertThat(mUserAvatarView.getUserIconDrawable().getUserIcon()).isEqualTo(bitmap); in setAvatarWithBadge_success()78 assertThat(mUserAvatarView.getUserIconDrawable().getBadge()).isNull(); in setAvatarWithBadge_success()84 () -> mUserAvatarView.setDrawable(new UserIconDrawable())); in setDrawable_userIconDrawable_throwsError()91 mUserAvatarView.setDrawable(d); in setDrawable_success()[all …]
40 public UserAvatarView mUserAvatarView; field in CarAdminUiTestActivity50 mUserAvatarView = findViewById(R.id.view_user_avatar); in onCreate()
47 private UserAvatarView mUserAvatarView; field in UserInfoView59 mUserAvatarView = findViewById(R.id.user_avatar); in UserInfoView()115 mUserAvatarView.setAvatarWithBadge(icon, userId); in setUserIcon()