Home
last modified time | relevance | path

Searched refs:mUserIconProvider (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/userswitcher/
DUserIconProviderTest.java64 private UserIconProvider mUserIconProvider; field in UserIconProviderTest
88 mUserIconProvider = new UserIconProvider(); in setUp()
89 spyOn(mUserIconProvider); in setUp()
104 mUserIconProvider.setRoundedUserIcon(mUserInfo, mContext); in setRoundedUserIcon_existRoundedUserIcon()
106 assertThat(mUserIconProvider.getRoundedUserIcon(mUserInfo, mContext)).isNotNull(); in setRoundedUserIcon_existRoundedUserIcon()
113 mUserIconProvider.getRoundedUserIcon(mUserInfo, mContext); in getRoundedUserIcon_notExistUserIcon_assignDefaultIcon()
123 mUserIconProvider.getRoundedUserIcon(mUserInfo, mContext); in getRoundedUserIcon_existUserIcon_notAssignDefaultIcon()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/statusbar/
DUserNameViewControllerTest.java90 spyOn(mUserNameViewController.mUserIconProvider); in setUp()
118 when(mUserNameViewController.mUserIconProvider.getRoundedUserIcon(mUserInfo1, mContext)) in addUserNameViewToController_withTextAndImageView_updatesViews()
125 verify(mUserNameViewController.mUserIconProvider).setRoundedUserIcon(eq(mUserInfo1), any()); in addUserNameViewToController_withTextAndImageView_updatesViews()
143 when(mUserNameViewController.mUserIconProvider.getRoundedUserIcon(mUserInfo1, mContext)) in removeUserNameViewToController_textViewAndImageViewAdded_removeViews()
203 reset(mUserNameViewController.mUserIconProvider); in userInfoChangedBroadcast_whenUserNameIsSame_notSetRoundedUserIcon()
208 verify(mUserNameViewController.mUserIconProvider, never()) in userInfoChangedBroadcast_whenUserNameIsSame_notSetRoundedUserIcon()
221 reset(mUserNameViewController.mUserIconProvider); in userInfoChangedBroadcast_whenUserNameIsChanged_setRoundedUserIcon()
227 verify(mUserNameViewController.mUserIconProvider).setRoundedUserIcon(eq(mUserInfo1), any()); in userInfoChangedBroadcast_whenUserNameIsChanged_setRoundedUserIcon()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/statusbar/
DUserNameViewController.java60 UserIconProvider mUserIconProvider; field in UserNameViewController
91 mUserIconProvider = new UserIconProvider(); in UserNameViewController()
174 mUserIconProvider.setRoundedUserIcon(currentUserInfo, mContext); in updateUser()
183 Drawable circleIcon = mUserIconProvider.getRoundedUserIcon(currentUserInfo, mContext); in updateUserIcon()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userpicker/
DUserPickerController.java98 private UserIconProvider mUserIconProvider; field in UserPickerController
149 /* icon= */ mUserIconProvider.getRoundedUserIcon(newUserInfo, mContext),
172 mUserIconProvider = new UserIconProvider(); in UserPickerController()
315 /* icon= */ mUserIconProvider.getRoundedUserIcon(foregroundUser, mContext),
334 /* icon= */ mUserIconProvider.getRoundedUserIcon(userInfo, mContext),
370 /* icon= */ mUserIconProvider.getRoundedGuestDefaultIcon(mContext),
/packages/apps/Car/SystemUI/src/com/android/systemui/car/qc/
DProfileSwitcher.java99 protected final UserIconProvider mUserIconProvider; field in ProfileSwitcher
115 mUserIconProvider = new UserIconProvider(); in ProfileSwitcher()
129 mUserIconProvider = userIconProvider; in ProfileSwitcher()
225 mUserIconProvider.getDrawableWithBadge(mContext, userInfo), actionHandler); in createUserProfileRow()
240 mUserIconProvider.getRoundedGuestDefaultIcon(mContext), in createGuestProfileRow()
257 mUserIconProvider.getDrawableWithBadge(mContext, getCircularAddUserIcon()), in createAddProfileRow()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/qc/
DCarUiPortraitProfileSwitcher.java73 mUserIconProvider.getDrawableWithBadge(mContext, userInfo), actionHandler); in createUserProfileRowForCurrentProfile()
89 mUserIconProvider.getRoundedGuestDefaultIcon(mContext), in createGuestProfileRowForCurrentProfile()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/qc/
DProfileSwitcherTest.java103 private UserIconProvider mUserIconProvider; field in ProfileSwitcherTest
123 when(mUserIconProvider.getDrawableWithBadge(any(Context.class), any(UserInfo.class))) in setUp()
125 when(mUserIconProvider.getDrawableWithBadge(any(Context.class), any(Drawable.class))) in setUp()
127 when(mUserIconProvider.getRoundedGuestDefaultIcon(any())).thenReturn(testDrawable); in setUp()
136 mDevicePolicyManager, mCarUserManager, mUserIconProvider, new Handler()); in setUp()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userswitcher/
DUserGridRecyclerView.java97 private UserIconProvider mUserIconProvider; field in UserGridRecyclerView
110 mUserIconProvider = new UserIconProvider(); in UserGridRecyclerView()
433 circleIcon = mUserIconProvider in getCircularUserRecordIcon()
440 circleIcon = mUserIconProvider.getRoundedUserIcon(userRecord.mInfo, mContext); in getCircularUserRecordIcon()
DUserSwitchTransitionViewController.java71 private final UserIconProvider mUserIconProvider = new UserIconProvider(); field in UserSwitchTransitionViewController
216 Drawable userIcon = mUserIconProvider.getDrawableWithBadge(mContext, in drawUserIcon()