Home
last modified time | relevance | path

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

/packages/apps/Contacts/tests/src/com/android/contacts/editor/
DEditorUiUtilsTest.java83 final String label = EditorUiUtils.getAccountHeaderLabelForMyProfile(getContext(), in testGetProfileAccountInfo_NonLocalAccount()
97 final String label = EditorUiUtils.getAccountHeaderLabelForMyProfile(getContext(), in testGetProfileAccountInfo_DeviceLocalAccount()
109 final String label = EditorUiUtils.getAccountTypeHeaderLabel(getContext(), account); in testGetAccountInfo_AccountType_NonGoogle()
120 final String label = EditorUiUtils.getAccountTypeHeaderLabel(getContext(), account); in testGetAccountInfo_AccountType_Google()
133 final String label = EditorUiUtils.getAccountTypeHeaderLabel(getContext(), account); in testGetAccountInfo_AccountType_DeviceAccount()
142 assertNull(EditorUiUtils.getRingtoneStringFromUri(null, currentVersion)); in testGetRingtongStrFromUri_lessThanOrEqualsToM()
143 assertNull(EditorUiUtils.getRingtoneStringFromUri(Settings.System.DEFAULT_RINGTONE_URI, in testGetRingtongStrFromUri_lessThanOrEqualsToM()
145 assertEquals(RINGTONE, EditorUiUtils.getRingtoneStringFromUri(Uri.parse(RINGTONE), in testGetRingtongStrFromUri_lessThanOrEqualsToM()
151 assertEquals("", EditorUiUtils.getRingtoneStringFromUri(null, currentVersion)); in testGetRingtongStrFromUri_nOrGreater()
152 assertNull(EditorUiUtils.getRingtoneStringFromUri(Settings.System.DEFAULT_RINGTONE_URI, in testGetRingtongStrFromUri_nOrGreater()
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DPhotoEditorView.java126 final Long photoFileId = EditorUiUtils.getPhotoFileId(valuesDelta); in setPhoto()
136 final Bitmap bitmap = EditorUiUtils.getPhotoBitmap(valuesDelta); in setPhoto()
188 EditorUiUtils.setDefaultPhoto(mPhotoImageView, getResources(), materialPalette); in setDefaultPhoto()
DKindSectionView.java289 mIcon.setImageDrawable(EditorUiUtils.getMimeTypeDrawable(getContext(), in setState()
413 EditorUiUtils.getLayoutResourceId(dataKind.mimeType), mEditors, false); in addNonNameEditorView()
DRawContactEditorView.java340 final byte[] bytes = EditorUiUtils.getCompressedThumbnailBitmapBytes( in updatePhoto()
778 ? EditorUiUtils.getAccountHeaderLabelForMyProfile(getContext(), account) in setAccountInfo()
801 EditorUiUtils.getAccountInfoContentDescription(secondaryText, primaryText)); in setAccountHeader()
DAccountHeaderPresenter.java161 EditorUiUtils.getAccountInfoContentDescription(accountLabel, in addAccountHeader()
DPickRawContactDialogFragment.java120 accountDisplayLabel = EditorUiUtils.getAccountHeaderLabelForMyProfile(mContext, in getView()
DEditorUiUtils.java68 public class EditorUiUtils { class
/packages/apps/Contacts/
Dproguard.flags31 -keep class com.android.contacts.editor.EditorUiUtils { *; }
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java120 import com.android.contacts.editor.EditorUiUtils;
793 mCustomRingtone = EditorUiUtils.getRingtoneStringFromUri(pickedUri, CURRENT_API_VERSION); in onRingtonePicked()
2542 final Uri ringtoneUri = EditorUiUtils.getRingtoneUriFromString(mCustomRingtone, in doPickRingtone()