Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarView.java82 private MultiUserSwitch mMultiUserSwitch; field in KeyguardStatusBarView
118 mMultiUserSwitch = findViewById(R.id.multi_user_switch); in onFinishInflate()
141 lp = (MarginLayoutParams) mMultiUserSwitch.getLayoutParams(); in onConfigurationChanged()
146 mMultiUserSwitch.setLayoutParams(lp); in onConfigurationChanged()
197 if (mMultiUserSwitch.getParent() != mStatusIconArea && !mKeyguardUserSwitcherShowing) { in updateVisibilities()
198 if (mMultiUserSwitch.getParent() != null) { in updateVisibilities()
199 getOverlay().remove(mMultiUserSwitch); in updateVisibilities()
201 mStatusIconArea.addView(mMultiUserSwitch, 0); in updateVisibilities()
202 … } else if (mMultiUserSwitch.getParent() == mStatusIconArea && mKeyguardUserSwitcherShowing) { in updateVisibilities()
203 mStatusIconArea.removeView(mMultiUserSwitch); in updateVisibilities()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFooterImpl.java90 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()
311 mMultiUserSwitch.setClickable(mMultiUserSwitch.getVisibility() == View.VISIBLE); in updateClickabilities()
321 mMultiUserSwitch.setVisibility(showUserSwitcher() ? View.VISIBLE : View.INVISIBLE); in updateVisibilities()
327 return mExpanded && mMultiUserSwitch.isMultiUserEnabled(); in showUserSwitcher()
342 mMultiUserSwitch.setQsPanel(qsPanel); in setQSPanel()