Home
last modified time | relevance | path

Searched refs:UserSwitcherController (Results 1 – 12 of 12) 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()
99 UserSwitcherController.UserRecord tag = in onClick()
100 (UserSwitcherController.UserRecord) view.getTag(); in onClick()
DUserTile.java32 import com.android.systemui.statusbar.policy.UserSwitcherController;
36 private final UserSwitcherController mUserSwitcherController;
42 mUserSwitcherController = Dependency.get(UserSwitcherController.class); in UserTile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DMultiUserSwitch.java40 import com.android.systemui.statusbar.policy.UserSwitcherController;
50 private UserSwitcherController.BaseUserAdapter mUserListener;
56 protected UserSwitcherController mUserSwitcherController;
72 setUserSwitcherController(Dependency.get(UserSwitcherController.class)); in setQsPanel()
83 public void setUserSwitcherController(UserSwitcherController userSwitcherController) { in setUserSwitcherController()
101 final UserSwitcherController controller = mUserSwitcherController; in registerListener()
103 mUserListener = new UserSwitcherController.BaseUserAdapter(controller) { in registerListener()
DKeyguardStatusBarView.java58 import com.android.systemui.statusbar.policy.UserSwitcherController;
82 private UserSwitcherController mUserSwitcherController;
319 mUserSwitcherController = Dependency.get(UserSwitcherController.class); in onAttachedToWindow()
DStatusBar.java240 import com.android.systemui.statusbar.policy.UserSwitcherController;
574 protected UserSwitcherController mUserSwitcherController;
634 mUserSwitcherController = Dependency.get(UserSwitcherController.class); in start()
1124 Dependency.get(UserSwitcherController.class).onDensityOrFontScaleChanged(); in onDensityOrFontScaleChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DUserUtil.java20 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 { class
111 public UserSwitcherController(Context context, KeyguardMonitor keyguardMonitor, in UserSwitcherController() method in UserSwitcherController
593 final UserSwitcherController mController;
596 protected BaseUserAdapter(UserSwitcherController controller) { in BaseUserAdapter()
785 v.createAndSetAdapter(UserSwitcherController.this);
820 mHandler.post(UserSwitcherController.this::notifyAdapters);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSFragmentTest.java38 import com.android.systemui.statusbar.policy.UserSwitcherController;
78 mDependency.injectMockDependency(UserSwitcherController.class); in addLeakCheckDependencies()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DCarStatusBar.java47 import com.android.systemui.statusbar.policy.UserSwitcherController;
464 UserSwitcherController userSwitcherController = in createUserSwitcher()
465 Dependency.get(UserSwitcherController.class); in createUserSwitcher()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java94 import com.android.systemui.statusbar.policy.UserSwitcherController;
203 mProviders.put(UserSwitcherController.class, () -> in start()
204 new UserSwitcherController(mContext, getDependency(KeyguardMonitor.class), in start()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java106 import com.android.systemui.statusbar.policy.UserSwitcherController;
697 mStatusBar.mUserSwitcherController = mock(UserSwitcherController.class); in testShowKeyguardImplementation_setsState()