Home
last modified time | relevance | path

Searched refs:mMultiUserSwitch (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarView.java81 private MultiUserSwitch mMultiUserSwitch; field in KeyguardStatusBarView
112 mMultiUserSwitch = findViewById(R.id.multi_user_switch); in onFinishInflate()
135 lp = (MarginLayoutParams) mMultiUserSwitch.getLayoutParams(); in onConfigurationChanged()
140 mMultiUserSwitch.setLayoutParams(lp); in onConfigurationChanged()
180 if (mMultiUserSwitch.getParent() != mStatusIconArea && !mKeyguardUserSwitcherShowing) { in updateVisibilities()
181 if (mMultiUserSwitch.getParent() != null) { in updateVisibilities()
182 getOverlay().remove(mMultiUserSwitch); in updateVisibilities()
184 mStatusIconArea.addView(mMultiUserSwitch, 0); in updateVisibilities()
185 … } else if (mMultiUserSwitch.getParent() == mStatusIconArea && mKeyguardUserSwitcherShowing) { in updateVisibilities()
186 mStatusIconArea.removeView(mMultiUserSwitch); in updateVisibilities()
[all …]
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/qs/car/
DCarQSFooter.java49 private MultiUserSwitch mMultiUserSwitch; field in CarQSFooter
61 mMultiUserSwitch = findViewById(R.id.multi_user_switch); in onFinishInflate()
62 mMultiUserAvatar = mMultiUserSwitch.findViewById(R.id.multi_user_avatar); in onFinishInflate()
67 mMultiUserSwitch.setOnClickListener(v -> { in onFinishInflate()
103 mMultiUserSwitch.setQsPanel(panel); in setQSPanel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFooterImpl.java89 protected MultiUserSwitch mMultiUserSwitch; field in QSFooterImpl
145 mMultiUserSwitch = findViewById(R.id.multi_user_switch); in onFinishInflate()
146 mMultiUserAvatar = mMultiUserSwitch.findViewById(R.id.multi_user_avatar); in onFinishInflate()
312 mMultiUserSwitch.setClickable(mMultiUserSwitch.getVisibility() == View.VISIBLE); in updateClickabilities()
322 mMultiUserSwitch.setVisibility(showUserSwitcher() ? View.VISIBLE : View.INVISIBLE); in updateVisibilities()
328 return mExpanded && mMultiUserSwitch.isMultiUserEnabled(); in showUserSwitcher()
343 mMultiUserSwitch.setQsPanel(qsPanel); in setQSPanel()