Searched refs:mAddUser (Results 1 – 3 of 3) sorted by relevance
154 RestrictedPreference mAddUser; field in UserSettings273 mAddUser = (RestrictedPreference) findPreference(KEY_ADD_USER); in onCreate()276 mAddUser.setTitle(R.string.user_add_user_menu); in onCreate()278 mAddUser.setOnPreferenceClickListener(this); in onCreate()980 mAddUser.setVisible(true); in updateAddUser()982 mAddUser.setEnabled(moreUsers && !mAddingUser && mUserManager.canSwitchUsers()); in updateAddUser()984 mAddUser.setSummary(getString(R.string.user_add_max_count, getMaxRealUsers())); in updateAddUser()986 mAddUser.setSummary(null); in updateAddUser()988 if (mAddUser.isEnabled()) { in updateAddUser()989 mAddUser.setDisabledByAdmin( in updateAddUser()[all …]
154 RestrictedPreference mAddUser; field in UserSettings273 mAddUser = (RestrictedPreference) findPreference(KEY_ADD_USER); in onCreate()274 mAddUser.setOnPreferenceClickListener(this); in onCreate()976 mAddUser.setVisible(true); in updateAddUser()978 mAddUser.setEnabled(moreUsers && !mAddingUser && mUserManager.canSwitchUsers()); in updateAddUser()980 mAddUser.setSummary(getString(R.string.user_add_max_count, getMaxRealUsers())); in updateAddUser()982 mAddUser.setSummary(null); in updateAddUser()984 if (mAddUser.isEnabled()) { in updateAddUser()985 mAddUser.setDisabledByAdmin( in updateAddUser()989 mAddUser.setVisible(false); in updateAddUser()[all …]
168 mFragment.mAddUser = addUser; in updateUserList_cannotSwitchUser_shouldNotBeSelectableForGuest()193 mFragment.mAddUser = addUser; in updateUserList_cannotSwitchUser_shouldDisableAddUser()217 mFragment.mAddUser = addUser; in updateUserList_cannotAddUserButCanSwitchUser_shouldNotShowAddUser()299 mFragment.mAddUser = addUser; in updateUserList_canAddUserAndSwitchUser_shouldShowAddUser()322 mFragment.mAddUser = addUser; in updateUserList_addUserDisallowedByAdmin_shouldShowAddUserDisabled()