Home
last modified time | relevance | path

Searched refs:UserSwitcherController (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserDetailView.java31 import com.android.systemui.statusbar.policy.UserSwitcherController;
48 public void createAndSetAdapter(UserSwitcherController controller) { in createAndSetAdapter()
57 public static class Adapter extends UserSwitcherController.BaseUserAdapter
61 protected UserSwitcherController mController;
63 public Adapter(Context context, UserSwitcherController controller) { in Adapter()
71 UserSwitcherController.UserRecord item = getItem(position); in getView()
76 UserSwitcherController.UserRecord item) { in createUserDetailItemView()
102 UserSwitcherController.UserRecord tag = in onClick()
103 (UserSwitcherController.UserRecord) view.getTag(); in onClick()
DUserTile.java31 import com.android.systemui.statusbar.policy.UserSwitcherController;
37 private final UserSwitcherController mUserSwitcherController;
42 public UserTile(QSHost host, UserSwitcherController userSwitcherController, in UserTile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DMultiUserSwitch.java39 import com.android.systemui.statusbar.policy.UserSwitcherController;
49 private UserSwitcherController.BaseUserAdapter mUserListener;
55 protected UserSwitcherController mUserSwitcherController;
71 setUserSwitcherController(Dependency.get(UserSwitcherController.class)); in setQsPanel()
82 public void setUserSwitcherController(UserSwitcherController userSwitcherController) { in setUserSwitcherController()
125 final UserSwitcherController controller = mUserSwitcherController; in registerListener()
127 mUserListener = new UserSwitcherController.BaseUserAdapter(controller) { in registerListener()
DKeyguardStatusBarView.java58 import com.android.systemui.statusbar.policy.UserSwitcherController;
88 private UserSwitcherController mUserSwitcherController;
328 mUserSwitcherController = Dependency.get(UserSwitcherController.class); in onAttachedToWindow()
DStatusBar.java230 import com.android.systemui.statusbar.policy.UserSwitcherController;
559 protected UserSwitcherController mUserSwitcherController;
1134 mUserSwitcherController = Dependency.get(UserSwitcherController.class); in getDependencies()
1236 Dependency.get(UserSwitcherController.class).onDensityOrFontScaleChanged(); in onDensityOrFontScaleChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DUserUtil.java24 import com.android.systemui.statusbar.policy.UserSwitcherController;
28 UserSwitcherController userSwitcherController) { in deleteUserWithPrompt()
36 private final UserSwitcherController mUserSwitcherController;
39 UserSwitcherController userSwitcherController) { in RemoveUserDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcher.java56 private UserSwitcherController mUserSwitcherController;
63UserSwitcherController userSwitcherController = Dependency.get(UserSwitcherController.class); in KeyguardUserSwitcher()
254 public static class Adapter extends UserSwitcherController.BaseUserAdapter implements
260 public Adapter(Context context, UserSwitcherController controller, in Adapter()
269 UserSwitcherController.UserRecord item = getItem(position); in getView()
271 || !(convertView.getTag() instanceof UserSwitcherController.UserRecord)) { in getView()
293 UserSwitcherController.UserRecord user = (UserSwitcherController.UserRecord) v.getTag(); in onClick()
DUserSwitcherController.java80 public class UserSwitcherController implements Dumpable { class
112 public UserSwitcherController(Context context, KeyguardMonitor keyguardMonitor, in UserSwitcherController() method in UserSwitcherController
597 final UserSwitcherController mController;
601 protected BaseUserAdapter(UserSwitcherController controller) { in BaseUserAdapter()
792 v.createAndSetAdapter(UserSwitcherController.this);
827 mHandler.post(UserSwitcherController.this::notifyAdapters);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DUserDetailViewAdapterTest.kt28 import com.android.systemui.statusbar.policy.UserSwitcherController
44 @Mock private lateinit var mUserSwitcherController: UserSwitcherController
120 UserSwitcherController.UserRecord(
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSFragmentTest.java50 import com.android.systemui.statusbar.policy.UserSwitcherController;
87 mDependency.injectMockDependency(UserSwitcherController.class); in addLeakCheckDependencies()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java104 import com.android.systemui.statusbar.policy.UserSwitcherController;
206 @Inject Lazy<UserSwitcherController> mUserSwitcherController;
347 mProviders.put(UserSwitcherController.class, mUserSwitcherController::get); in start()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarStatusBar.java116 import com.android.systemui.statusbar.policy.UserSwitcherController;
441 mUserSwitcherController = Dependency.get(UserSwitcherController.class); in getDependencies()
1359 UserSwitcherController userSwitcherController = in createUserSwitcher()
1360 Dependency.get(UserSwitcherController.class); in createUserSwitcher()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java116 import com.android.systemui.statusbar.policy.UserSwitcherController;
721 mStatusBar.mUserSwitcherController = mock(UserSwitcherController.class); in testShowKeyguardImplementation_setsState()