Home
last modified time | relevance | path

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

/packages/apps/Car/SystemUI/src/com/android/systemui/car/statusbar/
DUserNameViewController.java63 ArrayList<TextView> mUserNameViews = new ArrayList<TextView>(); field in UserNameViewController
104 if (mUserNameViews.size() == 0 in addUserNameView()
109 if (!mUserNameViews.contains(userNameView)) { in addUserNameView()
110 mUserNameViews.add(userNameView); in addUserNameView()
127 if (userNameView != null && mUserNameViews.contains(userNameView)) { in removeUserNameView()
128 mUserNameViews.remove(userNameView); in removeUserNameView()
141 mUserNameViews.clear(); in removeAll()
167 for (int i = 0; i < mUserNameViews.size(); i++) { in updateUser()
168 mUserNameViews.get(i).setText(currentUserInfo.name); in updateUser()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/statusbar/
DUserNameViewControllerTest.java91 spyOn(mUserNameViewController.mUserNameViews); in setUp()
123 verify(mUserNameViewController.mUserNameViews).add(eq(mTextView)); in addUserNameViewToController_withTextAndImageView_updatesViews()
148 verify(mUserNameViewController.mUserNameViews).remove(eq(mTextView)); in removeUserNameViewToController_textViewAndImageViewAdded_removeViews()