Searched refs:EditorUiUtils (Results 1 – 12 of 12) sorted by relevance
/packages/apps/Contacts/tests/src/com/android/contacts/editor/ |
D | EditorUiUtilsTest.java | 71 final Pair pair = EditorUiUtils.getLocalAccountInfo(getContext(), in testGetProfileAccountInfo_AccountName() 81 final Pair pair = EditorUiUtils.getLocalAccountInfo(getContext(), in testGetProfileAccountInfo_NoAccountName() 91 final Pair pair = EditorUiUtils.getAccountInfo(getContext(), in testGetAccountInfo_AccountName_DisplayLabel() 104 final Pair pair = EditorUiUtils.getAccountInfo(getContext(), in testGetAccountInfo_AccountName_DisplayLabel_GoogleAccountType() 116 final Pair pair = EditorUiUtils.getAccountInfo(getContext(), in testGetAccountInfo_AccountName_NoDisplayLabel() 129 final Pair pair = EditorUiUtils.getAccountInfo(getContext(), in testGetAccountInfo_NoAccountName_DisplayLabel() 139 final Pair pair = EditorUiUtils.getAccountInfo(getContext(), in testGetAccountInfo_NoAccountName_NoDisplayLabel() 152 assertNull(EditorUiUtils.getRingtoneStringFromUri(null, currentVersion)); in testGetRingtongStrFromUri_lessThanOrEqualsToM() 153 assertNull(EditorUiUtils.getRingtoneStringFromUri(Settings.System.DEFAULT_RINGTONE_URI, in testGetRingtongStrFromUri_lessThanOrEqualsToM() 155 assertEquals(RINGTONE, EditorUiUtils.getRingtoneStringFromUri(Uri.parse(RINGTONE), in testGetRingtongStrFromUri_lessThanOrEqualsToM() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | CompactPhotoEditorView.java | 129 final Long photoFileId = EditorUiUtils.getPhotoFileId(valuesDelta); in setPhoto() 139 final Bitmap bitmap = EditorUiUtils.getPhotoBitmap(valuesDelta); in setPhoto() 206 EditorUiUtils.setDefaultPhoto(mPhotoImageView, getResources(), materialPalette); in setDefaultPhoto() 213 EditorUiUtils.loadPhoto(ContactPhotoManager.getInstance(getContext()), in setFullSizedPhoto()
|
D | CompactPhotoSelectionFragment.java | 228 EditorUiUtils.loadPhoto(ContactPhotoManager.getInstance(mContext), in getView() 231 final Long photoFileId = EditorUiUtils.getPhotoFileId(photo.valuesDelta); in getView() 235 EditorUiUtils.loadPhoto(ContactPhotoManager.getInstance(mContext), in getView() 238 imageView.setImageBitmap(EditorUiUtils.getPhotoBitmap(photo.valuesDelta)); in getView()
|
D | KindSectionView.java | 150 mIcon.setImageDrawable(EditorUiUtils.getMimeTypeDrawable(getContext(), kind.mimeType)); in setState() 188 final int layoutResId = EditorUiUtils.getLayoutResourceId(mKind.mimeType); in createEditorView()
|
D | CompactRawContactsEditorView.java | 478 final byte[] bytes = EditorUiUtils.getCompressedThumbnailBitmapBytes( in updatePhoto() 538 final Bitmap bitmap = EditorUiUtils.getPhotoBitmap(valuesDelta); in getPhotos() 743 ? EditorUiUtils.getLocalAccountInfo(getContext(), in addAccountInfo() 746 : EditorUiUtils.getAccountInfo(getContext(), in addAccountInfo() 841 EditorUiUtils.getAccountInfoContentDescription(accountName, selectorTitle)); in addAccountHeader()
|
D | RawContactReadOnlyEditorView.java | 121 ? EditorUiUtils.getLocalAccountInfo(getContext(), state.getAccountName(), type) in setState() 122 : EditorUiUtils.getAccountInfo(getContext(), state.getAccountName(), type); in setState()
|
D | RawContactEditorView.java | 207 ? EditorUiUtils.getLocalAccountInfo(getContext(), state.getAccountName(), type) in setState() 208 : EditorUiUtils.getAccountInfo(getContext(), state.getAccountName(), type); in setState()
|
D | CompactKindSectionView.java | 300 mIcon.setImageDrawable(EditorUiUtils.getMimeTypeDrawable(getContext(), in setState() 418 EditorUiUtils.getLayoutResourceId(dataKind.mimeType), mEditors, false); in addNonNameEditorView()
|
D | BaseRawContactEditorView.java | 200 builder.append(EditorUiUtils.getAccountInfoContentDescription( in updateAccountHeaderContentDescription()
|
D | EditorUiUtils.java | 69 public class EditorUiUtils { class
|
D | ContactEditorBaseFragment.java | 724 mCustomRingtone = EditorUiUtils.getRingtoneStringFromUri(pickedUri, CURRENT_API_VERSION); in onRingtonePicked() 929 final Uri ringtoneUri = EditorUiUtils.getRingtoneUriFromString(mCustomRingtone, in doPickRingtone()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ConfirmAddDetailActivity.java | 63 import com.android.contacts.editor.EditorUiUtils; 717 final int layoutResId = EditorUiUtils.getLayoutResourceId(dataKind.mimeType); in inflateEditorView()
|