Home
last modified time | relevance | path

Searched refs:avatarView (Results 1 – 7 of 7) sorted by relevance

/aosp12/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/
H A DContactListItemViewTest.java61 final ContactIconView avatarView = (ContactIconView) view.findViewById(R.id.contact_icon); in verifyContent() local
67 assertNotNull(avatarView); in verifyContent()
69 assertTrue(avatarView.mImageRequestBinding.isBound()); in verifyContent()
70 assertEquals(View.VISIBLE, avatarView.getVisibility()); in verifyContent()
72 assertFalse(avatarView.mImageRequestBinding.isBound()); in verifyContent()
73 assertEquals(View.INVISIBLE, avatarView.getVisibility()); in verifyContent()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DPeopleHubView.kt98 private inner class PersonDataListenerImpl(val avatarView: ImageView) :
102 avatarView.visibility = data?.let { View.VISIBLE } ?: View.GONE
103 avatarView.setImageDrawable(data?.icon)
104 avatarView.setOnClickListener { data?.onClick?.invoke() }
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/
H A DSettingsHomepageActivityTest.java83 final View avatarView = activity.findViewById(R.id.account_avatar); in launch_configDisabled_shouldHideAvatar() local
84 assertThat(avatarView.getVisibility()).isNotEqualTo(View.VISIBLE); in launch_configDisabled_shouldHideAvatar()
93 final View avatarView = activity.findViewById(R.id.account_avatar); in launch_configEnabled_shouldShowAvatar() local
94 assertThat(avatarView.getVisibility()).isEqualTo(View.VISIBLE); in launch_configEnabled_shouldShowAvatar()
107 final View avatarView = activity.findViewById(R.id.account_avatar); in launch_LowRamDevice_shouldHideAvatar() local
108 assertThat(avatarView.getVisibility()).isNotEqualTo(View.VISIBLE); in launch_LowRamDevice_shouldHideAvatar()
/aosp12/packages/apps/Settings/src/com/android/settings/accounts/
H A DAvatarViewMixin.java83 public AvatarViewMixin(SettingsHomepageActivity activity, ImageView avatarView) { in AvatarViewMixin() argument
85 mAvatarView = avatarView; in AvatarViewMixin()
131 avatarView.setImageBitmap(bitmap); in AvatarViewMixin()
/aosp12/packages/apps/Settings/src/com/android/settings/homepage/
H A DSettingsHomepageActivity.java238 final ImageView avatarView = findViewById(R.id.account_avatar); in initAvatarView() local
241 avatarView.setVisibility(View.VISIBLE); in initAvatarView()
242 getLifecycle().addObserver(new AvatarViewMixin(this, avatarView)); in initAvatarView()
/aosp12/packages/apps/Messaging/src/com/android/messaging/widget/
H A DWidgetConversationListService.java149 remoteViews.setViewVisibility(R.id.avatarView, includeAvatar ? in getViewAt()
156 remoteViews.setImageViewBitmap(R.id.avatarView, includeAvatar ? in getViewAt()
H A DWidgetConversationService.java233 remoteViews.setViewVisibility(R.id.avatarView, includeAvatar ? in getViewAt()
244 remoteViews.setImageViewBitmap(R.id.avatarView, includeAvatar ? in getViewAt()