Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java199 UserPreference mMePreference; field in UserSettings
369 mMePreference = new UserPreference(getPrefContext(), null /* attrs */, myUserId); in onCreate()
370 mMePreference.setKey(KEY_USER_ME); in onCreate()
371 mMePreference.setOnPreferenceClickListener(this); in onCreate()
509 mMePreference.setIcon(getEncircledDefaultIcon()); in loadProfile()
510 mMePreference.setTitle(mGuestUserAutoCreated in loadProfile()
513 mMePreference.setSelectable(true); in loadProfile()
515 mMePreference.setEnabled(canSwitchUserNow()); in loadProfile()
541 mMePreference.setTitle(getString(R.string.user_you, profileName)); in finishLoadProfile()
545 mMePreference.setIcon(encircleUserIcon(b)); in finishLoadProfile()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DUserSettingsTest.java126 private UserPreference mMePreference; field in UserSettingsTest
189 mFragment.mMePreference = mMePreference; in setUp()
494 assertThat(adminPref).isSameInstanceAs(mMePreference); in updateUserList_shouldAddAdminUserPreference()
548 assertThat(userPrefs.get(0)).isSameInstanceAs(mMePreference); in updateUserList_existingSecondaryUser_shouldAddOnlyCurrUser_MultiUserIsDisabled()
566 assertThat(adminPref).isSameInstanceAs(mMePreference); in updateUserList_existingSecondaryUser_shouldAddSecondaryUser_MultiUserIsEnabled()