Home
last modified time | relevance | path

Searched refs:UriUtils (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Dialer/src/com/android/dialer/calllog/
DContactInfoHelper.java39 import com.android.contacts.common.util.UriUtils;
204 info.photoUri = UriUtils.parseUriOrNull(phoneLookupCursor.getString(PhoneQuery.PHOTO_URI)); in createPhoneLookupContactInfo()
325 if (!UriUtils.areEqual(updatedInfo.lookupUri, callLogInfo.lookupUri)) { in updateCallLogContactInfo()
326 values.put(Calls.CACHED_LOOKUP_URI, UriUtils.uriToString(updatedInfo.lookupUri)); in updateCallLogContactInfo()
348 UriUtils.nullForNonContactsUri(updatedInfo.photoUri); in updateCallLogContactInfo()
350 !UriUtils.areEqual(updatedPhotoUriContactsOnly, callLogInfo.photoUri)) { in updateCallLogContactInfo()
352 UriUtils.uriToString(updatedPhotoUriContactsOnly)); in updateCallLogContactInfo()
365 values.put(Calls.CACHED_LOOKUP_URI, UriUtils.uriToString(updatedInfo.lookupUri)); in updateCallLogContactInfo()
370 values.put(Calls.CACHED_PHOTO_URI, UriUtils.uriToString( in updateCallLogContactInfo()
371 UriUtils.nullForNonContactsUri(updatedInfo.photoUri))); in updateCallLogContactInfo()
[all …]
DContactInfo.java23 import com.android.contacts.common.util.UriUtils;
83 if (!UriUtils.areEqual(lookupUri, other.lookupUri)) return false; in equals()
92 if (!UriUtils.areEqual(photoUri, other.photoUri)) return false; in equals()
DCallLogListItemViewHolder.java50 import com.android.contacts.common.util.UriUtils;
542 if (info != null && UriUtils.isEncodedContactUri(info.lookupUri)) { in bindActionButtons()
649 ? UriUtils.getLookupKeyFromUri(info.lookupUri) : null; in updatePhoto()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DDrawableLoader.java38 import com.android.tv.settings.util.UriUtils;
104 if (UriUtils.isAndroidResourceUri(workerOptions.getResourceUri()) in retrieveDrawable()
105 || UriUtils.isShortcutIconResourceUri(workerOptions.getResourceUri())) { in retrieveDrawable()
108 UriUtils.getIconResource(workerOptions.getResourceUri()), in retrieveDrawable()
110 } else if (UriUtils.isWebUri(workerOptions.getResourceUri())) { in retrieveDrawable()
112 } else if (UriUtils.isContentUri(workerOptions.getResourceUri())) { in retrieveDrawable()
114 } else if (UriUtils.isAccountImageUri(workerOptions.getResourceUri())) { in retrieveDrawable()
354 String accountName = UriUtils.getAccountName(options.getResourceUri()); in getAccountImage()
DBitmapWorkerTask.java39 import com.android.tv.settings.util.UriUtils;
88 if (UriUtils.isAndroidResourceUri(workerOptions.getResourceUri()) in retrieveBitmap()
89 || UriUtils.isShortcutIconResourceUri(workerOptions.getResourceUri())) { in retrieveBitmap()
92 UriUtils.getIconResource(workerOptions.getResourceUri()), in retrieveBitmap()
94 } else if (UriUtils.isWebUri(workerOptions.getResourceUri())) { in retrieveBitmap()
96 } else if (UriUtils.isContentUri(workerOptions.getResourceUri())) { in retrieveBitmap()
98 } else if (UriUtils.isAccountImageUri(workerOptions.getResourceUri())) { in retrieveBitmap()
349 String accountName = UriUtils.getAccountName(options.getResourceUri());
DBitmapWorkerOptions.java25 import com.android.tv.settings.util.UriUtils;
182 UriUtils.isAndroidResourceUri(getResourceUri()) in isFromResource()
183 || UriUtils.isShortcutIconResourceUri(getResourceUri()); in isFromResource()
DBitmapDownloader.java32 import com.android.tv.settings.util.UriUtils;
160 final boolean hasAccountImageUri = UriUtils.isAccountImageUri(options.getResourceUri()); in loadBitmapBlocking()
190 final boolean hasAccountImageUri = UriUtils.isAccountImageUri(options.getResourceUri()); in loadBitmap()
223 final boolean hasAccountImageUri = UriUtils.isAccountImageUri(options.getResourceUri()); in getBitmap()
DDrawableDownloader.java32 import com.android.tv.settings.util.UriUtils;
224 final boolean hasAccountImageUri = UriUtils.isAccountImageUri(options.getResourceUri()); in loadBitmapBlocking()
253 final boolean hasAccountImageUri = UriUtils.isAccountImageUri(options.getResourceUri()); in loadBitmap()
286 final boolean hasAccountImageUri = UriUtils.isAccountImageUri(options.getResourceUri()); in getBitmap()
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DUriUtils.java27 public class UriUtils { class
29 private UriUtils() {} in UriUtils() method in UriUtils
85 if (lookupUri != null && !UriUtils.isEncodedContactUri(lookupUri)) { in getLookupKeyFromUri()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DAccountImageChangeObserver.java117 if (imageUri != null && UriUtils.isAccountImageUri(imageUri)) { in registerChangeUriIfPresent()
118 Uri changeNotifUri = UriUtils.getAccountImageChangeNotifyUri(imageUri); in registerChangeUriIfPresent()
126 String accountName = UriUtils.getAccountName(imageUri); in registerChangeUriIfPresent()
DUriUtils.java28 public final class UriUtils { class
42 private UriUtils() {} in UriUtils() method in UriUtils
DAccountImageHelper.java121 return UriUtils.getShortcutIconResourceUri(iconResource).toString(); in getDefaultPictureUri()
/packages/apps/Dialer/src/com/android/dialer/voicemail/
DVoicemailStatusHelperImpl.java31 import com.android.contacts.common.util.UriUtils;
223 actionUri = UriUtils.parseUriOrNull(cursor.getString(VOICEMAIL_ACCESS_URI_INDEX)); in getMessageForStatusEntry()
226 actionUri = UriUtils.parseUriOrNull(cursor.getString(SETTINGS_URI_INDEX)); in getMessageForStatusEntry()
/packages/apps/Dialer/src/com/android/dialer/filterednumber/
DNumbersAdapter.java33 import com.android.contacts.common.util.UriUtils;
99 ? null : UriUtils.getLookupKeyFromUri(info.lookupUri); in loadContactPhoto()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DBaseDialogFragment.java39 import com.android.tv.settings.util.UriUtils;
122 iconUri = Uri.parse(UriUtils.getAndroidResourceUri( in performEntryTransition()
/packages/apps/ContactsCommon/src/com/android/contacts/common/dialog/
DCallSubjectDialog.java53 import com.android.contacts.common.util.UriUtils;
406 lookupKey = UriUtils.getLookupKeyFromUri(contactUri); in setPhoto()
/packages/apps/Dialer/src/com/android/dialer/
DCallDetailActivity.java50 import com.android.contacts.common.util.UriUtils;
470 ? null : UriUtils.getLookupKeyFromUri(mDetails.contactUri); in updateContactPhoto()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DContactLoader.java49 import com.android.contacts.common.util.UriUtils;
332 UriUtils.areEqual(cachedResult.getLookupUri(), mLookupUri)) { in loadInBackground()
/packages/apps/ContactsCommon/src/com/android/contacts/common/
DContactPhotoManager.java62 import com.android.contacts.common.util.UriUtils;
1685 if (!UriUtils.areEqual(mUri, that.mUri)) return false; in equals()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java149 import com.android.contacts.common.util.UriUtils;
1891 UriUtils.parseUriOrNull(contactData.getPhotoUri())); in dataItemToEntry()