Home
last modified time | relevance | path

Searched refs:EditorUiUtils (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/editor/
DEditorUiUtilsTest.java71 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/
DCompactPhotoEditorView.java129 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()
DCompactPhotoSelectionFragment.java228 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()
DKindSectionView.java150 mIcon.setImageDrawable(EditorUiUtils.getMimeTypeDrawable(getContext(), kind.mimeType)); in setState()
188 final int layoutResId = EditorUiUtils.getLayoutResourceId(mKind.mimeType); in createEditorView()
DCompactRawContactsEditorView.java478 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()
DRawContactReadOnlyEditorView.java121 ? EditorUiUtils.getLocalAccountInfo(getContext(), state.getAccountName(), type) in setState()
122 : EditorUiUtils.getAccountInfo(getContext(), state.getAccountName(), type); in setState()
DRawContactEditorView.java207 ? EditorUiUtils.getLocalAccountInfo(getContext(), state.getAccountName(), type) in setState()
208 : EditorUiUtils.getAccountInfo(getContext(), state.getAccountName(), type); in setState()
DCompactKindSectionView.java300 mIcon.setImageDrawable(EditorUiUtils.getMimeTypeDrawable(getContext(), in setState()
418 EditorUiUtils.getLayoutResourceId(dataKind.mimeType), mEditors, false); in addNonNameEditorView()
DBaseRawContactEditorView.java200 builder.append(EditorUiUtils.getAccountInfoContentDescription( in updateAccountHeaderContentDescription()
DEditorUiUtils.java69 public class EditorUiUtils { class
DContactEditorBaseFragment.java724 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/
DConfirmAddDetailActivity.java63 import com.android.contacts.editor.EditorUiUtils;
717 final int layoutResId = EditorUiUtils.getLayoutResourceId(dataKind.mimeType); in inflateEditorView()