/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
D | ContactPreference.java | 69 private EmergencyContactManager.Contact mContact; field in ContactPreference 124 if (mContact != null && !phoneUri.equals(mContact.getPhoneUri()) && in setPhoneUri() 128 mContact = mContactFactory.getContact(getContext(), phoneUri); in setPhoneUri() 130 setTitle(mContact.getName()); in setPhoneUri() 131 setKey(mContact.getPhoneUri().toString()); in setPhoneUri() 132 String summary = mContact.getPhoneType() == null ? in setPhoneUri() 133 mContact.getPhoneNumber() : in setPhoneUri() 136 mContact.getPhoneType(), in setPhoneUri() 137 BidiFormatter.getInstance().unicodeWrap(mContact.getPhoneNumber(), in setPhoneUri() 145 mContact.getName())); in setPhoneUri() [all …]
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/ |
D | ContactDefaultNumberActionProvider.java | 36 private Contact mContact; field in ContactDefaultNumberActionProvider 46 mContact = contact; in setContact() 60 List<PhoneNumber> contactPhoneNumbers = mContact.getNumbers(); in onPerformDefaultAction() 62 mContact.hasPrimaryPhoneNumber() ? contactPhoneNumbers.indexOf( in onPerformDefaultAction() 63 mContact.getPrimaryPhoneNumber()) : -1; in onPerformDefaultAction() 93 return mContact != null && mContact.getNumbers().size() > 1; in isVisible()
|
D | ContactDetailsFragment.java | 55 private Contact mContact; field in ContactDetailsFragment 84 mContact = getArguments().getParcelable(KEY_CONTACT_ENTITY); in onCreate() 86 if (mContact == null && savedInstanceState != null) { in onCreate() 87 mContact = savedInstanceState.getParcelable(KEY_CONTACT_ENTITY); in onCreate() 89 if (mContact != null) { in onCreate() 90 mContactLookupUri = mContact.getLookupUri(); in onCreate() 104 contactDefaultNumberActionProvider.setContact(mContact); in onCreateOptionsMenu() 117 mContact); in onViewCreated()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | ImageViewDrawableSetter.java | 45 private Contact mContact; field in ImageViewDrawableSetter 56 mContact = contactData; in setupContactPhoto() 148 if (mContact.isDisplayNameFromOrganization()) { in defaultDrawable() 152 if (TextUtils.isEmpty(mContact.getLookupKey())) { in defaultDrawable() 153 request = new DefaultImageRequest(null, mContact.getDisplayName(), contactType, in defaultDrawable() 156 request = new DefaultImageRequest(mContact.getDisplayName(), mContact.getLookupKey(), in defaultDrawable()
|
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/preferences/ |
D | ContactPreferenceTest.java | 47 @Mock private EmergencyContactManager.Contact mContact; field in ContactPreferenceTest 58 when(mContactFactory.getContact(any(), any())).thenReturn(mContact); in setUp() 59 when(mContact.getName()).thenReturn(NAME); in setUp() 60 when(mContact.getPhoneUri()).thenReturn(mPhoneUri); in setUp() 61 when(mContact.getPhoneNumber()).thenReturn(PHONE_NUMBER); in setUp() 62 when(mContact.getContactLookupUri()).thenReturn(mPhoneUri); in setUp()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | ContactLoader.java | 89 private Contact mContact; field in ContactLoader 291 mContact = null; in setNewLookup() 849 mContact = result; in deliverResult() 869 super.deliverResult(mContact); in deliverResult() 878 for (RawContact rawContact : mContact.getRawContacts()) { in postViewNotificationToSyncAdapter() 936 if (mContact != null) { in onStartLoading() 937 deliverResult(mContact); in onStartLoading() 940 if (takeContentChanged() || mContact == null) { in onStartLoading() 955 mContact = null; in onReset() 963 if (mContact == null || !mContact.isLoaded()) { in cacheResult() [all …]
|
/packages/apps/Car/Cluster/src/android/car/cluster/ |
D | PhoneFragmentViewModel.java | 116 private Contact mContact; field in PhoneFragmentViewModel.ContactInfo 121 mContact = InMemoryPhoneBook.get().lookupContactEntry(number); in ContactInfo() 133 return mContact; in getContact()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/ |
D | ContactLoader.java | 85 private Contact mContact; field in ContactLoader 687 mContact = result; in deliverResult() 710 super.deliverResult(mContact); in deliverResult() 719 for (RawContact rawContact : mContact.getRawContacts()) { in postViewNotificationToSyncAdapter() 761 if (mContact != null) { in onStartLoading() 762 deliverResult(mContact); in onStartLoading() 765 if (takeContentChanged() || mContact == null) { in onStartLoading() 780 mContact = null; in onReset()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | ContactEditorFragment.java | 349 protected Contact mContact; field in ContactEditorFragment 1102 mContact = contact; in setState() 1270 final RawContactDelta readOnly = mState.getByRawContactId(mContact.getNameRawContactId()); in copyReadOnlyName()
|