Searched refs:contactPreference (Results 1 – 3 of 3) sorted by relevance
123 public void onRemoveContactPreference(ContactPreference contactPreference) { in onRemoveContactPreference() argument124 Uri phoneUriToRemove = contactPreference.getPhoneUri(); in onRemoveContactPreference()181 ContactPreference contactPreference = null; in setEmergencyContacts() local187 contactPreference = (ContactPreference) getPreference(i); in setEmergencyContacts()188 contactPreference.setPhoneUri(phoneUri); in setEmergencyContacts()190 contactPreference = in setEmergencyContacts()192 onBindContactView(contactPreference); in setEmergencyContacts()193 addPreference(contactPreference); in setEmergencyContacts()223 protected void onBindContactView(final ContactPreference contactPreference) { in onBindContactView() argument224 contactPreference.setRemoveContactPreferenceListener(this); in onBindContactView()[all …]
47 protected void onBindContactView(final ContactPreference contactPreference) { in onBindContactView() argument48 contactPreference in onBindContactView()53 contactPreference.callContact(); in onBindContactView()
106 ContactPreference contactPreference = (ContactPreference) mPreference.getPreference(0); in testAddAndRemoveEmergencyContact() local108 assertThat(contactPreference.getPhoneUri()).isEqualTo(uri); in testAddAndRemoveEmergencyContact()109 assertThat(contactPreference.getTitle()).isEqualTo(name); in testAddAndRemoveEmergencyContact()110 assertThat((String) contactPreference.getSummary()).contains(phoneNumber); in testAddAndRemoveEmergencyContact()162 ContactPreference contactPreference = (ContactPreference) mPreference.getPreference(0); in testReloadFromPreference() local163 assertThat(contactPreference.getPhoneUri()).isEqualTo(contactUriJohn); in testReloadFromPreference()