Searched refs:contactPreference (Results 1 – 3 of 3) sorted by relevance
124 public void onRemoveContactPreference(ContactPreference contactPreference) { in onRemoveContactPreference() argument125 Uri phoneUriToRemove = contactPreference.getPhoneUri(); in onRemoveContactPreference()182 ContactPreference contactPreference = null; in setEmergencyContacts() local188 contactPreference = (ContactPreference) getPreference(i); in setEmergencyContacts()189 contactPreference.setPhoneUri(phoneUri); in setEmergencyContacts()191 contactPreference = in setEmergencyContacts()193 onBindContactView(contactPreference); in setEmergencyContacts()194 addPreference(contactPreference); in setEmergencyContacts()224 protected void onBindContactView(final ContactPreference contactPreference) { in onBindContactView() argument225 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()