Searched refs:ContactPreference (Results 1 – 5 of 5) sorted by relevance
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
D | EmergencyContactsPreference.java | 52 ContactPreference.RemoveContactPreferenceListener { 66 private final ContactPreference.ContactFactory mContactFactory; 86 this(context, attrs, DEFAULT_CONTACT_VALIDATOR, ContactPreference.DEFAULT_CONTACT_FACTORY); in EmergencyContactsPreference() 92 @NonNull ContactPreference.ContactFactory contactFactory) { in EmergencyContactsPreference() 124 public void onRemoveContactPreference(ContactPreference contactPreference) { in onRemoveContactPreference() 182 ContactPreference contactPreference = null; in setEmergencyContacts() 188 contactPreference = (ContactPreference) getPreference(i); in setEmergencyContacts() 192 new ContactPreference(getContext(), phoneUri, mContactFactory); in setEmergencyContacts() 224 protected void onBindContactView(final ContactPreference contactPreference) { in onBindContactView()
|
D | ContactPreference.java | 57 public class ContactPreference extends Preference { class 80 void onRemoveContactPreference(ContactPreference preference); in onRemoveContactPreference() 97 public ContactPreference(Context context, AttributeSet attributes) { in ContactPreference() method in ContactPreference 106 public ContactPreference(Context context, @NonNull Uri phoneUri) { in ContactPreference() method in ContactPreference 111 ContactPreference(Context context, @NonNull Uri phoneUri, in ContactPreference() method in ContactPreference 180 .onRemoveContactPreference(ContactPreference.this); in setRemoveContactPreferenceListener()
|
D | ViewEmergencyContactsPreference.java | 47 protected void onBindContactView(final ContactPreference contactPreference) { in onBindContactView()
|
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/preferences/ |
D | EmergencyContactsPreferenceTest.java | 58 @Mock private ContactPreference.ContactFactory mContactFactory; 106 ContactPreference contactPreference = (ContactPreference) mPreference.getPreference(0); in testAddAndRemoveEmergencyContact() 112 mPreference.onRemoveContactPreference((ContactPreference) mPreference.getPreference(0)); in testAddAndRemoveEmergencyContact() 162 ContactPreference contactPreference = (ContactPreference) mPreference.getPreference(0); in testReloadFromPreference()
|
D | ContactPreferenceTest.java | 46 @Mock private ContactPreference.ContactFactory mContactFactory; 48 private ContactPreference mPreference; 65 mPreference = new ContactPreference(activity, mPhoneUri, mContactFactory); in setUp()
|