/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/userswitcher/ |
D | UserIconProviderTest.java | 64 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/ |
D | UserNameViewControllerTest.java | 90 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/ |
D | UserNameViewController.java | 60 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/ |
D | UserPickerController.java | 98 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/ |
D | ProfileSwitcher.java | 99 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/ |
D | CarUiPortraitProfileSwitcher.java | 73 mUserIconProvider.getDrawableWithBadge(mContext, userInfo), actionHandler); in createUserProfileRowForCurrentProfile() 89 mUserIconProvider.getRoundedGuestDefaultIcon(mContext), in createGuestProfileRowForCurrentProfile()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/qc/ |
D | ProfileSwitcherTest.java | 103 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/ |
D | UserGridRecyclerView.java | 97 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()
|
D | UserSwitchTransitionViewController.java | 71 private final UserIconProvider mUserIconProvider = new UserIconProvider(); field in UserSwitchTransitionViewController 216 Drawable userIcon = mUserIconProvider.getDrawableWithBadge(mContext, in drawUserIcon()
|