Home
last modified time | relevance | path

Searched refs:mUserAvatarView (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardQsUserSwitchController.java82 UserAvatarView mUserAvatarView; field in KeyguardQsUserSwitchController
173 mUserAvatarView = mView.findViewById(R.id.kg_multi_user_avatar); in onInit()
183 mUserAvatarView.setOnClickListener(v -> { in onInit()
199 mUserAvatarView.setAccessibilityDelegate(new View.AccessibilityDelegate() { in onInit()
237 if (userChanged || (mIsKeyguardShowing && mUserAvatarView.isEmpty())) {
245 mUserAvatarView.setAvatar(null); in clearAvatar()
303 mUserAvatarView.setContentDescription(getContentDescription()); in updateView()
305 mUserAvatarView.setDrawableWithBadge(getCurrentUserIcon().mutate(), userId); in updateView()
332 return mUserAvatarView.getHeight(); in getUserIconHeight()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyguardQsUserSwitchControllerTest.kt128 assertThat(keyguardQsUserSwitchController.mUserAvatarView.isEmpty).isFalse() in testAvatarExistsWhenKeyguardGoingAway()
136 assertThat(keyguardQsUserSwitchController.mUserAvatarView.isEmpty).isFalse() in testAvatarExistsWhenKeyguardShown()
144 assertThat(keyguardQsUserSwitchController.mUserAvatarView.isEmpty).isTrue() in testAvatarGoneWhenKeyguardGone()