Searched refs:UserPreference (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserSettings.java | 206 mMePreference = new UserPreference(context, null /* attrs */, myUserId, in onCreate() 433 if (userId == UserPreference.USERID_GUEST_DEFAULTS) { in onManageUserClicked() 744 pref = new UserPreference(context, null, user.id, in updateUserList() 780 Preference pref = new UserPreference(getActivity(), null, UserPreference.USERID_UNKNOWN, in updateUserList() 802 Preference pref = new UserPreference(getActivity(), null, in updateUserList() 803 UserPreference.USERID_GUEST_DEFAULTS, in updateUserList() 891 } else if (pref instanceof UserPreference) { in onPreferenceClick() 892 int userId = ((UserPreference) pref).getUserId(); in onPreferenceClick() 893 if (userId == UserPreference.USERID_GUEST_DEFAULTS) { in onPreferenceClick() 951 if (v.getTag() instanceof UserPreference) { in onClick() [all …]
|
D | UserPreference.java | 29 public class UserPreference extends Preference { class 41 public UserPreference(Context context, AttributeSet attrs) { in UserPreference() method in UserPreference 45 UserPreference(Context context, AttributeSet attrs, int userId, in UserPreference() method in UserPreference 110 if (another instanceof UserPreference) { in compareTo() 111 return getSerialNumber() > ((UserPreference) another).getSerialNumber() ? 1 : -1; in compareTo()
|